/* ============================================================================
   tokens.css — DIARVE ATELIER tasarım token'ları
   Tek merkez: renkler, tipografi, ölçek, gölge, geçiş.
   Marka rengi değişecekse SADECE burası düzenlenir; tüm site otomatik uyar.
   NOT: Değişken adları eski şemayla uyumlu tutuldu (admin/hesap ekranları da
   bu paleti otomatik devralır).
   ========================================================================= */
:root {
  /* ---- Altın skalası (ana vurgu) ---- */
  --gold-50:  #FDF8EE;
  --gold-100: #F7EBD2;
  --gold-200: #EFDCAF;
  --gold-300: #E2C583;
  --gold-400: #D4AC55;
  --gold-500: #C9A227;           /* ANA ALTIN */
  --gold-600: #B08A1F;
  --gold-700: #8E6E19;
  --gold-800: #6B5313;

  /* ---- Nötr / krem-ivory skalası ---- */
  --ivory:    #FFFDF9;
  --cream:    #FBF6EE;
  --cream-2:  #F5EDE0;
  --sand:     #EFE5D5;

  /* ---- Metin ---- */
  --ink:      #2B211A;           /* koyu kahve — sıcak siyaha yakın */
  --ink-soft: #6E5F52;
  --ink-mute: #9C8C7C;

  /* ============ Uygulama token'ları (şablonlar bunları kullanır) ======== */
  --color-primary:    #2B211A;
  --color-secondary:  #C9A227;
  --color-accent:     #EFDCAF;
  --color-gold:       #C9A227;
  --color-gold-soft:  #E2C583;
  --color-bg:         #FFFDF9;
  --color-bg-soft:    #FBF6EE;
  --color-bg-warm:    #F5EDE0;
  --color-text:       #2B211A;
  --color-text-soft:  #6E5F52;
  --color-muted:      #9C8C7C;
  --color-border:     #E7DCC9;
  --color-border-soft:#F0E8DA;
  --color-white:      #FFFFFF;

  /* Durum renkleri (sıcak paletle uyumlu) */
  --color-success:    #2F7A4E;
  --color-success-bg: #EDF7F0;
  --color-danger:     #A63A2E;
  --color-danger-bg:  #FBEEEC;
  --color-warning:    #96701C;
  --color-warning-bg: #FCF5E4;
  --color-sale:       #A63A2E;

  /* ---- Altın degradeler (buton, çizgi, başlık vurgusu) ---- */
  --grad-gold: linear-gradient(135deg, #E7C77A 0%, #C9A227 42%, #F0DCA6 68%, #B98F33 100%);
  --grad-gold-soft: linear-gradient(135deg, #F7EBD2, #EFDCAF);
  --grad-hairline: linear-gradient(90deg, transparent, #D4AC55, transparent);
  --grad-cream: linear-gradient(180deg, #FFFDF9, #FBF6EE);

  /* ---- Tipografi ---- */
  --font-head: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ui:   var(--font-body);
  --tracking-wide: .18em;
  --tracking-xwide: .32em;

  /* ---- Ölçek & boşluk (premium markalarda boşluk = lüks) ---- */
  --space-1: 4px;  --space-2: 8px;  --space-3: 16px;
  --space-4: 24px; --space-5: 40px; --space-6: 64px; --space-7: 96px;
  --space-8: 128px;
  --section-y: clamp(56px, 7vw, 104px);

  --radius-xs: 4px;
  --radius:    8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-pill: 999px;
  --container: 1360px;
  --container-wide: 1600px;

  /* ---- Gölge: çok yumuşak, sıcak tonlu ---- */
  --shadow-xs: 0 1px 2px rgba(43,33,26,.04);
  --shadow-sm: 0 2px 6px rgba(43,33,26,.05), 0 1px 2px rgba(43,33,26,.03);
  --shadow-md: 0 8px 28px rgba(43,33,26,.07), 0 2px 8px rgba(43,33,26,.04);
  --shadow-lg: 0 22px 60px rgba(43,33,26,.10), 0 6px 18px rgba(43,33,26,.05);
  --shadow-gold: 0 6px 22px rgba(201,162,39,.20);

  /* ---- Hareket ---- */
  --transition: .3s cubic-bezier(.22,.61,.36,1);
  --transition-slow: .55s cubic-bezier(.22,.61,.36,1);
  --ease-lux: cubic-bezier(.22,.61,.36,1);

  /* Header yükseklikleri (JS ile de okunur) */
  --header-h: 104px;          /* logo satırı (menü satırı ayrıca ~48px) */
  --header-h-compact: 70px;
}

@media (max-width: 1024px) {
  /* Mobilde menü satırı hamburgere taşındığı için header tek satır */
  :root { --header-h: 68px; --header-h-compact: 58px; }
}

/* Hareket azaltma tercihi olan kullanıcılar için tüm animasyonlar kapanır */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
