/* ==========================================================================
   ERDOĞAN BALIKÇILIK - QR MENÜ STİL DOSYASI
   Renk Paleti: Açık Mavi & Beyaz & Okyanus Mavisi & Sıcak Altın Vurgular
   Desenler: Balık, Çıpa, Dümen, Dalga, Deniz Kabuğu ve Zarif Halkalar
   ========================================================================== */

:root {
  /* Renk Değişkenleri */
  --bg-primary: #ffffff;
  --bg-secondary: #f4f9fd;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  
  --color-ocean-dark: #0a2540;
  --color-ocean-blue: #0077b6;
  --color-ocean-light: #e0f2fe;
  --color-ocean-cyan: #0284c7;
  --color-sky-soft: #f0f7fc;
  
  --color-gold: #c59b27;
  --color-gold-hover: #b38312;
  --color-gold-soft: rgba(197, 155, 39, 0.12);
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --border-subtle: rgba(2, 132, 199, 0.14);
  --border-focus: #0284c7;
  
  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(10, 37, 64, 0.07);
  --shadow-lg: 0 16px 36px rgba(10, 37, 64, 0.12);
  
  /* Font Aileleri */
  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Temel Reset ve Arka Plan */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: #f7fbfe;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.45) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(224, 242, 254, 0.5) 0%, transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f4f9fd 50%, #ebf5fb 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ==========================================================================
   ARKA PLAN DENİZ & BALIKÇILIK MOTİFLERİ (WATERMARK PATTERNS)
   ========================================================================== */
.nautical-decorations {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.motif {
  position: absolute;
  pointer-events: none;
  user-select: none;
  opacity: 0.10;
  transition: transform 0.6s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 119, 182, 0.05));
}

/* Konumlandırmalar - Referans görseldeki gibi zarif ve silik */
.motif-anchor-top-left {
  top: 25px;
  left: -20px;
  width: 130px;
  transform: rotate(-15deg);
  opacity: 0.12;
}

.motif-circles-top-right {
  top: -40px;
  right: -50px;
  width: 260px;
  opacity: 0.13;
}

.motif-fish-mid-left {
  top: 32%;
  left: -40px;
  width: 190px;
  transform: rotate(12deg);
  opacity: 0.11;
  animation: floatFishLeft 24s ease-in-out infinite alternate;
}

.motif-helm-mid-right {
  top: 48%;
  right: -50px;
  width: 210px;
  opacity: 0.09;
  animation: slowRotate 70s linear infinite;
}

.motif-seaweed-bottom-left {
  bottom: 40px;
  left: -20px;
  width: 150px;
  opacity: 0.12;
}

.motif-compass-bottom-right {
  bottom: 80px;
  right: -30px;
  width: 200px;
  opacity: 0.11;
}

.motif-fish-bottom {
  bottom: 25%;
  right: 15%;
  width: 150px;
  opacity: 0.08;
  transform: rotate(-8deg);
  animation: floatFishRight 22s ease-in-out infinite alternate;
}

.motif-shell-center {
  top: 68%;
  left: 5%;
  width: 110px;
  opacity: 0.09;
  transform: rotate(-10deg);
}

@keyframes slowRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatFishLeft {
  0% { transform: translateY(0px) rotate(10deg); }
  100% { transform: translateY(30px) rotate(16deg); }
}

@keyframes floatFishRight {
  0% { transform: translateY(0px) rotate(-8deg); }
  100% { transform: translateY(-25px) rotate(-4deg); }
}

/* ==========================================================================
   HEADER / ÜST BİLGİ ALANI
   ========================================================================== */
.main-wrapper {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.top-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 18px;
  box-shadow: 0 4px 20px rgba(10, 37, 64, 0.04);
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
}

.table-tag {
  background: #f0f7fc;
  color: var(--color-ocean-blue);
  border: 1px solid rgba(2, 132, 199, 0.25);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  letter-spacing: 0.5px;
}

.quick-action-btn {
  background: #ffffff;
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--color-ocean-dark);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  position: relative;
}

.quick-action-btn:hover,
.quick-action-btn:active {
  background: var(--color-ocean-light);
  color: var(--color-ocean-cyan);
  transform: translateY(-1px);
}

.quick-action-btn .badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  border-radius: 50%;
}

/* ==========================================================================
   HERO / RESTORAN BAŞLIĞI VE ÖZEL MOTİF
   ========================================================================== */
.restaurant-hero {
  padding: 24px 20px 10px;
  text-align: center;
}

.restaurant-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  letter-spacing: 3px;
  color: var(--color-ocean-dark);
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
}

.restaurant-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 1px;
}

/* Referans Fotoğraftaki Özel Çizgisel Mutfak Motifi */
.cloche-ornament {
  margin: 16px auto 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.ornament-svg {
  width: 64px;
  height: auto;
  stroke: var(--color-gold);
}

/* ==========================================================================
   ARAMA & FİLTRELEME ÇUBUĞU
   ========================================================================== */
.search-filter-section {
  padding: 8px 18px 12px;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 12px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-ocean-cyan);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 10px 38px 10px 40px;
  border-radius: 28px;
  border: 1px solid rgba(2, 132, 199, 0.2);
  background: #ffffff;
  font-size: 0.88rem;
  color: var(--text-dark);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  outline: none;
  border-color: var(--color-ocean-cyan);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  display: none;
}

.filter-tags-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-tags-scroll::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 16px;
  background: #ffffff;
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: var(--color-ocean-blue);
  color: #ffffff;
  border-color: var(--color-ocean-blue);
}

/* ==========================================================================
   ALERJEN UYARISI BİLGİLENDİRME KUTUSU (ALLERGEN NOTICE BOX)
   ========================================================================== */
.allergen-box-container {
  max-width: 680px;
  margin: 0 auto;
}

.allergen-notice-box {
  background: rgba(254, 243, 199, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 119, 6, 0.28);
  border-left: 4px solid #d97706;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.08);
}

.allergen-icon-pill {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 50%;
  background: #fef3c7;
  color: #d97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.15);
}

.allergen-text-content {
  flex: 1;
}

.allergen-badge-title {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #b45309;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.allergen-desc {
  font-size: 0.8rem;
  color: #78350f;
  line-height: 1.45;
  font-weight: 500;
}

/* ==========================================================================
   YAPIŞKAN KATEGORİ ÇUBUĞU (STICKY CATEGORY NAV)
   ========================================================================== */
.category-nav-sticky {
  position: sticky;
  top: 65px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px 10px;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.03);
}

.category-scroll-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-scroll-container::-webkit-scrollbar {
  display: none;
}

.cat-nav-btn {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 25px;
  background: #ffffff;
  color: var(--color-ocean-dark);
  border: 1px solid rgba(2, 132, 199, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.cat-nav-btn i {
  color: var(--color-ocean-cyan);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.cat-nav-btn.active,
.cat-nav-btn:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0077b6 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  transform: translateY(-1px);
}

.cat-nav-btn.active i,
.cat-nav-btn:hover i {
  color: #ffffff;
}

/* ==========================================================================
   KATEGORİ BAŞLIKLARI (TAM REFERANS FOTOĞRAF STİLİNDE)
   ========================================================================== */
.category-section {
  padding: 40px 18px 24px;
}

.category-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.category-badge-subtitle {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.category-title {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--color-ocean-dark);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.category-divider {
  width: 48px;
  height: 1px;
  background-color: rgba(148, 163, 184, 0.45);
  margin: 0 auto 10px;
}

.category-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
}

/* ==========================================================================
   YEMEK KARTLARI - REFERANS GÖRSEL STİLİ (ZARİF & MİNİMALİST LİSTE)
   ========================================================================== */
.menu-item-card {
  text-align: center;
  margin-bottom: 34px;
  padding: 16px 14px 22px;
  border-radius: 16px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 16px rgba(10, 37, 64, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  position: relative;
}

.menu-item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: #ffffff;
  border-color: rgba(2, 132, 199, 0.16);
}

/* Yemek Başlığı (Yıldızlı / Motifle) */
.item-title-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.item-star {
  color: var(--color-gold);
  font-size: 0.85rem;
  line-height: 1;
}

.item-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: var(--color-ocean-dark);
  text-transform: uppercase;
  margin: 0;
}

/* Özel Etiket (Günün Avı, Şefin Seçimi vs.) */
.item-badge-pill {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--color-gold-soft);
  color: var(--color-gold-hover);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Malzemeler & Açıklama */
.item-description {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.55;
  max-width: 490px;
  margin: 0 auto 10px;
  font-weight: 400;
}

/* Porsiyon & Alerjen Bilgisi */
.item-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.meta-chip {
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 6px;
}

.meta-chip.allergen {
  color: #d97706;
  background: #fef3c7;
}

/* Fiyat - Tam Referans Fotoğraftaki Görkemli Altın / Amber Rengi */
.item-price {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
  text-shadow: 0 1px 2px rgba(197, 155, 39, 0.15);
}

.item-currency {
  font-size: 1.25rem;
  font-weight: 600;
  margin-left: 1px;
}

/* ==========================================================================
   OFFCANVAS / MODAL STİLLERİ
   ========================================================================== */
.custom-modal-header {
  border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc;
  padding: 16px 20px;
}

.custom-modal-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-ocean-dark);
}

/* ==========================================================================
   FOOTER / ALT BİLGİ ALANI
   ========================================================================== */
.menu-footer {
  text-align: center;
  padding: 40px 20px 30px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 24px 24px 0 0;
}

.footer-logo {
  height: 48px;
  margin-bottom: 12px;
}

.footer-contact-info {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.footer-contact-info a {
  color: var(--color-ocean-cyan);
  text-decoration: none;
}

.footer-divider-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 20px auto;
  max-width: 260px;
}

.footer-divider-anchor::before,
.footer-divider-anchor::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #cbd5e1;
}

.footer-divider-anchor i {
  color: var(--color-ocean-cyan);
  font-size: 1rem;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   TOAST BİLDİRİMİ (GARSON ÇAĞRILDI / KOPYALANDI)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
}

.custom-toast {
  background: rgba(10, 37, 64, 0.95);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: toastFadeIn 0.3s ease;
}

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

/* ==========================================================================
   RESPONSIVE UYARLAMALAR (MOBİL VE TABLET)
   ========================================================================== */
@media (max-width: 576px) {
  .category-title {
    font-size: 1.75rem;
  }
  
  .item-title {
    font-size: 1.05rem;
  }
  
  .item-price {
    font-size: 1.4rem;
  }
  
  .restaurant-title {
    font-size: 1.55rem;
  }

  .motif-circles-top-right {
    width: 180px;
    right: -60px;
  }
  
  .motif-helm-mid-right {
    width: 150px;
    right: -40px;
  }
}
