/* ==========================================================================
   ByJack Burger - Style Sheets
   ========================================================================== */

/* --- Design System / Root Tokens --- */
:root {
    --bg-dark: #0f1012;
    --bg-card: #18191c;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    
    --color-primary: #ffc107;      /* Cheddar/Gold Yellow */
    --color-primary-hover: #e0a800;
    --color-secondary: #ff3838;    /* Fire Red Accent */
    --color-dark: #121316;
    --color-text-light: #ffffff;
    --color-text-dark: #20232a;
    --color-text-muted: #8e94a0;
    --color-text-muted-dark: #5c626e;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease;
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 15px rgba(255, 193, 7, 0.3);
    
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --container-width: 1200px;
}

/* --- Base / Reset Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--color-text-light);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* --- Layout Utility --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.grid {
    display: grid;
    gap: 32px;
}

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

.align-center { align-items: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }

.text-yellow { color: var(--color-primary); }
.text-white { color: #ffffff; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    padding: 14px 28px;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    font-size: 0.95rem;
    gap: 8px;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #ffffff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* --- Main Header / Navigation --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 16, 18, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 80px;
    transition: var(--transition-normal);
}

.main-header.scrolled {
    height: 70px;
    background-color: rgba(15, 16, 18, 0.98);
    box-shadow: var(--shadow-md);
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* --- Brand Logo Custom --- */
.brand-logo-custom {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.brand-logo-custom:hover {
    transform: scale(1.04);
}

.brand-logo-image {
    display: block;
    width: auto;
    height: 64px;
    max-width: 210px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

@media (max-width: 768px) {
    .brand-logo-image {
        height: 52px;
        max-width: 170px;
    }
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
    color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.instagram-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
}

.instagram-btn:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    transform: scale(1.08);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.4rem;
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh; /* Restored to full screen height */
    min-height: 650px; /* Reverted to premium viewport layout */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 80% center; /* Shifted to right to place 'By Jack' sign away from text on PC */
    z-index: 1;
    transform: scale(1.02);
    animation: zoomOutBg 12s infinite alternate ease-in-out;
}

@keyframes zoomOutBg {
    from { transform: scale(1.08); }
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 16, 18, 0.82) 20%, rgba(15, 16, 18, 0.4) 60%, rgba(15, 16, 18, 0.15) 100%); /* Reduced filter opacity on PC */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 680px; /* Reduced to 680px to prevent overlapping the storefront sign on PC */
    margin-top: 60px;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem; /* Increased size */
    letter-spacing: 3px; /* Slightly wider spacing for elegancy */
    color: var(--color-primary);
    display: block;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 3.8rem; /* Increased size */
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.25rem; /* Increased size */
    margin-bottom: 36px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-badge {
    position: absolute;
    right: 8%;
    bottom: 12%;
    z-index: 3;
    background-color: rgba(24, 25, 28, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 193, 7, 0.2);
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.badge-icon {
    font-size: 2rem;
}

.badge-text strong {
    display: block;
    font-size: 1.1rem;
    color: #ffffff;
}

.badge-text span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* --- Section Formatting --- */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}

.section-subtitle.light {
    color: var(--color-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.header-line {
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 0 auto 20px;
}

.section-title.text-left + .header-line {
    margin-left: 0;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* --- Brand Transparency Highlights (Scrolling Marquee) --- */
.ticker-ribbon {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: rgba(17, 18, 21, 0.75); /* Semi-transparent dark background for premium overlay */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 193, 7, 0.2);
    border-bottom: none;
    padding: 14px 0; /* Narrow height - very thin and sleek */
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.4);
}

.ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

.ticker-track {
    display: inline-flex;
    animation: tickerInfinite 40s linear infinite;
    gap: 60px;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem; /* Smaller font */
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

.ticker-item i {
    font-size: 1.05rem;
    filter: drop-shadow(0 0 2px rgba(255, 193, 7, 0.4));
}

.ticker-item span {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes tickerInfinite {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* --- Transparency Explorer --- */
.transparency-section {
    background-color: var(--bg-dark);
}

.transparency-explorer {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    background-color: var(--bg-card);
    padding: 50px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.burger-visual-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.burger-explorer-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

.hotspot {
    position: absolute;
    width: 36px;
    height: 36px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-glow);
}

.hotspot-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.hotspot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--color-primary);
    opacity: 0.6;
    z-index: -1;
    animation: pulseGlow 2s infinite ease-out;
}

@keyframes pulseGlow {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hotspot:hover, .hotspot.active {
    transform: scale(1.15);
    background-color: #ffffff;
}

.hotspot.active .hotspot-number {
    color: var(--color-dark);
}

.hotspot.active .hotspot-pulse {
    background-color: #ffffff;
}

.transparency-info {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-box {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.info-box.active {
    display: block;
}

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

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 16px;
}

.info-box h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.info-box p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.info-details {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.info-details li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.info-details li strong {
    color: #ffffff;
}

.info-details li span {
    color: var(--color-primary);
    font-weight: 600;
}

/* --- Gurme Menu Section (Premium Dark Theme & Interactive Explorers) --- */
.menu-section {
    background-color: var(--bg-dark); /* Pure deep premium carbon black to match transparency section */
    color: #ffffff;
    border-top: none; /* Seamless continuation */
}

.menu-section .section-subtitle {
    color: var(--color-primary);
}

.menu-section .section-title {
    color: #ffffff;
}

.menu-section .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    color: rgba(255, 255, 255, 0.8);
}

.tab-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(255, 193, 7, 0.05);
}

.tab-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.35);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 side-by-side on desktop for larger, more visible cards! */
    gap: 24px;
}

@media (max-width: 1200px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller desktops */
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .menu-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 16px;
    }
}

/* Force exactly 3 columns on desktop for 3 items to be perfectly centered and balanced */
.popular-menu-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .popular-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .popular-menu-grid {
        grid-template-columns: 1fr;
    }
}

.menu-card {
    background-color: #141618; /* Rich carbon dark gray card background */
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 193, 7, 0.25);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.05), 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Static Image Wrapper (for menus/drinks) */
.menu-card-img-wrapper {
    height: 280px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #1a1c20 0%, #0d0f11 100%);
    padding: 15px; /* Added padding so the combo menu, sides, and drinks fit beautifully! */
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the entire visual is visible and doesn't get cropped! */
    transition: var(--transition-slow);
}

/* Menus Category Banner Fitting */
.menu-card[data-category="menus"] .menu-card-img-wrapper {
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.menu-card[data-category="menus"] .menu-card-img {
    object-fit: cover;
}

.menu-card:hover .menu-card-img {
    transform: scale(1.06) rotate(1deg);
}

/* Interactive Exploded View Wrapper (for burger explorer) */
.menu-card-interactive-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1; /* Perfect square matching the 1:1 image assets! */
    background-color: #08090a; /* True pure black background for the isolated layers graphic */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.interactive-burger-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transform: scale(1.0); /* Görselin tam sığması için ölçeği 1.0 yap */
    transition: var(--transition-slow);
}

/* Desktop compact scaling for interactive popular section to fit screen beautifully */
@media (min-width: 992px) {
    .menu-section {
        padding: 50px 0;
    }
    .menu-section .section-header {
        margin-bottom: 30px;
    }
    .interactive-burger-card .menu-card-interactive-visual {
        aspect-ratio: auto;
        height: 250px;
    }
    .interactive-burger-card .card-layer-display {
        min-height: 90px;
        padding: 10px 20px;
    }
    .interactive-burger-card .menu-card-body {
        padding: 16px 20px;
    }
    .interactive-burger-card .item-ingredients {
        margin-bottom: 12px;
        font-size: 0.85rem;
        line-height: 1.4;
    }
    .interactive-burger-card .technical-specs {
        margin-bottom: 12px !important;
    }
}

.menu-card:hover .interactive-burger-img {
    transform: scale(1.05) rotate(1deg); /* Üzerine gelindiğinde hafifçe büyüme ve dönme efekti */
}

/* Hotspots on exploding layers */
.card-hotspot {
    position: absolute;
    left: auto !important;
    right: 20px !important; /* Sağa tam olarak hizala */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 10;
    transform: translateY(-50%) !important; /* Dikey olarak tam ortala */
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-hotspot:hover, .card-hotspot.active {
    background-color: #ffffff;
    color: var(--color-dark);
    transform: translateY(-50%) scale(1.25) !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

/* 5 Katmanlı Burger (Card 2) - Numaraları dikeyde ortalı ve sıkı dağıt */
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(5)):not(:has(.card-hotspot:nth-of-type(6))) .card-hotspot:nth-of-type(1) { top: 14% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(5)):not(:has(.card-hotspot:nth-of-type(6))) .card-hotspot:nth-of-type(2) { top: 32% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(5)):not(:has(.card-hotspot:nth-of-type(6))) .card-hotspot:nth-of-type(3) { top: 50% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(5)):not(:has(.card-hotspot:nth-of-type(6))) .card-hotspot:nth-of-type(4) { top: 68% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(5)):not(:has(.card-hotspot:nth-of-type(6))) .card-hotspot:nth-of-type(5) { top: 86% !important; }

/* 6 Katmanlı Burger (Card 1) */
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(1) { top: 12% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(2) { top: 27% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(3) { top: 42% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(4) { top: 57% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(5) { top: 72% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(6)):not(:has(.card-hotspot:nth-of-type(7))) .card-hotspot:nth-of-type(6) { top: 88% !important; }

/* 7 Katmanlı Burger (Card 3) */
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(1) { top: 10% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(2) { top: 23% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(3) { top: 36% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(4) { top: 50% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(5) { top: 63% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(6) { top: 76% !important; }
.menu-card-interactive-visual:has(.card-hotspot:nth-of-type(7)) .card-hotspot:nth-of-type(7) { top: 90% !important; }

.card-hotspot .hotspot-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: inherit;
    opacity: 0.6;
    animation: hotspotPulseAnim 2s infinite;
    z-index: -1;
}

/* Card Inline Layer Display Panel */
.card-layer-display {
    padding: 18px 24px;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 110px; /* Sized to prevent layout shifting on content change */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-layer-display .layer-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 1px;
    margin-bottom: 4px;
    display: block;
    text-transform: uppercase;
}

.card-layer-display .layer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.card-layer-display .layer-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.drink-icon-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-primary);
}

.menu-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1200px) {
    .menu-card-body {
        padding: 20px;
    }
}

.menu-card-meta {
    margin-bottom: 12px;
}

.item-tag {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.8);
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
}

.menu-card:hover .item-tag {
    background-color: rgba(255, 193, 7, 0.2);
    color: var(--color-primary);
}

.item-title {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: #ffffff;
    font-weight: 700;
}

.item-ingredients {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
    flex-grow: 1;
}

.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    margin-top: auto;
}

.item-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
}

/* --- About Section --- */
.about-section {
    background-color: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (min-width: 993px) {
    .about-section .grid-2 {
        grid-template-columns: 1fr 1.15fr;
        gap: 56px;
        align-items: center;
    }
}

.about-text-content {
    padding-right: 0;
}

.about-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.about-img:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* --- Franchise Section --- */
.franchise-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
}

.franchise-wrapper {
    position: relative; /* Relative for absolute pseudo-element */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.franchise-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/discekim.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* Subtle, ensures text remains highly visible */
    filter: blur(4px); /* Soft blur effect */
    z-index: -1;
    pointer-events: none;
}

.franchise-info-side {
    padding: 60px;
}

.franchise-info-side p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.franchise-benefits {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-item i {
    font-size: 1.4rem;
    margin-top: 4px;
}

.benefit-item h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: #ffffff;
}

.benefit-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--color-text-muted);
}

.franchise-form-side {
    background-color: rgba(255, 255, 255, 0.01);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    padding: 60px;
    display: flex;
    align-items: center;
}

.form-card {
    width: 100%;
}

.form-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.form-card p {
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.form-group textarea {
    resize: none;
}

.form-group select option {
    background-color: var(--bg-card);
    color: #ffffff;
}

/* --- Main Footer --- */
.main-footer {
    background-color: var(--color-dark);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 50px;
    margin-bottom: 40px;
}

.footer-brand-info p {
    margin: 20px 0 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-logo {
    display: inline-block;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.footer-top h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links, .footer-hours, .footer-contact {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-hours li {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
}

.footer-hours span {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-hours strong {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-top: 2px;
}

.status-indicator {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;
    color: #2ecc71 !important;
    font-weight: 600;
    font-size: 0.9rem;
}

.pulse-green {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2ecc71;
    display: inline-block;
    animation: pulseGreenAnimation 2s infinite;
}

@keyframes pulseGreenAnimation {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

.footer-contact li {
    margin-bottom: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.footer-contact i {
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-contact span, .footer-contact a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    font-size: 0.85rem;
    color: var(--color-text-muted-dark);
}

/* --- Modals (Application Success) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    max-width: 550px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: var(--transition-normal);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    font-size: 4rem;
    color: #2ecc71;
    margin-bottom: 24px;
}

.modal-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.modal-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* --- Media Queries (Responsive Styling) --- */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    
    .transparency-explorer {
        grid-template-columns: 1fr;
        padding: 30px;
        gap: 40px;
    }
    
    .franchise-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .franchise-form-side {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        padding: 40px;
    }
    
    .franchise-info-side {
        padding: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-text-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .main-header {
        height: 70px;
    }

    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-dark);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
    }
    
    .header-actions .btn {
        display: inline-flex; /* Show franchise button on mobile */
        padding: 6px 12px; /* Sleek compact padding for mobile header */
        font-size: 0.75rem; /* Clean compact size to fit in the top bar */
        border-radius: 6px;
    }

    .header-actions .instagram-btn {
        display: none; /* Hide Instagram button on mobile to save space for Franchise button */
    }
    
    .hero-section {
        align-items: flex-end;
        padding-bottom: 50px; /* Positions text in the lower half of screen */
    }
    
    .hero-content {
        margin-top: 0;
    }
    
    .hero-bg {
        background-position: 70% 25%; /* Keeps the 'By Jack' wall sign in the upper half of screen */
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(15, 16, 18, 0.22) 0%, rgba(15, 16, 18, 0.45) 45%, rgba(15, 16, 18, 0.82) 100%); /* Lighter filter on top, darker on bottom for text readability */
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-badge {
        display: none;
    }
    
    .grid-3 { grid-template-columns: 1fr; }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

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

    .section-title {
        font-size: 2rem;
    }
    
    .transparency-explorer {
        padding: 20px;
    }
    
    .transparency-info h3 {
        font-size: 1.4rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* --- Subpage General Styles --- */
.subpage-hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.subpage-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.subpage-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

.relative {
    position: relative;
}

.z-10 {
    z-index: 10;
}

.mb-4 {
    margin-bottom: 24px;
}

/* --- Detailed Menu (menu.html) --- */
.menu-showcase-section {
    background-color: #0c0d0f; /* Pure deep premium black */
    color: #ffffff;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


.detail-card-img-container {
    background: radial-gradient(circle, #fcfcfc 0%, #f0f1f4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.detail-card-img-container img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
}

.detail-card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.detail-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 16px;
}

.detail-header h3 {
    font-size: 1.8rem;
    color: var(--color-text-dark);
}

.detail-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--color-primary-hover);
}

.detail-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--color-text-muted-dark);
}

.transparency-breakdown {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid rgba(0,0,0,0.04);
}

.transparency-breakdown h4 {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
}

.breakdown-item span {
    color: var(--color-text-muted-dark);
}

.breakdown-item strong {
    color: var(--color-text-dark);
    margin-top: 2px;
}

.technical-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
}

.spec-pill {
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.04);
    color: var(--color-text-muted-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.spec-pill.text-red {
    background-color: rgba(255, 56, 56, 0.08);
    color: var(--color-secondary);
}

/* --- Franchise Portal (franchise.html) --- */
.franchise-portal-info {
    background-color: var(--bg-dark);
    padding: 100px 0 60px;
}

.portal-info-card {
    position: relative; /* Relative for absolute pseudo-element */
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: var(--transition-normal);
    z-index: 1;
    overflow: hidden;
}

.portal-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/discekim.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08; /* Subtle background visual overlay */
    filter: blur(3px); /* Soft blur */
    z-index: -1;
    transition: var(--transition-slow);
    pointer-events: none;
}

.portal-info-card:hover {
    transform: translateY(-5px);
}

.portal-info-card:hover::before {
    transform: scale(1.08); /* Sophisticated micro-animation zoom */
    opacity: 0.12;
}

.portal-info-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.portal-info-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.franchise-steps-section {
    background-color: var(--bg-card);
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.steps-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    position: relative;
    margin-top: 20px;
}

.step-flow-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.15);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-glow);
}

.step-flow-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.step-flow-item p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.franchise-faq-section {
    background-color: var(--bg-dark);
    padding: 100px 0;
}

.faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-card {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--color-primary);
}

.faq-card h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.franchise-portal-form-section {
    background-color: var(--bg-dark);
    padding: 0 0 100px;
}

.portal-form-wrapper {
    position: relative; /* Relative for absolute pseudo-element */
    background-color: var(--bg-card);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow-lg);
    z-index: 1;
    overflow: hidden;
}

.portal-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/discekim.png');
    background-size: cover;
    background-position: center;
    opacity: 0.12; /* Premium dark background graphic bleed */
    filter: blur(4px); /* Elegant blur */
    z-index: -1;
    pointer-events: none;
}

.portal-form-wrapper h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.portal-form-wrapper p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.portal-formal-inputs {
    margin-top: 40px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 30px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-label {
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: var(--color-text-muted) !important;
}

/* --- Responsive Subpage Overrides --- */
@media (max-width: 992px) {
    .menu-detail-card {
        grid-template-columns: 1fr;
    }
    
    .detail-card-img-container {
        height: 250px;
    }
    
    .steps-flow {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .faq-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .steps-flow {
        grid-template-columns: 1fr;
    }
    
    .portal-form-wrapper {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   Light Theme Override (Homepage Menu Section)
   ========================================================================== */
.menu-section.theme-light {
    background-color: #ffffff !important; /* Premium clean pure white background */
    color: #141618 !important; /* Dark charcoal text */
    border-top: 1px solid rgba(12, 13, 15, 0.08) !important;
}

.menu-section.theme-light .section-subtitle {
    color: var(--color-primary) !important;
}

.menu-section.theme-light .section-title {
    color: #141618 !important;
}

.menu-section.theme-light .section-desc {
    color: rgba(20, 22, 24, 0.7) !important;
}

.menu-section.theme-light .header-line {
    background-color: var(--color-primary) !important;
}

/* Light Theme Tab Buttons */
.menu-section.theme-light .tab-btn {
    background-color: rgba(12, 13, 15, 0.04) !important;
    border: 1px solid rgba(12, 13, 15, 0.1) !important;
    color: rgba(12, 13, 15, 0.7) !important;
}

.menu-section.theme-light .tab-btn:hover {
    border-color: var(--color-primary) !important;
    color: var(--color-dark) !important;
    background-color: rgba(255, 193, 7, 0.08) !important;
}

.menu-section.theme-light .tab-btn.active {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-dark) !important;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.25) !important;
}

/* Light Theme Menu Cards */
.menu-section.theme-light .menu-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(12, 13, 15, 0.08) !important;
    box-shadow: 0 10px 30px rgba(12, 13, 15, 0.04) !important;
}

.menu-section.theme-light .menu-card:hover {
    border-color: rgba(255, 193, 7, 0.4) !important;
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.12), 0 10px 25px rgba(12, 13, 15, 0.06) !important;
}

.menu-section.theme-light .menu-card-img-wrapper {
    background: radial-gradient(circle, #fcfcfc 0%, #f3f4f6 100%) !important;
    border-bottom: 1px solid rgba(12, 13, 15, 0.06) !important;
}

.menu-section.theme-light .menu-card-interactive-visual {
    background-color: #f7f8fa !important; /* Soft premium light gray */
    border-bottom: 1px solid rgba(12, 13, 15, 0.06) !important;
}

.menu-section.theme-light .card-layer-display {
    background-color: rgba(12, 13, 15, 0.02) !important;
    border-bottom: 1px solid rgba(12, 13, 15, 0.06) !important;
}

.menu-section.theme-light .card-layer-display .layer-title {
    color: #141618 !important;
}

.menu-section.theme-light .card-layer-display .layer-desc {
    color: rgba(20, 22, 24, 0.7) !important;
}

.menu-section.theme-light .menu-card-body .item-title {
    color: #141618 !important;
}

.menu-section.theme-light .menu-card-body .item-ingredients {
    color: rgba(20, 22, 24, 0.65) !important;
}

.menu-section.theme-light .menu-card-body .item-price {
    color: #141618 !important;
}

/* Light Theme CTA Button */
.menu-section.theme-light .btn-outline {
    border: 2px solid #141618 !important;
    color: #141618 !important;
    background: transparent !important;
    transition: var(--transition-normal) !important;
    padding: 12px 28px !important;
    border-radius: 30px !important;
}

.menu-section.theme-light .btn-outline:hover {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: var(--color-dark) !important;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3) !important;
}

/* ==========================================================================
   ByJack Mission & Vision Section Style Enhancements
   ========================================================================== */
.about-story-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.about-story-highlight {
    font-weight: 700;
    color: var(--color-primary);
}

.mission-vision-container {
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 50px;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mv-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 193, 7, 0.1);
    border-radius: var(--border-radius-md);
    padding: 40px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--color-primary);
    opacity: 0.8;
}

.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(255, 193, 7, 0.05);
}

.mv-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mv-title i {
    color: var(--color-primary);
    font-size: 1.6rem;
}

.mv-intro-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 500;
}

.mv-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mv-pillar-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.mv-pillar-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition-normal);
}

.mv-card:hover .mv-pillar-icon {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: scale(1.05);
}

.mv-pillar-content h4 {
    font-size: 1.05rem;
    color: #ffffff;
    margin-bottom: 6px;
}

.mv-pillar-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.vision-highlight-box {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 193, 7, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-top: 24px;
    text-align: center;
}

.vision-highlight-box p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Lightbox Overlay for Image Zoom --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 16, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--border-radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.lightbox-close:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
    transform: rotate(90deg) scale(1.05);
    border-color: var(--color-primary);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Lightbox specific zoom for transparent burger PNGs - set to 85vmin to fill the screen beautifully without overflowing */
.lightbox-content.lightbox-burger-zoom {
    width: 85vmin;
    height: auto;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9); /* Başlangıç ölçeği */
}

.lightbox-overlay.active .lightbox-content.lightbox-burger-zoom {
    transform: scale(1.0); /* Aktif/yakınlaştırılmış ölçek */
}

/* ==========================================================================
   ByJack Blog & Galeri Sayfası Stilleri
   ========================================================================== */
.blog-section {
    background-color: var(--bg-dark);
    padding: 100px 0 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 193, 7, 0.15);
}

.blog-card-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-primary);
    color: var(--color-dark);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-heading);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
}

.blog-card-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: var(--font-heading);
}

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

/* Galeri Alanı */
.gallery-section {
    background-color: var(--bg-dark);
    padding: 60px 0 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.03);
    cursor: zoom-in;
    z-index: 1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 16, 18, 0.85);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
    pointer-events: none; /* Let click pass through to the image */
}

.gallery-item-hover i {
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}

.gallery-item-hover span {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    transform: translateY(10px);
    transition: transform 0.3s ease 0.05s;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-item-hover {
    opacity: 1;
}

.gallery-item:hover .gallery-item-hover i,
.gallery-item:hover .gallery-item-hover span {
    transform: translateY(0);
}

/* Blog & Galeri Medya Sorguları */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

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

/* --- Map Section --- */
.map-section {
    padding: 80px 0;
    background-color: var(--bg-dark);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.map-wrapper {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--color-primary);
    position: relative;
    transition: var(--transition-normal);
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 193, 7, 0.2);
    border-color: var(--color-primary-hover);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
}

@media (max-width: 768px) {
    .map-section {
        padding: 50px 0;
    }
    .map-wrapper {
        max-width: 100%;
        border-radius: var(--border-radius-sm);
    }
}

/* --- Additional Flawless Mobile Responsiveness Updates --- */
@media (max-width: 768px) {
    /* Premium Swipeable Category Tabs on Mobile */
    .menu-tabs {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 5px 24px 15px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        gap: 8px !important;
        margin-bottom: 30px !important;
    }
    .menu-tabs::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }
    .tab-btn {
        flex-shrink: 0 !important;
        font-size: 0.85rem !important;
        padding: 8px 18px !important;
    }

    /* Subpage Hero Section Mobile Scaling */
    .subpage-hero {
        height: 30vh !important;
        min-height: 220px !important;
    }
    .subpage-title {
        font-size: 2.0rem !important;
    }
    .subpage-desc {
        font-size: 0.9rem !important;
        padding: 0 10px !important;
    }

    /* About Stats Mobile Spacing */
    .about-stats {
        padding: 20px !important;
        gap: 30px !important;
    }

    /* Interactive Burger Card Spacing on Mobile */
    .interactive-burger-card {
        margin-bottom: 15px;
    }
    
    /* Hotspot Numbers touch size optimization */
    .card-hotspot, .hotspot {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.85rem !important;
    }
}

/* --- Floating Contact Widget --- */
.floating-contact-widget {
    position: fixed;
    right: 25px;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.floating-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* Phone Button Style (Blue) */
.floating-btn.phone-btn {
    background-color: #007bff;
}
.floating-btn.phone-btn:hover {
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Instagram Button Style (Instagram Gradient) */
.floating-btn.instagram-btn {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.floating-btn.instagram-btn:hover {
    box-shadow: 0 8px 25px rgba(214, 36, 159, 0.4);
}

/* Mail Button Style (Gmail Red) */
.floating-btn.mail-btn {
    background-color: #ea4335;
}
.floating-btn.mail-btn:hover {
    box-shadow: 0 8px 25px rgba(234, 67, 53, 0.4);
}

/* Responsiveness: slightly smaller on mobile */
@media (max-width: 576px) {
    .floating-contact-widget {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

