/* ========== FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

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

/* ========== DESIGN TOKENS ========== */
:root {
  --bg-primary:    #0b0703;
  --bg-card:       #171009;
  --bg-card-hover: #201608;
  --bg-muted:      #1c1309;

  --gold:          #c8a04a;
  --gold-light:    #e5c46a;
  --gold-dim:      #6b5122;
  --gold-faint:    rgba(200,160,74,0.10);

  --text-primary:  #f2e8d8;
  --text-muted:    #8a7055;

  --border-gold:   rgba(200,160,74,0.32);
  --border-dim:    rgba(200,160,74,0.10);

  --badge-special: #7a1a1a;
  --badge-popular: #174d24;
  --badge-new:     #163460;

  --radius:  14px;
  --radius-sm: 8px;
  --shadow:  0 6px 28px rgba(0,0,0,0.55);
  --t: 0.22s ease;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 100% 40% at 50% 0%, rgba(200,160,74,0.06) 0%, transparent 65%);
  -webkit-font-smoothing: antialiased;
}

/* ========== LAYOUT ========== */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 72px;
}

/* ========== HEADER ========== */
.site-header {
  text-align: center;
  padding: 52px 24px 36px;
}

.header-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 4px;
}

.header-ornament::before,
.header-ornament::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim));
}
.header-ornament::after {
  background: linear-gradient(90deg, var(--gold-dim), transparent);
}

.header-sparkle {
  color: var(--gold);
  font-size: 1.1rem;
  opacity: 0.8;
}

.restaurant-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9vw, 4rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(155deg, var(--gold-light) 0%, var(--gold) 45%, #9a7228 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.08;
  filter: drop-shadow(0 2px 16px rgba(200,160,74,0.28));
}

.restaurant-subtitle {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 3vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.header-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 320px;
}

.header-rule span {
  color: var(--gold);
  font-size: 0.75rem;
  opacity: 0.6;
  flex-shrink: 0;
}

.header-rule::before,
.header-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ========== STICKY NAV ========== */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,7,3,0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-gold);
  padding: 10px 0;
}

/* Sağ fade — scroll olduğunu hissettirmek için */
.sticky-nav::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 36px;
  background: linear-gradient(to left, rgba(11,7,3,0.96), transparent);
  pointer-events: none;
  display: none;
}

.nav-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.nav-inner::-webkit-scrollbar { display: none; }

/* Mobilde: sola yasla + scroll, fade görünür */
@media (max-width: 640px) {
  .nav-inner {
    justify-content: flex-start;
    padding: 0 16px 0 16px;
  }
  .sticky-nav::after {
    display: block;
  }
}

.nav-btn {
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--border-gold);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--t), border-color var(--t), color var(--t), box-shadow var(--t);
  white-space: nowrap;
}

.nav-btn:hover {
  color: var(--gold-light);
  border-color: rgba(200,160,74,0.5);
}

.nav-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-primary);
  font-weight: 700;
  box-shadow: 0 0 18px rgba(200,160,74,0.3);
}

/* ========== SECTION ========== */
.menu-section {
  margin-top: 44px;
  scroll-margin-top: 72px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent);
}

.section-icon { font-size: 1.2rem; line-height: 1; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}

/* ========== CATEGORY SUBTITLE ========== */
.category-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: -10px;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-left: 2px solid var(--gold-dim);
  background: rgba(200,160,74,0.04);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ========== MAIN DISH CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.menu-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.menu-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.65);
}

/* Food photo */
.card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.menu-card:hover .card-img { transform: scale(1.04); }

/* Placeholder when no image */
.card-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #150e05 0%, #1e1508 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-placeholder-icon {
  font-size: 2.8rem;
  opacity: 0.18;
  filter: grayscale(1);
}

/* Text body */
.card-body {
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  position: relative;
}

.card-body::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.card-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  flex: 1;
}

.badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

.badge-ozel    { background: var(--badge-special); color: #ffb8b8; }
.badge-popular { background: var(--badge-popular); color: #a2f0b5; }
.badge-new     { background: var(--badge-new);     color: #a5c8ff; }

.card-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.card-price::after {
  content: ' ₺';
  font-size: 0.85em;
  font-weight: 600;
  color: var(--gold-dim);
}

.card-price-tbd {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  letter-spacing: 0.03em;
}

/* ========== DRINKS ========== */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.drink-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border-dim);
}

.drink-row:last-child { border-bottom: none; }

.drink-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border-gold);
}

.drink-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.drink-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drink-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.drink-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(200,160,74,0.18);
  margin: 0 4px 3px;
  min-width: 8px;
}

.drink-price {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.drink-price::after {
  content: ' ₺';
  font-size: 0.8em;
  font-weight: 600;
  color: var(--gold-dim);
}

/* ========== DESSERT CARDS ========== */
.desserts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 16px;
}

.dessert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}

.dessert-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.65);
}

.dessert-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
}

.dessert-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.dessert-card:hover .dessert-img { transform: scale(1.06); }

/* Emoji fallback */
.dessert-emoji {
  font-size: 2.4rem;
  padding: 20px 0 8px;
  display: block;
  text-align: center;
}

/* Placeholder when no image */
.dessert-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #150e05, #1e1508);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dessert-placeholder-icon {
  font-size: 2.2rem;
  opacity: 0.18;
  filter: grayscale(1);
}

.dessert-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  gap: 6px;
  position: relative;
}

.dessert-body::before {
  content: '';
  position: absolute;
  top: 0; left: 16px; right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.dessert-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.dessert-desc {
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}

.dessert-badge-row { min-height: 22px; }

.dessert-price {
  font-family: var(--font-display);
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold);
  background: var(--gold-faint);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  margin-top: 4px;
}

.dessert-price::after {
  content: ' ₺';
  font-size: 0.82em;
  font-weight: 600;
  color: var(--gold-dim);
}

/* ========== ZOOM HINT ========== */
.card-img-wrap,
.dessert-img-wrap {
  cursor: zoom-in;
}

.lb-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 1rem;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}

.card-img-wrap:hover .lb-zoom-hint,
.dessert-img-wrap:hover .lb-zoom-hint {
  opacity: 1;
}

.drink-img.lb-trigger {
  cursor: zoom-in;
}

/* ========== LIGHTBOX ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-panel {
  position: relative;
  width: min(680px, 95vw);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.85);
  border: 1px solid var(--border-gold);
  transform: scale(0.9) translateY(12px);
  transition: transform 0.28s cubic-bezier(0.34, 1.44, 0.64, 1);
}

.lightbox.open .lightbox-panel {
  transform: scale(1) translateY(0);
}

.lightbox-img-wrap {
  background: #0b0703;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 72dvh;
}

.lightbox-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.lightbox-info {
  background: var(--bg-card);
  padding: 16px 20px 18px;
  border-top: 1px solid var(--border-gold);
  flex-shrink: 0;
}

.lightbox-info-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.lightbox-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-light);
}

.lightbox-price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.lightbox-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11,7,3,0.7);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: background var(--t), color var(--t);
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

/* ========== FOOTER ========== */
.site-footer {
  text-align: center;
  padding: 36px 20px 16px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-top: 1px solid var(--border-dim);
  margin-top: 56px;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--gold-dim);
  font-size: 0.7rem;
}

.footer-ornament::before,
.footer-ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--gold-dim);
  opacity: 0.5;
}

/* ========== LOADING ========== */
.loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border-dim);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== RESPONSIVE ========== */
@media (max-width: 620px) {
  .site-header { padding: 40px 16px 28px; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .drinks-grid {
    grid-template-columns: 1fr;
    padding: 14px 16px;
  }

  .desserts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 380px) {
  .desserts-grid { grid-template-columns: 1fr; }
}

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 3px; }
