/* ═══════════════════════════════════════════
   The Pier of Urla — Luxury Dark Ocean & Gold Theme
   ═══════════════════════════════════════════ */

:root {
  /* Ultra-Premium Koyu Tema Paleti (Derin Ege Denizi ve Venedik Altını) */
  --bg-primary: #040911;        /* Derin gece mavisi/siyah */
  --bg-secondary: #08111e;      /* Gece denizi laciverti */
  --bg-card: rgba(12, 23, 39, 0.6); /* Yarı saydam lüks cam */
  --bg-card-hover: rgba(18, 33, 56, 0.85);
  --bg-glass: rgba(12, 23, 39, 0.45);
  --bg-glass-hover: rgba(22, 40, 68, 0.85);

  --text-primary: #f3ede2;      /* Sıcak inci beyazı */
  --text-secondary: #a4b4c5;    /* Puslu gümüş mavi */
  --text-accent: #e5b842;       /* Parlak lüks Ege altını */
  --text-gold: #d4af37;         /* Venedik altın tonu */
  --text-gold-light: #f6e6be;   /* Yumuşak krem altın */

  --accent-blue: #1e3a60;       /* Lüks koyu safir */
  --accent-blue-light: #2c568c;
  --accent-teal: #14b8a6;
  --accent-gold: #d4af37;
  --accent-coral: #e11d48;      /* Zengin mercan kırmızısı */

  --gradient-ocean: linear-gradient(135deg, #040911 0%, #0c1c30 50%, #040911 100%);
  --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f6e6be 50%, #aa7c11 100%);
  --gradient-blue: linear-gradient(135deg, #b48a32, #e5b842); /* Altın geçişli ana butonlar */
  --gradient-card: linear-gradient(145deg, rgba(16, 29, 48, 0.9), rgba(6, 12, 22, 0.7));

  --border-glass: 1px solid rgba(212, 175, 55, 0.12);
  --border-gold: 1px solid rgba(212, 175, 55, 0.3);
  --border-hover: 1px solid rgba(212, 175, 55, 0.6);

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px rgba(212, 175, 55, 0.15);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Özel Lüks Kaydırma Çubuğu */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--text-gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-accent); }

/* ══════════════════════════════════════
   HERO / GİRİŞ ALANI (Luxury Dark Hero)
   ══════════════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(4, 9, 17, 0.92) 0%, rgba(8, 22, 41, 0.85) 50%, rgba(4, 9, 17, 0.98) 100%), url('https://images.unsplash.com/photo-1519708227418-c8fd9a32b7a2?q=80&w=1920&auto=format&fit=crop') no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(8, 22, 41, 0.6) 0%, transparent 45%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

/* ── Yüzen Altın Cam Navigasyon Barı (Floating Gold Glass Navbar) ── */
#main-nav {
  position: fixed;
  top: 1.5rem;
  left: 5%;
  right: 5%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2.5rem;
  transition: var(--transition-smooth);
  background: rgba(8, 17, 30, 0.65);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 50px;
  border: var(--border-glass);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#main-nav.scrolled {
  top: 0.75rem;
  padding: 0.75rem 2.5rem;
  background: rgba(4, 9, 17, 0.9);
  border: var(--border-gold);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.6));
}

.nav-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-gold-light);
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-accent);
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Hero İçeriği ── */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.8rem;
  text-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  background: linear-gradient(135deg, #ffffff 30%, #f6e6be 70%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #040911 !important;
  background: var(--gradient-blue);
  padding: 1.1rem 3.2rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.35);
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.55);
}

/* Dalgalı Geçiş */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}

/* ══════════════════════════════════════
   MENÜ ALANI
   ══════════════════════════════════════ */

#menu {
  position: relative;
  padding: 8rem 2rem 6rem;
  max-width: 1250px;
  margin: 0 auto;
  background: var(--bg-primary);
}

.menu-header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.menu-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-gold);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: var(--border-gold);
  margin-bottom: 1.5rem;
}

.menu-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 40%, #f6e6be 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu-title::after {
  content: '⚓';
  display: block;
  font-size: 1.25rem;
  color: var(--text-gold);
  margin: 0.8rem auto 0;
  width: 120px;
  text-align: center;
  letter-spacing: 5px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 0.5rem;
}

.menu-subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ── Kategori Filtre Butonları ── */
.category-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 4.5rem;
  padding: 0.5rem;
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg-glass);
  border: var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.category-btn:hover {
  background: var(--bg-glass-hover);
  color: var(--text-accent);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.category-btn.active {
  background: var(--gradient-blue);
  color: #040911;
  border-color: transparent;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.category-btn .cat-icon {
  font-size: 1.25rem;
}

/* ── Menü Grid ── */
.menu-container {
  display: flex;
  flex-direction: column;
  gap: 5.5rem;
}

/* ── Kategori Grubu ── */
.category-section {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.category-heading .cat-emoji {
  font-size: 2.3rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.category-heading h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-gold-light);
  letter-spacing: 0.5px;
}

/* Yemek Kartları Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

/* ── Premium Yemek Kartı ── */
.menu-card {
  position: relative;
  background: var(--gradient-card);
  border: var(--border-glass);
  border-radius: var(--radius-md);
  padding: 0;
  transition: var(--transition-smooth);
  cursor: default;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.menu-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-accent), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 6;
}

.menu-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(212, 175, 55, 0.55);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), var(--shadow-glow);
}

.menu-card:hover::before {
  opacity: 1;
}

/* Fotoğraflı Kısım (Büyük Görsel) */
.card-image-wrap {
  width: 100%;
  height: 230px;
  position: relative;
  overflow: hidden;
  border-bottom: var(--border-glass);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: brightness(0.9) contrast(1.05);
}

.menu-card:hover .card-image {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.05);
}

/* Lüks Gurme Etiketleri */
.card-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.card-badge.fresh {
  background: rgba(12, 74, 110, 0.9);
  color: #bae6fd;
  border: 1px solid rgba(186, 230, 253, 0.2);
}

.card-badge.chef {
  background: rgba(120, 53, 4, 0.9);
  color: #fef3c7;
  border: 1px solid rgba(254, 243, 199, 0.2);
}

.card-badge.hot {
  background: rgba(136, 19, 55, 0.9);
  color: #ffe4e6;
  border: 1px solid rgba(255, 228, 230, 0.2);
}

.card-badge.organic {
  background: rgba(20, 83, 45, 0.9);
  color: #dcfce7;
  border: 1px solid rgba(220, 252, 231, 0.2);
}

/* Yüzen Fiyat Kapsülü */
.card-price.floating {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(4, 9, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-accent);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-weight: 700;
  font-size: 1.05rem;
  z-index: 5;
}

/* Metin Alanı */
.card-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: rgba(6, 12, 22, 0.2);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

.menu-card:hover .card-name {
  color: var(--text-accent);
}

.card-price {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-accent);
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  padding: 0.25rem 0.65rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 6px;
}

.card-desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 0.5rem;
}

.card-divider {
  width: 30px;
  height: 1.5px;
  background: var(--gradient-gold);
  margin: 0.8rem 0;
  transition: var(--transition-smooth);
}

.menu-card:hover .card-divider {
  width: 60px;
}

/* ── YÜKLEME GEÇİŞİ ANIMASYONU ── */
.loading {
  display: flex;
  justify-content: center;
  padding: 5rem;
}

.loading-dots {
  display: flex;
  gap: 10px;
}

.loading-dots span {
  width: 12px;
  height: 12px;
  background: var(--text-gold);
  border-radius: 50%;
  animation: loadPulse 1.4s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes loadPulse {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.3; }
  40% { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════════════════
   ALT ALAN (FOOTER)
   ══════════════════════════════════════ */

#footer {
  position: relative;
  background: var(--bg-secondary);
  margin-top: 5rem;
  border-top: var(--border-glass);
}

.footer-wave {
  position: relative;
  top: -1px;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.footer-content {
  padding: 3rem 2rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  text-align: center;
  margin-bottom: 3.5rem;
}

.footer-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
}

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-gold-light);
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}

.footer-info {
  display: flex;
  justify-content: center;
  gap: 8rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-accent);
  margin-bottom: 1rem;
}

.footer-col p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.footer-bottom p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ══════════════════════════════════════
   DUYARLI TASARIM (RESPONSIVE)
   ══════════════════════════════════════ */

@media (max-width: 992px) {
  #main-nav {
    top: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
  }

  #main-nav.scrolled {
    top: 0.5rem;
    padding: 0.65rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 9, 17, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.25rem;
    padding: 0.8rem 2.2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-desc {
    font-size: 1.1rem;
  }

  #menu {
    padding: 5rem 1.5rem 4rem;
  }

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

  .category-nav {
    gap: 0.6rem;
  }

  .category-btn {
    font-size: 0.9rem;
    padding: 0.75rem 1.4rem;
  }

  .footer-info {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .menu-title {
    font-size: 1.9rem;
  }

  .menu-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0;
  }

  .card-image-wrap {
    width: 100% !important;
    height: 180px !important;
  }

  .card-name {
    font-size: 1.15rem;
  }
}
