/* ===== BASE VARIABLES ===== */
:root {
    --primary: #ff7043;
    --primary-light: #ffab91;
    --primary-dark: #e64a19;
    --bg-color: #ffffff;
    --card-bg: #f8f9fa;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --nav-bg: transparent;
    --nav-text: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius: 16px;
}

body.dark-mode {
    --bg-color: #12161f;
    --card-bg: #1a2230;
    --text-primary: #f4f7fb;
    --text-secondary: #b7c0cf;
    --nav-bg: rgba(18, 22, 31, 0.92);
    --nav-text: #f8fafc;
}

/* ===== GLOBAL BACKGROUND PARTICLES ===== */
.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gp {
    position: absolute;
    left: var(--x, 50%);
    top: var(--y, 50%);
    opacity: var(--o, 0.22);
    font-size: var(--s, 1.4rem);
    color: rgba(255, 112, 67, 0.22);
    animation: globalFloat var(--d, 24s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    will-change: transform;
    filter: drop-shadow(0 2px 2px rgba(255, 112, 67, 0.18));
}

body.dark-mode .gp {
    color: rgba(255, 112, 67, 0.3);
    filter: drop-shadow(0 2px 3px rgba(255, 112, 67, 0.25));
}

@keyframes globalFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    35% {
        transform: translate(var(--dx1, 16px), var(--dy1, -20px)) rotate(var(--r1, 9deg)) scale(var(--sc1, 1.06));
    }

    70% {
        transform: translate(var(--dx2, -20px), var(--dy2, -34px)) rotate(var(--r2, -8deg)) scale(var(--sc2, 0.93));
    }
}

@media (prefers-reduced-motion: reduce) {
    .gp {
        animation: none;
        transform: none;
    }
}

/* Navbar - Transparent by default, solid on scroll */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    padding: 15px 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

/* Light mode - navbar when scrolled */
body:not(.dark-mode) .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

body:not(.dark-mode) .navbar.scrolled .logo-text,
body:not(.dark-mode) .navbar.scrolled .desktop-nav a,
body:not(.dark-mode) .navbar.scrolled .icon-btn {
    color: var(--text-primary);
}

body:not(.dark-mode) .navbar.scrolled .lang-btn {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.1);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-5deg);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.section {
    padding: 80px 0;
    position: relative;
    scroll-margin-top: 100px;
    /* Ensures section title is visible below fixed header */
}

/* ... existing code ... */

.menu-category {
    padding: 40px 0;
    display: none;
    /* Hidden by default */
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    scroll-margin-top: 140px;
    /* Higher offset for sub-categories to clear both main nav and tab bar */
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    animation: fadeUp 0.7s forwards;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
    /* Header + Tabs height to prevent overlap */
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 50px 0;
}

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

.stars {
    color: #fbbf24;
}

.orange {
    color: var(--primary);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
}

.btn-white {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background: #e0e7ff;
    color: #3730a3;
}


.btn-dark {
    background: #1a1a1a;
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1a1a1a;
    color: #1a1a1a;
}

.section-label {
    color: var(--primary);
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

.story-content .section-label,
.story-content .section-title {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--nav-bg);
    padding: 6px 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    transition: all 0.3s;
    overflow: visible;
}

.navbar.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

body.dark-mode .navbar {
    background: rgba(18, 22, 31, 0.86);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.dark-mode .navbar.scrolled {
    background: rgba(16, 20, 28, 0.96);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-mark {
    width: 148px;
    height: 148px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    margin-top: -43px;
    margin-bottom: -43px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
}

.logo:hover .logo-mark,
.footer-logo:hover .logo-mark {
    transform: rotate(-15deg) scale(1.1);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 0.9;
    color: var(--nav-text);
}

.logo-sub {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-top: 2px;
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    color: var(--nav-text);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-nav a:hover {
    color: var(--primary);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: transparent;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: var(--nav-text);
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.icon-btn:hover {
    color: var(--primary);
    background: rgba(255, 112, 67, 0.1);
    transform: scale(1.1);
}

.lang-btn {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.lang-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.hamburger {
    display: none;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

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

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center;
}

.mobile-menu-links a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-menu-links a:hover {
    color: var(--primary);
}

/* ===== HERO ===== */
.hero {
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 70px;
    overflow: hidden;
    background: #1a1a1a;
}

body.dark-mode .hero {
    background: #171d28;
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s;
}

.hero-slideshow .slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

body.dark-mode .hero-overlay {
    background: linear-gradient(to bottom, rgba(8, 11, 18, 0.5), rgba(10, 13, 20, 0.74));
}

/* Hero Particles */
.particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 112, 67, 0.4);
    animation: floatParticle 15s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 35%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 50%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 65%;
    animation-delay: 3s;
    animation-duration: 11s;
}

.particle:nth-child(6) {
    left: 75%;
    animation-delay: 5s;
    animation-duration: 13s;
}

.particle:nth-child(7) {
    left: 85%;
    animation-delay: 2.5s;
    animation-duration: 15s;
}

.particle:nth-child(8) {
    left: 95%;
    animation-delay: 0.5s;
    animation-duration: 12s;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 20px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 15px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    opacity: 0.95;
    color: #fff;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-open-widget {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    color: #fff;
    text-align: left;
    z-index: 10;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hours-text {
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ===== MENU LIST (Pizza dual-pricing layout) ===== */
.menu-featured-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.featured-img-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 180px;
}

.featured-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.featured-img-card:hover img {
    transform: scale(1.08);
}

.featured-label {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.size-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-style: italic;
}

.menu-list {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price-labels {
    display: flex;
    gap: 30px;
    font-size: 0.85rem;
    min-width: 190px;
    justify-content: flex-end;
}

.menu-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s;
}

body.dark-mode .menu-list-item {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.menu-list-item:hover {
    background: transparent;
}

.menu-list-item.highlight {
    background: transparent;
    border-left: none;
}

body.dark-mode .menu-list-item.highlight {
    background: transparent;
}

.menu-list-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 2px;
    color: var(--text-primary);
}

.item-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

.item-prices {
    display: flex;
    gap: 20px;
    min-width: 190px;
    justify-content: flex-end;
    align-items: center;
}

.item-prices .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    min-width: 65px;
    text-align: right;
}

.item-prices .price.family {
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.menu-list-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 5px 24px;
    opacity: 0.3;
}


/* ===== STORY ===== */
.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
}

.story-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.story-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.story-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
    text-align: center;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--card-bg);
    padding: 8px 14px;
    border-radius: 50px;
}

.check-icon {
    width: 20px;
    height: 20px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
}

/* ===== MENU ===== */
.menu-section {
    background: var(--card-bg);
}

.menu-tabs-wrapper {
    position: sticky;
    top: var(--sticky-offset, 80px);
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(16px) saturate(145%);
    -webkit-backdrop-filter: blur(16px) saturate(145%);
    border: 1px solid rgba(255, 255, 255, 0.45);
    padding: 15px 0;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

body.dark-mode .menu-tabs-wrapper {
    background: rgba(20, 26, 37, 0.72);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Juice & Extras Section */
.extras-section {
    margin-top: 40px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
}

.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.extra-card {
    background: var(--bg-color);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.extra-card h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-align: center;
}

.extra-prices {
    display: flex;
    justify-content: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 5px;
}

.price-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.price-row span:first-child {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.price-tag {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.2rem;
    background: rgba(255, 107, 107, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.extra-list {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    text-align: center;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: var(--bg-color);
    color: var(--text-primary);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 112, 67, 0.3);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
    opacity: 1;
    animation: fadeUp 0.5s ease forwards;
}

.menu-notice {
    margin-bottom: 0;
}

.menu-category > .menu-grid,
.menu-category > .menu-board,
.menu-category > .extras-section {
    margin-top: 18px;
}

.menu-category > .menu-notice + .menu-grid,
.menu-category > .menu-notice + .menu-board {
    margin-top: 30px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.menu-board {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.2fr);
    gap: 24px;
    align-items: start;
}

.menu-board+.menu-board {
    margin-top: 24px;
}

.menu-board-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    height: 280px;
}

.menu-board-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

    .menu-board-media {
        height: 220px;
    }
}

.menu-card {
    background: var(--bg-color);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.menu-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 112, 67, 0.15);
}

.menu-card.featured {
    border: 2px solid var(--primary);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
}

.menu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.menu-card-content {
    padding: 20px;
}

.menu-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.menu-card-header h3 {
    font-size: 1.15rem;
    margin: 0;
}

.price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.menu-card-content p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

.dual-price {
    display: flex;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.dual-price .price:not(:last-child) {
    margin-right: 20px;
    /* Fallback for gap */
}

.dual-price .price {
    background: rgba(255, 112, 67, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.dual-price .family-price {
    background: rgba(230, 74, 25, 0.08);
    color: var(--primary-dark);
}

body.dark-mode .dual-price .price {
    background: rgba(255, 112, 67, 0.15);
}

body.dark-mode .dual-price .family-price {
    background: rgba(230, 74, 25, 0.15);
}

/* ===== REVIEWS ===== */
.reviews-header {
    text-align: center;
    margin-bottom: 25px;
}

.reviews-header h2 {
    font-size: 1.8rem;
    margin: 5px 0;
}

.reviews-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.review-card {
    background: var(--card-bg);
    padding: 18px;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar {
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.reviewer-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.reviewer-sub {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.review-header .stars {
    margin-left: auto;
    font-size: 0.8rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.translate-btn {
    background: none;
    border: 1px solid var(--text-secondary);
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
}

.translate-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ===== LOCATION - SIDE BY SIDE ===== */
.location-section {
    background: #fafafa;
    padding: 50px 0;
}

body.dark-mode .location-section {
    background: #1a1a1a;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: stretch;
}

.location-info {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius);
    color: #fff;
    text-align: center;
}

.floating-icons {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.2);
}

.float-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation: float 4s ease-in-out infinite;
}

.float-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation: floatSlow 5s ease-in-out infinite;
    animation-delay: 1s;
}

.float-icon:nth-child(3) {
    bottom: 15%;
    left: 20%;
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.location-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.location-address {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.location-sub {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.opening-hours {
    margin-bottom: 20px;
    font-size: 0.85rem;
    opacity: 0.9;
}

.opening-hours p {
    margin: 3px 0;
}

.location-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.location-info .btn-dark {
    background: #1a1a1a;
}

.location-info .btn-outline {
    border-color: #fff;
    color: #fff;
}

.location-info .btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 300px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: block;
    border: none;
}

/* ===== FOOTER ===== */
footer {
    background: #0f0f0f;
    color: #fff;
    padding: 30px 0;
}

body.dark-mode footer {
    background: #141b27;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo .logo-mark {
    width: 212px;
    height: 212px;
    margin-top: 0;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    opacity: 0.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .logo-mark {
        width: 120px;
        height: 120px;
        margin-top: -34px;
        margin-bottom: -34px;
    }

    .footer-logo .logo-mark {
        width: 170px;
        height: 170px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .story-container,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .story-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    /* Force visibility on mobile to prevent blank screens if JS fails */
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }

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

    .nav-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        min-height: 52px;
    }

    .logo-mark {
        width: 96px;
        height: 96px;
        margin-top: -23px;
        margin-bottom: -23px;
    }

    .nav-controls {
        gap: 4px;
        flex-shrink: 0;
    }

    .icon-btn {
        padding: 6px;
        font-size: 0.9rem;
    }

    .lang-btn {
        font-size: 0.68rem;
        padding: 4px 8px;
        gap: 4px;
    }

    .desktop-nav {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: center;
        gap: 10px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
        padding-top: 0;
    }

    .desktop-nav::-webkit-scrollbar {
        display: none;
    }

    .desktop-nav a {
        font-size: 0.64rem;
        letter-spacing: 0.55px;
        padding: 1px 0;
        white-space: nowrap;
    }

    .hamburger,
    .mobile-menu-overlay {
        display: none !important;
    }

    .footer-logo .logo-mark {
        width: 178px;
        height: 178px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .rating-badge {
        gap: 6px;
        padding: 7px 12px;
        font-size: 0.72rem;
    }

    .hero-open-widget {
        position: static;
        margin: 20px auto 0;
        max-width: 220px;
        text-align: center;
        border-left: none;
        border-top: 3px solid var(--primary);
    }

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

    .section-title {
        font-size: 2rem;
    }

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

    .menu-featured-row {
        grid-template-columns: 1fr;
    }

    .price-labels,
    .item-prices {
        min-width: 140px;
        gap: 15px;
    }

    .item-prices .price {
        min-width: 55px;
        font-size: 0.9rem;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .location-info {
        padding: 25px 20px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

/* CSS Update for Kebab & Wings Centering */

/* Center Category Subtitles */
.category-subtitle {
    text-align: center;
    margin: 35px 0 20px;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: var(--font-heading);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-subtitle::before,
.category-subtitle::after {
    content: "";
    height: 2px;
    width: 40px;
    background: var(--primary-light);
    border-radius: 2px;
}

/* Specific centering for Kebab, Falafel, Chicken, Wings, Grill */
#kebabs .menu-card-header,
#wings .menu-card-header {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

#kebabs .menu-card-content,
#wings .menu-card-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#kebabs .menu-card-content p,
#wings .menu-card-content p {
    margin-bottom: 10px;
}

#kebabs .price,
#wings .price {
    font-size: 1.1rem;
    background: rgba(255, 112, 67, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
}

/* Adjust grid for these items if needed */
#kebabs .menu-card,
#wings .menu-card {
    min-height: 280px;
    /* Ensure consistent height */
    display: flex;
    flex-direction: column;
}

#kebabs .menu-card img,
#wings .menu-card img {
    height: 180px;
    /* Slightly smaller image to give room for text */
}

/* Side Dish Info List Styling (Static) */
.side-dish-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

body.dark-mode .side-dish-info {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.side-dish-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.side-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.side-list li {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-mode .side-list li {
    border-bottom-color: rgba(255, 255, 255, 0.03);
}

.side-list li:last-child {
    border-bottom: none;
}

.price-diff {
    font-weight: 600;
    color: var(--text-primary);
}

/* Side Dish Selector Styling */
.side-dish-selector {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.side-dish-selector p {
    margin-bottom: 15px;
    color: var(--accent-color);
    font-weight: 600;
}

.side-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.side-option:hover {
    background-color: rgba(255, 255, 255, 0.08);
    /* Slightly lighter on hover */
}

.side-option input[type="radio"] {
    margin-right: 12px;
    accent-color: var(--accent-color);
    transform: scale(1.2);
}

.side-option span {
    flex-grow: 1;
    color: var(--text-color);
    font-size: 0.95rem;
}

.side-option .side-price {
    flex-grow: 0;
    color: var(--accent-color);
    font-weight: 600;
}
