/* ============================================================
   Tandırcı Yaşar Usta — Ana CSS
   CSS Custom Properties ile tam tema yönetimi
   ============================================================ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Renkler */
  --c-terracotta:    #C1440E;
  --c-terracotta-dk: #9E3309;
  --c-terracotta-lt: #E85C25;
  --c-earth:         #8B4513;
  --c-clay:          #A0522D;
  --c-sand:          #D4A574;
  --c-sand-lt:       #E8C99A;
  --c-cream:         #F5F0E8;
  --c-cream-dk:      #EDE5D8;
  --c-dark:          #2C1810;
  --c-dark-md:       #4A2C1A;
  --c-white:         #FAFAF8;
  --c-text:          #3D2B1F;
  --c-text-muted:    #7A5C48;
  --c-border:        #D4C4B0;
  --c-border-lt:     #EAE0D5;
  --c-success:       #2D7D46;
  --c-error:         #C0392B;
  --c-whatsapp:      #25D366;
  --c-whatsapp-dk:   #1DA851;

  /* Tipografi */
  --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-accent:  'Playfair Display SC', 'Georgia', serif;

  /* Font boyutları — fluid */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* Boşluklar */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:   1280px;
  --container-pad:   var(--space-6);
  --section-pad-y:   var(--space-20);

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(44,24,16,0.08), 0 1px 2px rgba(44,24,16,0.04);
  --shadow-md: 0 4px 12px rgba(44,24,16,0.10), 0 2px 4px rgba(44,24,16,0.06);
  --shadow-lg: 0 10px 30px rgba(44,24,16,0.12), 0 4px 8px rgba(44,24,16,0.08);
  --shadow-xl: 0 20px 60px rgba(44,24,16,0.15);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.4s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:      var(--font-body);
  font-size:        var(--text-base);
  line-height:      1.65;
  color:            var(--c-text);
  background-color: var(--c-white);
  overflow-x:       hidden;
  -webkit-font-smoothing:  antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-terracotta); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--c-terracotta-dk); }
button { cursor: pointer; font-family: var(--font-body); }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); line-height: 1.25; color: var(--c-dark); }

/* ── Lazy load görseller ───────────────────────────────────── */
img.lazy { opacity: 1; transition: opacity var(--transition-slow); }

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ── Section ──────────────────────────────────────────────── */
.section { padding-block: var(--section-pad-y); }
.section-sm { padding-block: var(--space-12); }

.section-title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--c-dark);
  text-align: center;
  margin-bottom: var(--space-4);
}
.section-subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-sand));
}
.section-divider::after {
  background: linear-gradient(90deg, var(--c-sand), transparent);
}
.section-divider span {
  color: var(--c-terracotta);
  font-size: var(--text-xl);
}

/* ── Header / Navbar ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border-lt);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-brand-icon {
  width: 44px;
  height: 44px;
  background: var(--c-terracotta);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
}
.navbar-brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.1;
}
.navbar-brand-tagline {
  font-size: var(--text-xs);
  color: var(--c-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.navbar-nav a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--c-text);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--c-terracotta);
  background: rgba(193,68,14,0.08);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-search {
  position: relative;
}
.navbar-search input {
  width: 200px;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-8);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  background: var(--c-cream);
  transition: all var(--transition-fast);
}
.navbar-search input:focus {
  outline: none;
  border-color: var(--c-terracotta);
  background: white;
  width: 260px;
  box-shadow: 0 0 0 3px rgba(193,68,14,0.1);
}
.navbar-search-icon {
  position: absolute;
  left: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--c-text-muted);
  font-size: 14px;
}

/* ── Floating Action Buttons (Twin FAB: WhatsApp & Ara) ───── */
.fab-group {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  user-select: none;
  cursor: pointer;
}

.fab-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.fab-btn:active {
  transform: scale(0.98);
}

/* WhatsApp Butonu (Yeşil Hap) */
.fab-btn-whatsapp {
  background-color: #64bc26;
  background: linear-gradient(180deg, #6ec92d 0%, #5ba720 100%);
  color: #ffffff;
  padding: 8px 20px 8px 14px;
  gap: 10px;
}

.fab-btn-whatsapp .fab-icon-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.fab-btn-whatsapp .fab-text-wa {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.fab-btn-whatsapp .fab-title {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.fab-btn-whatsapp .fab-sub {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  opacity: 0.95;
  text-transform: uppercase;
}

/* Telefon Arama Butonu (Kırmızı Hap) */
.fab-btn-call {
  background-color: #c9141d;
  background: linear-gradient(180deg, #db1822 0%, #b81018 100%);
  color: #ffffff;
  padding: 10px 18px 10px 22px;
  gap: 12px;
}

.fab-btn-call .fab-call-title {
  font-family: var(--font-sans, system-ui, sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fab-btn-call .fab-icon-call {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  animation: fab-phone-ring 3s infinite ease-in-out;
}

@keyframes fab-phone-ring {
  0%, 80%, 100% { transform: rotate(0deg); }
  85% { transform: rotate(-15deg); }
  90% { transform: rotate(15deg); }
  95% { transform: rotate(-10deg); }
}

@media (max-width: 600px) {
  .fab-group {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }
  .fab-btn-whatsapp {
    padding: 7px 16px 7px 12px;
    gap: 8px;
  }
  .fab-btn-whatsapp .fab-title {
    font-size: 15px;
  }
  .fab-btn-whatsapp .fab-sub {
    font-size: 10px;
  }
  .fab-btn-whatsapp .fab-icon-wa svg {
    width: 22px;
    height: 22px;
  }
  .fab-btn-call {
    padding: 8px 15px 8px 18px;
    gap: 10px;
  }
  .fab-btn-call .fab-call-title {
    font-size: 13px;
  }
  .fab-btn-call .fab-icon-call svg {
    width: 19px;
    height: 19px;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: var(--space-2);
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--c-text-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.breadcrumb li + li::before { content: '/'; margin-right: var(--space-2); color: var(--c-border); }
.breadcrumb a { color: var(--c-text-muted); }
.breadcrumb a:hover { color: var(--c-terracotta); }
.breadcrumb [aria-current="page"] { color: var(--c-text); font-weight: 500; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-md) 50%, #6B3520 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  transition: opacity var(--transition-slow);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(44,24,16,0.85) 0%, rgba(44,24,16,0.4) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding-block: var(--space-20);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(193,68,14,0.2);
  border: 1px solid rgba(193,68,14,0.4);
  color: var(--c-sand-lt);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}
.hero-title {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  color: var(--c-white);
  margin-bottom: var(--space-6);
  line-height: 1.15;
  white-space: pre-line;
}
.hero-title em {
  color: var(--c-sand);
  font-style: italic;
}
.hero-subtitle {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(250,250,248,0.8);
  margin-bottom: var(--space-10);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--c-sand);
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-body);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--text-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }

.btn-primary {
  background: var(--c-terracotta);
  color: white;
  border-color: var(--c-terracotta);
}
.btn-primary:hover {
  background: var(--c-terracotta-dk);
  border-color: var(--c-terracotta-dk);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,68,14,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-earth {
  background: transparent;
  color: var(--c-terracotta);
  border-color: var(--c-terracotta);
}
.btn-outline-earth:hover {
  background: var(--c-terracotta);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(193,68,14,0.25);
}

.btn-whatsapp {
  background: var(--c-whatsapp);
  color: white;
  border-color: var(--c-whatsapp);
}
.btn-whatsapp:hover {
  background: var(--c-whatsapp-dk);
  border-color: var(--c-whatsapp-dk);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border-lt);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* Ürün kartı */
.product-card { position: relative; }
.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-cream);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-card-body { padding: var(--space-4) var(--space-5); }
.product-card-category {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--c-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}
.product-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--c-dark);
  margin-bottom: var(--space-2);
  line-height: 1.35;
}
.product-card-desc {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-footer {
  padding: var(--space-3) var(--space-5);
  border-top: 1px solid var(--c-border-lt);
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: space-between;
}
.product-card-price {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  font-style: italic;
}

/* Kategori kartı */
.category-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  text-decoration: none;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.category-card:hover img { transform: scale(1.08); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,24,16,0.85) 0%, rgba(44,24,16,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-5);
  transition: all var(--transition);
}
.category-card:hover .category-card-overlay {
  background: linear-gradient(to top, rgba(44,24,16,0.90) 0%, rgba(44,24,16,0.35) 60%, transparent 100%);
}
.category-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: white;
  margin-bottom: var(--space-1);
}
.category-card-count {
  font-size: var(--text-sm);
  color: var(--c-sand-lt);
}

/* ── Grid ──────────────────────────────────────────────────── */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-auto-sm { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Trust Section ────────────────────────────────────────── */
.trust-section { background: var(--c-cream); }
.trust-item { text-align: center; }
.trust-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-3);
  display: block;
}
.trust-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--c-dark);
}
.trust-desc { font-size: var(--text-sm); color: var(--c-text-muted); line-height: 1.6; }

/* ── Feature Strip ────────────────────────────────────────── */
.feature-strip {
  background: var(--c-dark);
  padding-block: var(--space-4);
}
.feature-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--c-sand-lt);
  font-size: var(--text-sm);
  font-weight: 500;
}
.feature-item span { font-size: 1.1em; }

/* ── Ürün Detay ───────────────────────────────────────────── */
.product-gallery { position: sticky; top: 90px; }
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--c-cream);
  margin-bottom: var(--space-3);
  cursor: zoom-in;
}
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery-thumbs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.product-gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  background: var(--c-cream);
}
.product-gallery-thumb.active { border-color: var(--c-terracotta); }
.product-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-detail-title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  color: var(--c-dark);
  margin-bottom: var(--space-4);
}
.product-detail-category {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--c-terracotta);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}
.product-detail-desc {
  font-size: var(--text-base);
  color: var(--c-text);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}
.product-detail-price {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  margin-bottom: var(--space-6);
  padding: var(--space-3) var(--space-4);
  background: var(--c-cream);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--c-terracotta);
}
.product-detail-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

/* Boyut tablosu */
.dimensions-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-6);
}
.dimensions-table th,
.dimensions-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--c-border-lt);
  font-size: var(--text-sm);
}
.dimensions-table th {
  background: var(--c-cream);
  font-weight: 600;
  color: var(--c-dark);
  width: 40%;
}
.dimensions-table td { color: var(--c-text); }

/* Kullanım bilgisi accordion */
.accordion-item { border: 1px solid var(--c-border-lt); border-radius: var(--radius-md); overflow: hidden; margin-bottom: var(--space-2); }
.accordion-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); background: var(--c-cream); cursor: pointer; font-weight: 600; font-size: var(--text-sm); color: var(--c-dark); transition: background var(--transition-fast); }
.accordion-header:hover { background: var(--c-cream-dk); }
.accordion-header .icon { transition: transform var(--transition-fast); font-size: var(--text-base); }
.accordion-header.open .icon { transform: rotate(180deg); }
.accordion-body { padding: var(--space-4) var(--space-5); font-size: var(--text-sm); color: var(--c-text); line-height: 1.7; display: none; }
.accordion-body.open { display: block; }

/* ── Galeri ──────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: zoom-in;
  background: var(--c-cream);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.gallery-item:hover img { transform: scale(1.05); }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img { max-width: 100%; max-height: 85vh; border-radius: var(--radius-md); }
.lightbox-close { position: absolute; top: -40px; right: 0; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; font-size: 1.5rem; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; transition: background var(--transition-fast); z-index: 10000; }
.lightbox-prev { left: var(--space-4); }
.lightbox-next { right: var(--space-4); }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }

/* ── Forms ──────────────────────────────────────────────── */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--c-dark); margin-bottom: var(--space-2); }
.form-label .required { color: var(--c-terracotta); }
.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-body);
  color: var(--c-text);
  background: white;
  transition: all var(--transition-fast);
}
.form-control:focus {
  outline: none;
  border-color: var(--c-terracotta);
  box-shadow: 0 0 0 3px rgba(193,68,14,0.1);
}
.form-control::placeholder { color: var(--c-text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Alert ──────────────────────────────────────────────── */
.alert { padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--c-dark); color: rgba(250,250,248,0.75); }
.footer-top { padding-block: var(--space-16); border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--space-8); }
.footer-brand-name { font-family: var(--font-heading); font-size: var(--text-xl); color: white; margin-bottom: var(--space-2); }
.footer-brand-desc { font-size: var(--text-sm); line-height: 1.7; margin-bottom: var(--space-5); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); text-decoration: none; transition: all var(--transition-fast); font-size: var(--text-base); }
.footer-social a:hover { background: var(--c-terracotta); color: white; }
.footer-heading { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-sand); margin-bottom: var(--space-5); }
.footer-links { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition-fast); }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--space-3); font-size: var(--text-sm); margin-bottom: var(--space-3); }
.footer-contact-item span:first-child { margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: white; }
.footer-bottom { padding-block: var(--space-5); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); }

/* ── Sayfalama ─────────────────────────────────────────── */
.pagination { display: flex; gap: var(--space-2); align-items: center; justify-content: center; margin-top: var(--space-12); }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--radius-md); font-size: var(--text-sm); font-weight: 500; border: 1px solid var(--c-border); text-decoration: none; transition: all var(--transition-fast); color: var(--c-text); }
.pagination a:hover { border-color: var(--c-terracotta); color: var(--c-terracotta); background: rgba(193,68,14,0.05); }
.pagination .active { background: var(--c-terracotta); color: white; border-color: var(--c-terracotta); }
.pagination .dots { border: none; width: auto; }

/* ── Page Header ─────────────────────────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-md) 100%);
  padding-block: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header-title { font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl)); color: white; position: relative; }
.page-header-subtitle { font-size: var(--text-lg); color: rgba(255,255,255,0.7); margin-top: var(--space-3); position: relative; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .navbar-search { display: none; }
}

@media (max-width: 768px) {
  :root {
    --section-pad-y: var(--space-12);
    --container-pad: var(--space-4);
  }
  .navbar-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--c-white); border-bottom: 1px solid var(--c-border-lt); padding: var(--space-4); flex-direction: column; gap: var(--space-1); box-shadow: var(--shadow-lg); }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .hero-stats { gap: var(--space-6); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .feature-strip-inner { gap: var(--space-6); }
  .product-detail-actions { flex-direction: column; }
  .lightbox-prev, .lightbox-next { display: none; }
  .whatsapp-fab { bottom: var(--space-4); right: var(--space-4); width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .grid-auto { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; }
  .btn-lg { padding: var(--space-3) var(--space-6); }
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-muted  { color: var(--c-text-muted); }
.text-terracotta { color: var(--c-terracotta); }
.font-heading { font-family: var(--font-heading); }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ── Print ───────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .whatsapp-fab, .breadcrumb { display: none; }
  a { color: inherit; }
}
