/* Base Variables */
:root {
  --bg-primary: #0E0E0F;         /* Deep charcoal */
  --bg-secondary: #151517;       /* Surface */
  --text-primary: #F2F2F3;       /* High contrast */
  --text-secondary: #A1A1A6;     /* Muted */
  --accent: #C08A3E;             /* Gold */
  --accent-2: #8C5A3C;           /* Walnut */
  --price: #E0B15A;              /* Price emphasis */
  --border: rgba(255,255,255,0.08);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.35);
  --shadow-md: 0 14px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 30px 60px rgba(0,0,0,0.55);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1280px;
  --grad-accent: linear-gradient(135deg, #C08A3E 0%, #8C5A3C 100%);
}

/* CSS Reset (modern minimal) */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text-primary); background: var(--bg-primary); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
*:focus-visible { outline: 3px solid rgba(122,75,44,.35); outline-offset: 2px; border-radius: 6px; }

/* Typography */
.h1, h1 { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -0.3px; color: var(--text-primary); }
.h2, h2 { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: -0.2px; color: var(--text-primary); }
.h3, h3 { font-family: 'Playfair Display', serif; font-weight: 600; color: var(--text-primary); }
p { color: var(--text-secondary); line-height: 1.7; }
.small { font-size: 0.875rem; color: var(--text-secondary); }

/* Layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(192,138,62,0.28); }
.card { position: relative; }
.fav-btn { position:absolute; right:10px; top:10px; background: rgba(255,255,255,.85); border:1px solid var(--border); width:36px; height:36px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; box-shadow: var(--shadow-sm); transition: transform .2s ease, background .2s ease; }
.fav-btn:hover { transform: scale(1.06); background: #fff; }
.fav-btn.active { background: #fff0ec; border-color: #f3b4a7; }

/* Card media overlay */
.card-media { position: relative; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media img { transition: transform .5s ease; }
.card-media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25)); opacity: 0; transition: opacity .25s ease; }
.card:hover .card-media::after { opacity: 1; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 14px 16px 16px; }
.badge { display:inline-block; padding:6px 10px; border-radius: 999px; background: rgba(255,255,255,0.06); border:1px solid var(--border); color: var(--text-primary); font-size: 12px; font-weight: 600; }
.badge.accent { background: rgba(192,138,62,0.12); border-color: rgba(192,138,62,0.35); color: var(--accent); }

/* Utilities */
.aspect-16x10 { aspect-ratio: 16/10; }
.aspect-4x3 { aspect-ratio: 4/3; }
.glass { background: rgba(255,255,255,0.04); backdrop-filter: blur(10px); border: 1px solid var(--border); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: rgba(14,14,15,0.6); border-bottom: 1px solid transparent; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; backdrop-filter: blur(8px); }
.header.scrolled { background: rgba(21,21,23,0.8); border-bottom-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.25rem; color: var(--text-primary); }
.nav { display: flex; gap: 20px; align-items: center; }
.nav a { position: relative; padding: 6px 2px; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0; background: var(--accent); transition: width .25s ease; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* Mobile nav */
.nav-toggle { display:none; background: transparent; border: 0; width: 40px; height: 40px; border-radius: 8px; }
.nav-drawer { display:none; position: fixed; top:64px; left:0; right:0; background: rgba(250,247,242,0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); padding: 12px 20px; }
.nav-drawer a { display:block; padding: 10px 0; }

/* Hero */
.hero { position: relative; padding: 0; }
.hero--cover { position: relative; min-height: 80vh; display: grid; align-items: center; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9) contrast(1.03) brightness(0.7); }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(60% 55% at 18% 32%, rgba(14,14,15,.85), rgba(14,14,15,.6) 60%, rgba(0,0,0,0) 100%); }
.hero-content { position: relative; padding: 96px 0; }
.hero .title { font-size: 3.8rem; letter-spacing: -0.6px; margin: 0 0 12px; }
.hero .subtitle { margin: 0 0 32px; max-width: 60ch; font-size: 1.2rem; color: var(--text-secondary); }

/* Buttons */
.button-primary { background: var(--grad-accent); color: #0E0E0F; padding: 14px 24px; border-radius: 14px; border: none; font-weight: 700; transition: transform .25s ease, box-shadow .25s ease; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 12px 28px rgba(192,138,62,.25); }
.button-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(192,138,62,.35); }
.button-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); padding: 12px 20px; border-radius: 14px; font-weight: 600; transition: all .25s ease; }
.button-outline:hover { background: var(--accent); color: #0E0E0F; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--text-secondary); background: #0B0B0C; }

/* Chips */
.chip { display:inline-flex; align-items:center; gap:8px; padding:8px 12px; background: var(--bg-secondary); border:1px solid var(--border); border-radius:999px; }
.chip .dot { width:10px; height:10px; border-radius:50%; display:inline-block; }

/* Drawer (mini sepet için shell) */
.drawer { position: fixed; right: 0; top: 0; height: 100%; width: 360px; max-width: 90vw; background: #fff; box-shadow: -4px 0 24px rgba(0,0,0,.08); transform: translateX(100%); transition: transform .3s ease; z-index: 120; }
.drawer.open { transform: translateX(0); }
.drawer-header { display:flex; align-items:center; justify-content:space-between; padding:16px; border-bottom:1px solid var(--border); }
.drawer-body { padding:16px; height: calc(100% - 128px); overflow:auto; }
.drawer-footer { padding:16px; border-top:1px solid var(--border); background: var(--bg-secondary); }

/* Product card enrichments */
.card-head { position: absolute; left: 12px; top: 12px; display: flex; gap: 8px; z-index: 2; }
.color-dots { display:flex; gap:6px; margin-top:6px; }
.color-dot { width:10px; height:10px; border-radius:50%; border:1px solid rgba(255,255,255,.2); }

/* Responsive */
@media (max-width: 1024px) { .hero { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .header-inner { height: 56px; }
  .container { padding: 0 16px; }
  .section { padding: 40px 0; }
  .products-layout { grid-template-columns: 1fr !important; }
  .nav-toggle { display:block; }
  .nav { display:none; }
  .nav-drawer.open { display:block; }
}
