/* ==========================================================================
   MECAN 1953 - LÜKS BEYAZ & ALTIN SARISI QR DİJİTAL MENÜ
   Akordiyon Kategori & Ürün Mimarisi (Tek Sayfa Akıcı Deneyim)
   ========================================================================== */

:root {
  /* Renk Paleti - Lüks Beyaz, İnci ve Altın Sarısı */
  --bg-primary: #faf8f5;
  --bg-surface: #ffffff;
  --bg-surface-soft: #fcfbf9;
  --bg-drawer: #f7f4ed;
  --bg-card: #ffffff;
  
  /* Altın Vurgu Tonları */
  --gold-primary: #c59b27;
  --gold-dark: #996515;
  --gold-deep: #78350f;
  --gold-light: #dfb743;
  --gold-pale: rgba(197, 155, 39, 0.12);
  --gold-border: rgba(197, 155, 39, 0.32);
  --gold-border-hover: rgba(197, 155, 39, 0.7);
  --gold-glow: 0 8px 30px rgba(197, 155, 39, 0.18);
  
  /* Tipografi Renkleri */
  --text-title: #1a1714;
  --text-heading: #26221d;
  --text-body: #4a453e;
  --text-muted: #78716c;
  --text-gold: #996515;
  --text-price: #b45309;
  
  /* Tipografi Aileleri */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-brand: 'Cinzel', 'Playfair Display', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Yuvarlatmalar */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;
  
  /* Gölgeler */
  --shadow-sm: 0 2px 10px rgba(180, 130, 20, 0.05);
  --shadow-md: 0 8px 25px rgba(180, 130, 20, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 16px 40px rgba(180, 130, 20, 0.14);
  
  /* Geçişler */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Sıfırlama & Temel Ayarlar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 10% 35%, rgba(197, 155, 39, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 90% 70%, rgba(212, 175, 55, 0.12) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ana Konteyner */
.app-container {
  max-width: 520px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0 16px 60px 16px;
  overflow-x: clip;
}

.main-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 768px) {
  .app-container {
    max-width: 560px;
    padding: 0 20px 80px 20px;
  }
}

/* ==========================================================================
   ÜST MARKA BÖLÜMÜ (HEADER)
   ========================================================================== */
.brand-header {
  padding: 34px 10px 20px 10px;
  text-align: center;
  position: relative;
}

.brand-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #ffffff, #fdfbf7);
  border: 1.5px solid var(--gold-primary);
  box-shadow: 0 4px 18px rgba(197, 155, 39, 0.22);
  margin-bottom: 12px;
  color: var(--gold-dark);
}

.brand-emblem svg {
  width: 28px;
  height: 28px;
}

.brand-title {
  font-family: var(--font-brand);
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: var(--text-title);
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 1px 2px rgba(180, 130, 20, 0.12);
}

.brand-year {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 5px;
  color: var(--gold-primary);
  font-family: var(--font-brand);
  font-size: 1.05rem;
  letter-spacing: 6px;
  font-weight: 600;
}

.brand-year::before,
.brand-year::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
}

.brand-desc {
  margin-top: 12px;
  font-size: 0.96rem;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.brand-tagline-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.brand-pill {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-dark);
  background: #ffffff;
  border: 1px solid var(--gold-border);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(180, 130, 20, 0.05);
}

/* Bölüm Başlıkları */
.section-header {
  text-align: center;
  margin-bottom: 22px;
  margin-top: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: 0.3px;
}

.section-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ==========================================================================
   AKORDİYON KATEGORİ LİSTESİ (TEK SAYFA MIMARISI)
   Kategoriye tıklayınca ürünler altına doğru açılır, tekrar tıklayınca kapanır
   ========================================================================== */
.categories-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.category-accordion-item {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
  position: relative;
  box-sizing: border-box;
}

/* Kategori Başlık Kartı */
.category-header-card {
  background: var(--bg-card);
  border: 1.2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  user-select: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.category-accordion-item.is-open .category-header-card {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-color: var(--gold-primary);
  border-bottom-color: rgba(197, 155, 39, 0.25);
  box-shadow: 0 4px 16px rgba(197, 155, 39, 0.12);
}

.category-header-card:hover {
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

/* Arka Plandaki Fotoğraf (Tüm kartı kaplar, belirgin ve estetik) */
.card-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52; /* Resimler belirgin ve net */
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.category-header-card:hover .card-bg-image,
.product-card:hover .card-bg-image {
  opacity: 0.68;
  transform: scale(1.05);
}

.category-accordion-item.is-open .category-header-card .card-bg-image {
  opacity: 0.54;
}

/* Açık Beyaz / Fildişi Degrade Katmanı - Resim detaylarını net gösterir */
.card-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.74) 0%, rgba(253, 251, 247, 0.58) 100%);
  pointer-events: none;
}

/* Kart İçerik Gövdesi */
.category-header-body {
  position: relative;
  z-index: 2;
  padding: 18px 16px;
  width: 100%;
  box-sizing: border-box;
}

.category-header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
}

.category-header-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-title);
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.category-badge-pill {
  background: rgba(197, 155, 39, 0.14);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.category-header-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.48;
  margin-top: 8px;
}

.category-header-divider {
  border-bottom: 1px dashed rgba(197, 155, 39, 0.3);
  margin: 14px 0 12px 0;
}

.category-header-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-dark);
  transition: var(--transition-fast);
}

.category-header-card:hover .category-header-action {
  color: var(--gold-deep);
}

.category-chevron-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-accordion-item.is-open .category-chevron-icon {
  transform: rotate(180deg);
  color: var(--gold-deep);
}

/* ==========================================================================
   AÇILIR ÇEKMECE ALANI (KUMPİRİN VE KATEGORİNİN İÇİNDE, ALTA DOĞRU UZANAN)
   "Onlar kumpirin içinde olsun, ayrım olsun yani anlaşılsın"
   ========================================================================== */
.category-collapse-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.category-accordion-item.is-open .category-collapse-wrapper {
  grid-template-rows: 1fr;
}

.category-collapse-inner {
  min-height: 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* Kategori İçi Çekmece Kutusu - Kusursuz Köşe Hizalaması & Ayrım */
.category-drawer {
  background: var(--bg-drawer);
  border-left: 1.2px solid var(--gold-primary);
  border-right: 1.2px solid var(--gold-primary);
  border-bottom: 1.2px solid var(--gold-primary);
  border-top: none;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  padding: 16px 14px 20px 14px;
  box-shadow: inset 0 3px 12px rgba(180, 130, 20, 0.04), 0 8px 24px rgba(197, 155, 39, 0.08);
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Alt Kategori Filtre Sekmeleri (Sıcak & Soğuk İçecekler gibi çoklu gruplar için) */
.drawer-subcategory-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 2px 2px 10px 2px;
  margin-bottom: 14px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.drawer-subcategory-tabs::-webkit-scrollbar {
  display: none;
}

.drawer-subcat-btn {
  background: #ffffff;
  border: 1px solid var(--gold-border);
  color: var(--text-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.drawer-subcat-btn:hover {
  background: var(--bg-surface-soft);
  color: var(--gold-deep);
  border-color: var(--gold-primary);
}

.drawer-subcat-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-primary));
  color: #ffffff;
  border-color: var(--gold-primary);
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(197, 155, 39, 0.3);
}

/* Ürün Kartları Listesi (Kategori İçinde) */
.drawer-products-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Tekil Ürün Kartı (3. Fotoğraf Tasarım Dili: Arka planı kaplayan hafif fotoğraf) */
.product-card {
  background: var(--bg-card);
  border: 1.2px solid var(--gold-border);
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card:hover {
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-md), var(--gold-glow);
  transform: translateY(-2px);
}

.product-card:hover .card-bg-image {
  opacity: 0.68;
  transform: scale(1.05);
}

.product-card-body {
  position: relative;
  z-index: 2;
  padding: 14px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.product-title {
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.28;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.9);
}

/* Belirgin Altın / Kehribar Fiyat */
.product-price {
  flex: 0 0 auto;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-price);
  white-space: nowrap;
  font-family: var(--font-sans);
  letter-spacing: -0.5px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
  margin-left: 8px;
}

.product-currency {
  font-size: 1.05rem;
  font-weight: 700;
  margin-right: 1px;
}

.product-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-top: 3px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);
}

.product-desc {
  font-size: 0.88rem;
  color: #2e2820;
  font-weight: 500;
  line-height: 1.48;
  margin-top: 5px;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}
}

.product-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-top: 8px;
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid var(--gold-border);
  color: var(--gold-deep);
}

/* Alt Kategori Grup Başlığı (Opsiyonel Liste Bölücü) */
.drawer-group-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 16px 0 8px 0;
  color: var(--gold-dark);
  font-family: var(--font-brand);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-group-divider::before,
.drawer-group-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-border), transparent);
}

/* ==========================================================================
   SAYFA ALT BÖLÜMÜ (FOOTER - BEYAZ & ALTIN SARISI)
   ========================================================================== */
.site-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Google Değerlendirme Kartı */
.google-review-card {
  background: #ffffff;
  border: 1.2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: var(--transition-normal);
}

.google-review-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.18);
  transform: translateY(-2px);
}

.google-review-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.google-icon-circle {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.google-icon-circle svg {
  width: 24px;
  height: 24px;
}

.google-review-text {
  display: flex;
  flex-direction: column;
}

.google-review-title {
  color: var(--text-title);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
}

.google-review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
  color: #d97706;
  font-size: 0.78rem;
  font-weight: 700;
}

.google-review-btn {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  transition: var(--transition-fast);
}

.google-review-card:hover .google-review-btn {
  background: #1d4ed8;
}

/* Sosyal Medya ve İletişim */
.contact-section {
  text-align: center;
}

.contact-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 14px;
}

.social-buttons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.social-button {
  background: #ffffff;
  border: 1.2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 16px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-title);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.social-button:hover {
  transform: translateY(-3px);
  border-color: var(--gold-border-hover);
  box-shadow: var(--shadow-md), var(--gold-glow);
}

.social-button-icon {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-button-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-title);
}

.icon-instagram {
  color: #e1306c;
}

.icon-whatsapp {
  color: #25d366;
}

.icon-location {
  color: #ea580c;
}

/* Alt Telif ve Yasal Bilgi */
.footer-notice {
  text-align: center;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(197, 155, 39, 0.2);
}

.footer-notice-tagline {
  font-size: 0.88rem;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 4px;
}

.footer-notice-copyright {
  font-size: 0.76rem;
  color: var(--text-muted);
}
