/* ==========================================================================
   PAN-GO & SOSİS-GO BRAND & MENU PAGES STYLES
   Real Shopfront Corporate Identity:
   - Sosis-Go: Beyaz Tabela & Canlı Kırmızı Logo
   - Pan-Go: Siyah Tabela & Canlı Sarı Logo
   ========================================================================== */

:root {
  /* Sosis-Go: White & Vibrant Red Brand Tones */
  --sosis-red-primary: #dc2626;
  --sosis-soft-tag: #fee2e2;
  --sosis-soft-text: #991b1b;
  --sosis-bg: #faf7f2;
  --sosis-text: #0f172a;
  --sosis-desc: #475569;

  /* Pan-Go: Black & Vibrant Yellow Brand Tones */
  --pango-yellow-primary: #facc15;
  --pango-soft-tag: rgba(250, 204, 21, 0.15);
  --pango-soft-text: #fef08a;
  --pango-bg: #121013;
  --pango-text: #ffffff;
  --pango-desc: #cbd5e1;

  /* Global Fonts & Transitions */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   PAGE-SPECIFIC BACKGROUND THEMES
   ========================================================================== */

/* SOSİS-GO PAGE: BEYAZ TABELA & KIRMIZI */
body.theme-sosisgo {
  background-color: var(--sosis-bg);
  color: var(--sosis-text);
  background-image: 
    radial-gradient(circle at 18% 10%, rgba(220, 38, 38, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
}

/* PAN-GO PAGE: SİYAH TABELA & SARI */
body.theme-pango {
  background-color: var(--pango-bg);
  color: var(--pango-text);
  background-image: 
    radial-gradient(circle at 82% 10%, rgba(250, 204, 21, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 15% 65%, rgba(234, 179, 8, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 90%, rgba(202, 138, 4, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* MENÜ PAGE: DUAL HARMONY */
body:not(.theme-sosisgo):not(.theme-pango) {
  background-color: #f7f5f0;
  color: #0f172a;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(220, 38, 38, 0.07) 0%, transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(234, 179, 8, 0.09) 0%, transparent 45%);
  background-attachment: fixed;
}

/* ==========================================================================
   FLOATING NAVIGATION BAR
   ========================================================================== */

.page-nav {
  position: sticky;
  top: 18px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 18px auto 28px;
  padding: 10px 24px;
  border-radius: 999px;
  transition: var(--transition-fast);
}

/* Sosis-Go Nav (White & Clean) */
.theme-sosisgo .page-nav,
body:not(.theme-sosisgo):not(.theme-pango) .page-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 2px 6px rgba(15, 23, 42, 0.03);
}

/* Pan-Go Nav (Sleek Matte Black) */
.theme-pango .page-nav {
  background: rgba(24, 21, 25, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(250, 204, 21, 0.2);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(250, 204, 21, 0.05);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.nav-brand:hover {
  transform: scale(1.03);
}

.nav-brand img {
  height: 34px;
  object-fit: contain;
  display: block;
  background: transparent;
}

.nav-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logos a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-logos img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-logo-pango {
  background: #181519;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.nav-logo-pango img {
  height: 24px;
}

.nav-logo-sep {
  color: rgba(0, 0, 0, 0.35);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.nav-links a,
.nav-links button {
  min-height: 44px;
}

/* Hub Return Button */
.hub-return-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  cursor: pointer;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition-fast);
}

.theme-sosisgo .hub-return-btn,
body:not(.theme-sosisgo):not(.theme-pango) .hub-return-btn {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--sosis-text);
}

.theme-sosisgo .hub-return-btn:hover,
body:not(.theme-sosisgo):not(.theme-pango) .hub-return-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.theme-pango .hub-return-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.theme-pango .hub-return-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(250, 204, 21, 0.4);
  transform: translateY(-1px);
}

/* Menu Nav Link */
.menu-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.theme-sosisgo .menu-nav-link {
  background: var(--sosis-soft-tag);
  color: var(--sosis-soft-text);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.theme-pango .menu-nav-link {
  background: var(--pango-soft-tag);
  color: var(--pango-soft-text);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

.menu-nav-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* Switch Brand Pill Button */
.switch-brand-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}

.switch-brand-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.switch-to-sosis {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #ffffff;
  border: 1px solid #b91c1c;
}

.switch-to-pango {
  background: #181519;
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.45);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */

.hero-section {
  position: relative;
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 56px 48px;
  border-radius: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  overflow: hidden;
}

/* Sosis-Go Hero: Crisp White/Red Gourmet Banner */
.theme-sosisgo .hero-section {
  background: 
    radial-gradient(circle at 30% 40%, rgba(239, 68, 68, 0.96) 0%, rgba(220, 38, 38, 0.98) 50%, rgba(185, 28, 28, 1) 100%),
    linear-gradient(135deg, #ef4444 0%, #dc2626 50%, #991b1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 
    0 24px 60px rgba(220, 38, 38, 0.18),
    0 6px 18px rgba(15, 23, 42, 0.08);
}

/* Pan-Go Hero: Deep Matte Black with Radiant Golden Yellow Banner */
.theme-pango .hero-section {
  background: 
    radial-gradient(circle at 70% 35%, rgba(42, 34, 44, 0.98) 0%, rgba(24, 20, 25, 0.98) 60%, rgba(14, 12, 15, 1) 100%),
    linear-gradient(145deg, #2b222c 0%, #171418 100%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  box-shadow: 
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(250, 204, 21, 0.1);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
}

.theme-sosisgo .hero-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.theme-pango .hero-pattern {
  background-image: radial-gradient(rgba(250, 204, 21, 0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.hero-content {
  position: relative;
  z-index: 10;
  flex: 1 1 55%;
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.theme-sosisgo .hero-badge {
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
}

.hero-status.hero-status-center { justify-content: center; }

.theme-sosisgo .hero-status .hours-line { color: #ffffff; }
.theme-pango .hero-status .hours-line { color: #e2e8f0; }

.theme-pango .hero-badge {
  background: rgba(250, 204, 21, 0.15);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: #fde047;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.theme-sosisgo .hero-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.theme-pango .hero-title {
  color: #facc15;
  text-shadow: 0 2px 14px rgba(250, 204, 21, 0.25);
}

.hero-desc {
  font-size: 16px;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 500px;
}

.theme-sosisgo .hero-desc {
  color: rgba(255, 255, 255, 0.95);
}

.theme-pango .hero-desc {
  color: #cbd5e1;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline {
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.25s ease;
}

.theme-sosisgo .btn-outline {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.theme-sosisgo .btn-outline:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.theme-pango .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #ffffff;
}

.theme-pango .btn-outline:hover {
  background: rgba(250, 204, 21, 0.15);
  border-color: #facc15;
  color: #facc15;
  transform: translateY(-2px);
}

/* Hero Media Frame */
.hero-media-slot {
  position: relative;
  z-index: 10;
  flex: 1 1 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-figure {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-figure figcaption {
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
}

.theme-sosisgo .hero-figure figcaption { color: #ffffff; }
.theme-pango .hero-figure figcaption { color: #cbd5e1; }

.store-photo-frame {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.theme-sosisgo .store-photo-frame {
  border: 3px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  background: #ffffff;
}

.theme-pango .store-photo-frame {
  border: 2px solid rgba(250, 204, 21, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  background: #181519;
}

.store-photo-frame:hover {
  transform: scale(1.02);
}

.store-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   MENU PRODUCTS SECTION & CARDS
   ========================================================================== */

.menu-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}

.section-head {
  text-align: center;
  margin-bottom: 44px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.theme-sosisgo .section-title {
  color: var(--sosis-text);
}

.theme-pango .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 15px;
}

.theme-sosisgo .section-subtitle {
  color: var(--sosis-desc);
}

.theme-pango .section-subtitle {
  color: #94a3b8;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

/* Product Card */
.product-card {
  border-radius: 22px;
  padding: 28px 24px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sosis-Go Product Card (Pure White) */
.theme-sosisgo .product-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.06),
    0 2px 8px rgba(15, 23, 42, 0.03);
}

.theme-sosisgo .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(220, 38, 38, 0.3);
  box-shadow: 
    0 20px 45px rgba(220, 38, 38, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.05);
}

/* Pan-Go Product Card (Matte Black with Yellow Accents) */
.theme-pango .product-card {
  background: #181519;
  border: 1px solid rgba(250, 204, 21, 0.2);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.4),
    0 0 16px rgba(250, 204, 21, 0.04);
}

.theme-pango .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 
    0 20px 45px rgba(0, 0, 0, 0.6),
    0 0 25px rgba(250, 204, 21, 0.12);
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.theme-sosisgo .product-name {
  color: var(--sosis-text);
}

.theme-pango .product-name {
  color: #ffffff;
}

.product-price {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.theme-sosisgo .product-price {
  color: var(--sosis-red-primary);
}

.theme-pango .product-price {
  color: var(--pango-yellow-primary);
}

.product-desc {
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 18px;
}

.theme-sosisgo .product-desc {
  color: var(--sosis-desc);
}

.theme-pango .product-desc {
  color: var(--pango-desc);
}

.product-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.product-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.2px;
}

.theme-sosisgo .product-tag {
  background: var(--sosis-soft-tag);
  color: var(--sosis-soft-text);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

.theme-pango .product-tag {
  background: var(--pango-soft-tag);
  color: var(--pango-soft-text);
  border: 1px solid rgba(250, 204, 21, 0.25);
}

/* ==========================================================================
   DEDICATED MENU PAGE (MENÜ.HTML) STYLES
   ========================================================================== */

.menu-page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 20px;
  text-align: center;
}

.menu-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.menu-page-desc {
  color: #475569;
  font-size: 15px;
  max-width: 580px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Tab Switcher */
.menu-tabs-wrapper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.03);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.menu-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  transition: var(--transition-fast);
}

.menu-tab-btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.04);
}

/* Menu Viewer Section */
.menu-viewer-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.menu-card-block {
  width: 100%;
  max-width: 1100px;
  border-radius: 28px;
  padding: 26px;
  transition: all 0.3s ease;
}

/* Sosis-Go Menu Block: White Card */
#sosisMenuBlock {
  background: #ffffff;
  border: 1px solid rgba(220, 38, 38, 0.15);
  box-shadow: 
    0 16px 45px rgba(220, 38, 38, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

/* Pan-Go Menu Block: Sleek Black Card */
#pangoMenuBlock {
  background: #181519;
  border: 1px solid rgba(250, 204, 21, 0.28);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.55),
    0 0 20px rgba(250, 204, 21, 0.06);
}

.menu-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

#sosisMenuBlock .menu-block-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

#pangoMenuBlock .menu-block-header {
  border-bottom: 1px solid rgba(250, 204, 21, 0.15);
}

.menu-block-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

#sosisMenuBlock .menu-block-title {
  color: #0f172a;
}

#pangoMenuBlock .menu-block-title {
  color: #facc15;
}

.menu-block-badge {
  font-size: 11.5px;
  padding: 4px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.badge-sosis {
  background: var(--sosis-soft-tag);
  color: var(--sosis-soft-text);
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.badge-pango {
  background: var(--pango-soft-tag);
  color: var(--pango-soft-text);
  border: 1px solid rgba(250, 204, 21, 0.3);
}

/* Bottom Fast Delivery Banner */
.menu-order-bar {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  padding: 24px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  border-radius: 24px;
  max-width: 1100px;
  width: 100%;
  box-shadow: 
    0 16px 40px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.03);
}

.menu-order-bar.gallery-order-bar { margin: 50px auto 0; }

.order-info-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-info-group strong {
  font-family: var(--font-heading);
  font-size: 17px;
  letter-spacing: 0.3px;
  color: #0f172a;
}

.order-info-group span {
  font-size: 13.5px;
  color: #475569;
}

.order-actions {
  flex-wrap: wrap;
}

/* ==========================================================================
   PAGE FOOTER
   ========================================================================== */

.menu-block-title img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-brand img {
  width: auto;
}

.nav-brand {
  min-height: 44px;
}

.product-card .product-desc:last-child {
  margin-bottom: 0;
}

/* Menu page: rendered text menu inside the brand blocks */
.menu-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  padding-top: 20px;
}

#sosisMenuBlock .menu-block-actions { border-top: 1px solid rgba(0, 0, 0, 0.07); }
#pangoMenuBlock .menu-block-actions { border-top: 1px solid rgba(250, 204, 21, 0.15); }

.menu-card-block[hidden] {
  display: none;
}

.menu-tab-btn {
  min-height: 44px;
}

.menu-tab-btn[aria-pressed="true"].tab-sosis {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.menu-tab-btn[aria-pressed="true"].tab-pango {
  background: #181519;
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.4);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.menu-tab-btn[aria-pressed="true"].tab-all {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

/* ==========================================================================
   GALLERY PAGE (GALERİ.HTML) STYLES
   ========================================================================== */

.gallery-page-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px 24px;
  text-align: center;
}

.gallery-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gallery-page-desc {
  color: #475569;
  font-size: 15.5px;
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Gallery Tab Filter */
.gallery-tabs-wrapper {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 
    0 10px 30px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.03);
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: #64748b;
  transition: var(--transition-fast);
}

.gallery-tab-btn:hover {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

.gallery-tab-btn {
  min-height: 44px;
}

.gallery-tab-btn.is-active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.gallery-tab-btn.is-active[data-filter="sosis"] {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.35);
}

.gallery-tab-btn.is-active[data-filter="pango"] {
  background: #181519;
  color: #facc15;
  border-color: rgba(250, 204, 21, 0.4);
}

.gallery-tab-btn.is-active[data-filter="mekan"] {
  background: #0369a1;
}

.gallery-tab-btn.is-active[data-filter="avm"] {
  background: #047857;
}

.gallery-tab-btn.is-active[data-filter="video"] {
  background: #7c3aed;
}

.gallery-status {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

/* Gallery Showcase Section */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px 70px;
}

.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item {
  display: flex;
}

/* Gallery Item Card */
.gallery-card {
  width: 100%;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow:
    0 12px 35px rgba(15, 23, 42, 0.07),
    0 2px 8px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  text-align: left;
  font: inherit;
  color: inherit;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

button.gallery-card {
  cursor: zoom-in;
}

button.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 22px 50px rgba(15, 23, 42, 0.14),
    0 6px 16px rgba(15, 23, 42, 0.06);
}

/* Thumbnail Container */
.gallery-thumb-wrapper {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e2e8f0;
}

.gallery-video-wrapper {
  aspect-ratio: 3 / 4;
  background: #000000;
}

.gallery-thumb-img,
.gallery-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-video {
  object-fit: contain;
}

button.gallery-card:hover .gallery-thumb-img {
  transform: scale(1.05);
}

/* Badge on top of image */
.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  padding: 5px 13px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

.badge-sosis-food {
  background: #dc2626;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-pango-food {
  background: #181519;
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.45);
}

.badge-venue {
  background: #0369a1;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-avm {
  background: #047857;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-video {
  background: #7c3aed;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Information Body */
.gallery-card-body {
  padding: 18px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.gallery-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

.gallery-card-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #475569;
  font-weight: 600;
}

.gallery-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0f172a;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

button.gallery-card:hover .gallery-view-btn {
  color: #b91c1c;
  transform: translateX(3px);
}

/* ==========================================================================
   LIGHTBOX MODAL (dialog)
   ========================================================================== */

.gallery-modal {
  border: 0;
  margin: auto;
  padding: 64px 72px 20px;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  color: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-modal[open] {
  display: flex;
}

.gallery-modal::backdrop {
  background: rgba(12, 10, 14, 0.94);
}

.gallery-modal-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-caption-bar {
  margin-top: 14px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-caption-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.modal-caption-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* Modal Nav Controls */
.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1010;
}

.modal-nav-btn:hover {
  background: #ffffff;
  color: #0f172a;
}

.modal-nav-prev {
  left: 14px;
}

.modal-nav-next {
  right: 14px;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  transition: all 0.2s ease;
  z-index: 1020;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #0f172a;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 900px) {
  .page-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-page-header {
    padding: 20px 16px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-nav-prev {
    left: 8px;
  }

  .modal-nav-next {
    right: 8px;
  }

  .hero-section {
    flex-direction: column;
    padding: 40px 24px;
    margin: 0 16px 36px;
    text-align: center;
    gap: 32px;
  }

  .hero-desc {
    margin: 0 auto 24px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-media-slot {
    width: 100%;
  }

  .hero-figure {
    margin: 0 auto;
    max-width: 320px;
  }

  .hero-status {
    justify-content: center;
  }

  .page-nav {
    position: relative;
    top: auto;
    margin: 10px 12px 20px;
    padding: 10px;
    gap: 8px;
    border-radius: 24px;
  }

  .nav-links {
    justify-content: center;
    gap: 6px;
  }

  .nav-links .nav-hide-mobile,
  .nav-links [aria-hidden="true"] {
    display: none;
  }

  .hub-return-btn,
  .menu-nav-link,
  .switch-brand-btn {
    padding: 8px 13px;
    font-size: 13px;
  }

  .nav-brand {
    min-height: 44px;
  }

  .brand-sosis .cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .brand-sosis .product-card {
    padding: 18px 16px;
  }

  .brand-sosis .product-head {
    flex-direction: column;
    gap: 4px;
  }

  .brand-sosis .product-name {
    font-size: 17px;
  }

  .menu-block-actions .btn-brand {
    width: 100%;
  }

  .gallery-tabs-wrapper,
  .menu-tabs-wrapper {
    border-radius: 24px;
  }

  .gallery-tab-btn,
  .menu-tab-btn {
    padding: 8px 14px;
  }

  .gallery-modal {
    padding: 60px 8px 16px;
  }

  .modal-nav-btn {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 48px;
    height: 48px;
  }

  .order-actions {
    width: 100%;
    flex-direction: column;
  }

  .order-actions .btn-brand {
    width: 100%;
  }

  .menu-section {
    padding: 10px 16px 60px;
  }

  .menu-page-header {
    padding: 20px 16px;
  }

  .menu-viewer-section {
    padding: 20px 16px 50px;
  }

  .menu-card-block {
    padding: 18px;
  }

  .menu-order-bar {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 900px) and (min-width: 0) {
  .modal-img {
    max-height: calc(100vh - 230px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-sosisgo,
  body.theme-pango {
    background-attachment: scroll;
  }
}

