/* =========================================================
   base.css — Tasarım tokenleri, reset, tipografi temeli
   ========================================================= */

/* --- Tasarım tokenleri --- */
:root {
  /* Tek Tip Tipografi Sistemi */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --bg: #f4efe8;
  --bg-soft: #faf7f2;
  --paper: #fffdf9;
  --ink: #2c2420;
  --ink-soft: #6b5e55;
  --line: #e4d9cc;
  --accent: #6b5344;
  --sage: #5c6b5a;
  --gold: #c4a574;
  --shadow: 0 18px 40px rgba(44, 36, 32, 0.08);
  --radius: 14px;
  --max: 1360px;
  --header: 72px;

  /* Bootstrap 5 değişken override'ları */
  --bs-link-color: var(--accent);
  --bs-link-hover-color: var(--ink);
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius);
}

/* --- Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* --- Temel Gövde & Ufak Metinler (Tek Tip Body Fontu: Outfit) --- */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
}

/* --- Büyük Ana Başlıklar (Yalnızca Büyük & Editoryal Başlıklar: Cormorant Garamond) --- */
h1,
h2,
.h1,
.h2,
.serif,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.hero-title,
.section-title,
.editorial-title,
.story-heading {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* --- Küçük Başlıklar, Kartlar, Formlar ve Arayüz Başlıkları (Modern & Okunaklı: Outfit) --- */
h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6,
.modal-title,
.offcanvas-title,
.custom-modal-title,
.cart-success-title,
.summary-heading,
.product-title,
.showcase-card h1,
.showcase-card h2,
.showcase-card h3,
.showcase-card h4,
.showcase-card h5,
.showcase-card h6,
.showcase-card-title,
.look-card-title,
.card-body h1,
.card-body h2,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6,
.card-title,
.cart-item-title,
.product-rating-score,
.rating-score,
.stat-number,
.reviews-rating-val,
.font-body {
  font-family: var(--font-body) !important;
}

/* --- Eleman sıfırlamaları --- */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

/* --- Yardımcı ve Marka Sınıfları --- */
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

@media (max-width: 576px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }
}

.serif {
  font-family: var(--font-heading) !important;
}

.muted {
  color: var(--ink-soft) !important;
}

.price {
  color: var(--accent);
  font-weight: 600;
}

.text-gold {
  color: var(--gold) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-ink {
  color: var(--ink) !important;
}

.text-ink-soft {
  color: var(--ink-soft) !important;
}

.bg-paper {
  background-color: var(--paper) !important;
}

.bg-soft {
  background-color: var(--bg-soft) !important;
}

.bg-olive {
  background-color: #3c4231 !important;
}

.border-line {
  border-color: var(--line) !important;
}

.letter-spacing-1 {
  letter-spacing: 0.1em !important;
}

.letter-spacing-2 {
  letter-spacing: 0.22em !important;
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* Hover Animasyonları */
.hover-lift {
  border-radius: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(44, 36, 32, 0.08);
}

/* Butonlar */
.btn-dark-custom {
  background: #1e1915;
  color: #fff !important;
  border: 1px solid #1e1915;
  padding: 10px 22px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-dark-custom:hover {
  background: #3d312a;
  border-color: #3d312a;
  color: #fff !important;
}

.btn-outline-custom {
  background: rgba(255, 253, 249, 0.85);
  color: var(--ink) !important;
  border: 1px solid rgba(44, 36, 32, 0.35);
  padding: 10px 22px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.btn-outline-custom:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink) !important;
}