@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap');

:root {
    --bg-dark: #1f2024;
    --bg-darker: #18191c;
    --bg-darkest: #141518;
    --text-light: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b8b8b8;
    --accent: #d9480f;
    --accent-light: #ff6b35;
    --accent-dark: #c13d0a;
    --success: #4CAF50;
    --warning: #FFC107;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-lighter: rgba(255, 255, 255, 0.05);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-heavy: 0 12px 48px rgba(0, 0, 0, 0.35);
    --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent-light));
    --gradient-dark: linear-gradient(135deg, var(--bg-darkest), var(--bg-darker));
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-light);
}

/* Light theme overrides */
html[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-darker: #f6f7f9;
    --bg-darkest: #ffffff;
    --text-light: #121212;
    --text-secondary: #222222;
    --text-muted: #4d4d4d;
    --border-lighter: rgba(0, 0, 0, 0.08);
    --border-light: rgba(0, 0, 0, 0.12);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 12px 48px rgba(0, 0, 0, 0.16);
    --gradient-dark: linear-gradient(135deg, #ffffff, #f6f7f9);
}

/* Light theme overrides */
html[data-theme="light"] {
    --bg-dark: #ffffff;
    --bg-darker: #f6f7f9;
    --bg-darkest: #ffffff;
    --text-light: #121212;
    --text-secondary: #333333;
    --text-muted: #666666;
    --border-lighter: rgba(0, 0, 0, 0.08);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 12px 48px rgba(0, 0, 0, 0.16);
    --gradient-dark: linear-gradient(135deg, #ffffff, #f6f7f9);
}

/* ---------- Header + sticky behaviour ---------- */
.header {
    background: linear-gradient(135deg, var(--bg-darkest) 0%, rgba(26, 26, 26, 0.98) 100%);
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header--sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ---------- Main nav ---------- */
.nav {
    width: 100%;
    display: flex;
    align-items: center;
}

.header__nav-container {
    width: 100%;
    background: rgba(16, 16, 16, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header__nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px clamp(1rem, 5vw, 80px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav__logo img {
    width: 160px;
    height: auto;
    object-fit: contain;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.nav__logo:hover img {
    filter: brightness(1.2) drop-shadow(0 4px 8px rgba(213, 61, 10, 0.3));
    transform: scale(1.02);
}

.nav__list {
    list-style: none;
    display: flex;
    gap: clamp(1.5rem, 4vw, 48px);
    padding: 0;
    margin: 0;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 12px 16px;
    border-radius: 8px;
    letter-spacing: 0.3px;
}

.nav__link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: linear-gradient(45deg, var(--accent), #ff6b35);
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.nav__link:hover,
.nav__link:focus {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav__link:hover::before,
.nav__item--active .nav__link::before {
    transform: translateX(-50%) scaleX(1);
}

.nav__item--active .nav__link {
    color: var(--accent);
    background: rgba(213, 61, 10, 0.1);
}

.nav__item--mobile-button {
    display: none;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Theme switcher */
.theme-switch {
    position: relative;
    width: 52px;
    height: 28px;
    display: inline-block;
}
.theme-switch input { display: none; }
.theme-slider {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    transition: background 0.3s, border-color 0.3s;
}
.theme-slider::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    top: 50%;
    left: 3px;
    transform: translateY(-50%);
    background: var(--text-light);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transition: left 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}
.theme-switch input:checked + .theme-slider::before {
    left: 27px;
}
html[data-theme="light"] .theme-slider {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
}

/* Add clear visual affordance: moon/sun icons on the knob */
.theme-slider::before { content: '🌙'; }
.theme-switch input:checked + .theme-slider::before { content: '☀️'; }

/* Add small text label next to the switch so users recognize the function */
.theme-switch::after {
    content: 'Dark';
    position: absolute;
    left: calc(100% + 8px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    color: var(--text-muted);
    pointer-events: none;
}
html[data-theme="light"] .theme-switch::after { content: 'Light'; }

/* Light theme specific component fixes */
html[data-theme="light"] .header__nav-container {
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--border-light);
}
html[data-theme="light"] .header {
    background: linear-gradient(135deg, #ffffff 0%, #f6f7f9 100%);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
html[data-theme="light"] .nav__link {
    color: rgba(0,0,0,0.8);
}
html[data-theme="light"] .nav__link:hover,
html[data-theme="light"] .nav__link:focus {
    background: rgba(0,0,0,0.05);
}
html[data-theme="light"] .bottom-nav {
    background: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.12);
}
html[data-theme="light"] .bottom-nav__item { color: rgba(0,0,0,0.6); }

/* Menu page: light theme readability */
html[data-theme="light"] .food-item__ingredients {
    color: rgba(0,0,0,0.7);
}
html[data-theme="light"] .food-item:hover {
    background-color: rgba(0,0,0,0.05);
}
html[data-theme="light"] .nav-categories__item--active .nav-categories__label,
html[data-theme="light"] .nav-categories__item--active .nav-categories__icon i {
    color: #121212;
}

/* Content sections: increase readability in light theme */
html[data-theme="light"] .about-preview__description { color: rgba(0,0,0,0.75); }
html[data-theme="light"] .story__text { color: rgba(0,0,0,0.75); }
html[data-theme="light"] .contact-section__subtitle { color: rgba(0,0,0,0.7); }
html[data-theme="light"] .footer__about-text { color: rgba(0,0,0,0.75); }
html[data-theme="light"] .footer__bottom { color: rgba(0,0,0,0.6); }

/* Maps: use default light tiles in light theme (override inline filters) */
html[data-theme="light"] .home-map iframe,
html[data-theme="light"] .contact-section__map iframe {
    filter: none !important;
}

/* Cards: darken text in light theme for better readability */
html[data-theme="light"] .branch-card__name { color: #121212; }
html[data-theme="light"] .branch-card__info p { color: rgba(0,0,0,0.75); }
html[data-theme="light"] .branch-card__info-label { color: rgba(0,0,0,0.6); }
html[data-theme="light"] .branch-card__info-value { color: #121212; }
html[data-theme="light"] .story__milestone-content p { color: rgba(0,0,0,0.75); }

/* Ensure hero/cta text stays readable in light theme */
html[data-theme="light"] .hero__title,
html[data-theme="light"] .hero__subtitle,
html[data-theme="light"] .hero__button { color: rgba(255,255,255,0.85); }
html[data-theme="light"] .hero__button--secondary { border-color: rgba(255,255,255,0.6); }
html[data-theme="light"] .cta__title,
html[data-theme="light"] .cta__text { color: rgba(255,255,255,0.85); }
html[data-theme="light"] .cta__button { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.45); }
html[data-theme="light"] .cta__button--secondary {
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.45);
    background: rgba(0,0,0,0.18);
}
html[data-theme="light"] .cta__button:hover { border-color: rgba(255,255,255,0.65); }
html[data-theme="light"] .cta__button--secondary:hover {
    background: rgba(0,0,0,0.26);
    border-color: rgba(255,255,255,0.6);
}

/* Slightly darker CTA overlay in light mode to reduce glare */
html[data-theme="light"] .cta {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('../img/interior_02.jpg');
    background-size: cover;
    background-position: center;
}

/* Footer adjustments in light theme */
html[data-theme="light"] .footer {
    background: linear-gradient(180deg, #f6f7f9 0%, #ffffff 100%);
    color: #444;
}
html[data-theme="light"] .footer__section { color: #121212; }
html[data-theme="light"] .footer__title { color: #121212; }
html[data-theme="light"] .footer__link { color: #333; }
html[data-theme="light"] .footer__link:hover { color: var(--accent); }

.nav__cart-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    cursor: pointer;
    position: relative;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav__cart-button:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.nav__cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: var(--text-light);
    font-size: 11px;
    font-weight: 600;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    transform: translate(40%, -40%);
    transition: transform 0.2s;
}

.nav__cart-button:hover .nav__cart-badge {
    transform: translate(40%, -40%) scale(1.1);
}

.nav__button {
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    background: var(--gradient-primary);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(213, 61, 10, 0.25);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav__button:hover::before {
    left: 100%;
}

.nav__button:hover,
.nav__button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 61, 10, 0.4);
    background: var(--gradient-dark);
    border-color: var(--accent);
}

/* Hamburger Menu */
.nav__menu-button {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.nav__menu-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.nav__menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav__menu-icon::before,
.nav__menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.nav__menu-icon::before {
    top: -7px;
}

.nav__menu-icon::after {
    bottom: -7px;
}

/* Mobile menu open state */
.nav__menu-button.active {
    background: rgba(213, 61, 10, 0.1);
    border-color: var(--accent);
}

.nav__menu-button.active .nav__menu-icon {
    background-color: transparent;
}

.nav__menu-button.active .nav__menu-icon::before {
    transform: rotate(45deg);
    top: 0;
    background-color: var(--accent);
}

.nav__menu-button.active .nav__menu-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
    background-color: var(--accent);
}

/* ---------- Food categories nav ---------- */
.categories-title {
    text-align: center;
    color: var(--text-light);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin: 0 0 40px;
    padding-top: 60px;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

.categories-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.categories-wrapper {
    position: relative;
    overflow-x: hidden;
    padding: 30px 0;
    margin: 0 auto 0;
    max-width: 1200px;
    background: var(--gradient-dark);
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    border: 1px solid var(--border-lighter);
    border-bottom: none;
    box-shadow: var(--shadow-light);
}

.categories-icon {
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.categories-icon:first-child {
    left: 0;
    display: none;
    background: linear-gradient(90deg, var(--bg-darker) 70%, transparent);
}

.categories-icon:last-child {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-darker) 70%, transparent);
}

.categories-icon i {
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 2px solid var(--accent);
    color: var(--accent);
    transition: all 0.3s ease;
}

.categories-icon i:hover {
    background: var(--accent);
    color: var(--text-light);
    transform: scale(1.1);
}

.nav-categories__list {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0 60px;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

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

.nav-categories__list.dragging {
    scroll-behavior: auto;
    cursor: grab;
}

.nav-categories__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 18px 28px;
    border-radius: var(--radius-medium);
    background: var(--gradient-dark);
    border: 1px solid var(--border-lighter);
    transition: var(--transition-normal);
    user-select: none;
    flex-shrink: 0;
    min-width: 110px;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.nav-categories__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.nav-categories__item:hover {
    transform: translateY(-3px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-medium);
}

.nav-categories__item:hover::before {
    opacity: 1;
}

.nav-categories__item--active {
    background: var(--gradient-primary);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.nav-categories__item--active::before {
    opacity: 1;
}

.nav-categories__icon {
    font-size: 28px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

.nav-categories__icon i {
    font-size: 20px;
    color: var(--accent);
    transition: var(--transition-normal);
}

.nav-categories__item--active .nav-categories__icon i {
    color: var(--text-light);
}

.nav-categories__label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    white-space: nowrap;
}

.nav-categories__list.dragging .nav-categories__item {
    pointer-events: none;
}

/* ---------- Sections ---------- */
.section {
    display: none;
}

.section--active {
    display: block;
}

/* ---------- Menu section ---------- */
#menu {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 40px 0;
    background-color: var(--bg-darker);
}

.menu-content {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 clamp(1.5rem, 5vw, 80px) clamp(2rem, 4vw, 50px);
    background: var(--bg-darker);
    border-radius: 0 0 var(--radius-large) var(--radius-large);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-lighter);
    border-top: none;
    position: relative;
}

.menu-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
}

.menu__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0 0 30px;
    padding-top: clamp(2rem, 4vw, 50px);
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.2px;
    position: relative;
}

.menu__title-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu__title-icon i {
    font-size: 0.8em;
    color: var(--accent);
}

.menu__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

.menu__sizes {
    text-align: center;
    margin: 0 0 25px;
    color: var(--text-light);
}

/* Food list grid - Google-style */
.food-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    max-width: 800px;
    margin: 0 auto;
}

.food-item {
    display: flex;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
    cursor: pointer;
    background: transparent;
    position: relative;
    min-height: auto;
}

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

.food-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Image styles removed - no longer using images in menu items */

.food-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-right: 20px;
}

.food-item__name {
    margin: 0;
    font-size: 18px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

.food-item__ingredients {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-item__price {
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-light);
    font-size: 16px;
    display: flex;
    align-items: center;
    min-width: 60px;
    justify-content: flex-end;
}

/* ---------- Footer ---------- */
.footer {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-darkest) 100%);
    padding: 100px 0 0;
    margin-top: 80px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 15px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
}

.footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr;
    gap: 50px;
    text-align: left;
}

.footer__section {
    color: var(--text-light);
}

.footer__section--about {
    padding-right: 30px;
}

.footer__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 25px;
    color: #fff;
}

.footer__about-text {
    line-height: 1.7;
    margin: 0;
}

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

.footer__list-item {
    margin-bottom: 15px;
}

.footer__link {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.footer__link:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer__social {
    display: flex;
    gap: 20px;
}

.footer__social-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 22px;
    transition: color 0.3s, transform 0.3s;
}

.footer__social-link:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer__bottom {
    margin-top: 60px;
    padding: 25px 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    color: #8c8c8c;
    font-size: 14px;
}

/* ---------- Home Page ---------- */
/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(217, 72, 15, 0.1) 50%, rgba(0, 0, 0, 0.8) 100%), 
                linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), 
                url('../img/pizza.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* In dark theme, match CTA linear overlay for the hero (video) */
html[data-theme="dark"] .hero::before {
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55));
}

.hero__content {
    max-width: 900px;
    width: 100%;
    padding: clamp(20px, 5vh, 40px) 0;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

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

.hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: var(--text-light);
    margin: 0 0 24px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    color: var(--text-secondary);
    margin: 0 0 48px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__button {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 2px solid transparent;
}

.hero__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.hero__button:hover::before {
    left: 100%;
}

.hero__button--primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 8px 30px rgba(217, 72, 15, 0.4);
}

.hero__button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(217, 72, 15, 0.5);
    border-color: var(--accent-light);
}

.hero__button--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.hero__button--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* About Preview Section */
.about-preview {
    padding: 80px 20px;
    background-color: var(--bg-darker);
}

.about-preview__content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 0 clamp(1rem, 5vw, 80px);
    align-items: center;
    grid-template-areas: "text image";
}

.about-preview__text { grid-area: text; }
.about-preview__image { grid-area: image; }

.about-preview__description {
    color: #8c8c8c;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 30px;
}

.about-preview__link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.about-preview__link:hover {
    color: #c13d0a;
}

.about-preview__image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.cta {
    padding: 80px 20px;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/interior_02.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.cta__content {
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-light);
    margin: 0 0 20px;
}

.cta__text {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0 0 40px;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta__button {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(213, 61, 10, 0.3);
}

.cta__button:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 61, 10, 0.4);
    border-color: var(--accent-light);
}

.cta__button--secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--text-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.1);
}

.cta__button--secondary:hover {
    background: var(--text-light);
    color: var(--bg-darker);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.featured__slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-dark);
    border: 2px solid var(--accent);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    z-index: 2;
    font-size: 18px;
    padding: 0;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.featured__slider-button:hover:not(:disabled) {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(217, 72, 15, 0.4);
    border-color: var(--accent-light);
}

.featured__slider-button:disabled {
    background-color: var(--bg-darker);
    border-color: #666;
    color: #666;
    cursor: not-allowed;
    opacity: 0.5;
    box-shadow: none;
    transform: translateY(-50%);
}

.featured__slider-button--prev {
    left: 10px;
}

.featured__slider-button--next {
    right: 10px;
}

.section__title {
    text-align: center;
    font-size: clamp(2.2rem, 5.5vw, 3.5rem);
    color: var(--text-light);
    margin: 0 auto 60px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Featured Dishes Slider */
.featured-dishes {
    padding: 80px 20px;
    background: var(--bg-darker);
    position: relative;
}

.featured-dishes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(217, 72, 15, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.featured-dishes__content {
    max-width: 800px;
    margin: 0 auto;
}

.featured-dishes__list {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 0;
}



/* Slider navigation removed - now using list layout */

/* Story Section */
.story {
    padding: 80px 20px;
    background-color: var(--bg-darker);
}

.story__header {
    text-align: center;
    margin-bottom: 60px;
}

.story__subtitle {
    font-size: 1.2rem;
    color: var(--accent);
    margin-top: -20px;
}

.story__content {
    max-width: 1200px;
    margin: 0 auto;
}

.story__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.story__text-block {
    padding: 20px;
}

.story__heading {
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.story__text {
    color: #8c8c8c;
    line-height: 1.6;
    font-size: 1.1rem;
}

.story__image-block {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.story__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.story__image:hover {
    transform: scale(1.05);
}

.story__values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 60px 0;
    padding: 40px;
    background-color: var(--bg-dark);
    border-radius: 15px;
}

.story__value-card {
    text-align: center;
    padding: 35px 30px;
    background: var(--gradient-dark);
    border-radius: var(--radius-large);
    transition: var(--transition-normal);
    border: 1px solid var(--border-lighter);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.story__value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.story__value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--border-light);
}

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

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

.story__value-title {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.story__value-text {
    color: #8c8c8c;
    line-height: 1.5;
}

.story__timeline {
    display: grid;
    gap: 40px;
    margin: 80px 0;
    position: relative;
    padding: 0 20px;
}

.story__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--accent);
    opacity: 0.3;
}

.story__milestone {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
}

.story__milestone:nth-child(even) {
    direction: rtl;
}

.story__milestone:nth-child(even) .story__milestone-content {
    direction: ltr;
}

.story__year {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent);
    text-align: right;
    padding-right: 60px;
    position: relative;
}

.story__milestone:nth-child(even) .story__year {
    text-align: left;
    padding-right: 0;
    padding-left: 60px;
}

.story__year::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border-radius: 50%;
}

.story__milestone:nth-child(even) .story__year::after {
    right: auto;
    left: -10px;
}

.story__milestone-content {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 15px;
}

.story__milestone-content h4 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.story__milestone-content p {
    color: #8c8c8c;
    line-height: 1.5;
}

.story__team {
    margin-top: 80px;
}

.story__image-block--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

/* ---------- Contact Page ---------- */
.contact-section {
    padding: 80px 20px;
}

.contact-section__content {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-section__header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-section__subtitle {
    font-size: 1.2rem;
    color: #8c8c8c;
    max-width: 700px;
    margin: -20px auto 0;
}

.contact-section__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 15px;
}

.contact-section__heading {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.contact-section__info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.contact-section__info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    color: #8c8c8c;
    margin-bottom: 20px;
}

.contact-section__info-list i {
    color: var(--accent);
    font-size: 1.5rem;
}

.contact-section__map {
    width: 100%;
    height: 300px;
    background-color: var(--bg-darker);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c8c8c;
}

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-lighter);
    background: var(--gradient-dark);
    color: var(--text-light);
    font-family: inherit;
    transition: var(--transition-normal);
    font-size: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 3px rgba(217, 72, 15, 0.1);
    transform: translateY(-1px);
}

.contact-form__submit {
    width: 100%;
    padding: 16px 30px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(213, 61, 10, 0.3);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.contact-form__submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.contact-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 72, 15, 0.5);
    background: var(--gradient-dark);
    border-color: var(--accent-light);
}

.contact-form__submit:hover::before {
    left: 100%;
}

/* Reservation form submit button styles */
.reservation-form__submit {
    width: 100%;
    padding: 15px 25px;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(213, 61, 10, 0.3);
}

.reservation-form__submit:hover:not(:disabled) {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(217, 72, 15, 0.5);
    border-color: var(--accent-light);
}

.reservation-form__submit:disabled {
    background: linear-gradient(135deg, #666 0%, #555 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.7;
}

.reservation-form__submit:disabled::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--text-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ---------- Responsive Design ---------- */

@media (max-width: 968px) {
    /* Story page responsive */
    .story__main {
        grid-template-columns: 1fr;
    }

    .story__timeline::before {
        left: 0;
    }

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

    .story__year {
        text-align: left;
        padding-right: 0;
        padding-left: 30px;
    }

    .story__year::after {
        right: auto;
        left: -10px;
    }

    .story__milestone:nth-child(even) {
        direction: ltr;
    }

    .story__milestone:nth-child(even) .story__year {
        padding-left: 30px;
    }
}

@media (max-width: 1024px) {
    /* Hide desktop "Reserve a Table" button on tablets and mobile */
    .nav__button {
        display: none;
    }
    
    /* Story Page */
    .story__values {
        gap: 20px;
    }
}

@media (max-width: 800px) {
    /* Nav */
    .nav__logo img {
        width: 120px;
    }
    
    .nav__menu-button {
        display: block;
        z-index: 1001;
    }
    
    .nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-darker);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 12px rgba(0,0,0,0.5);
    }
    
    .nav__list.active {
        right: 0;
    }

    .nav__item--mobile-button {
        display: block;
        margin-top: 1rem;
    }

    .nav__link--button {
        padding: 12px 28px;
        background: var(--accent);
        border: 1px solid var(--accent);
        border-radius: 28px;
        color: var(--text-light);
    }
    
    .nav__link--button:hover {
        background-color: #c13d0a;
        color: var(--text-light);
    }

    /* Footer */
    .footer__content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }

    /* Home Page */
    .about-preview__content {
        grid-template-columns: 1fr;
        grid-template-areas: "text" "image";
        text-align: center;
    }

    .about-preview__image {
        order: 0;
    }

    .featured__grid { /* This class seems unused */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Categories Nav */
    .categories-wrapper {
        padding: 15px 0;
    }

    .nav-categories__list {
        gap: 12px;
        padding: 0 40px;
    }

    .nav-categories__item {
        padding: 10px 14px;
        min-width: 75px;
        flex-shrink: 0;
    }

    .nav-categories__icon {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .nav-categories__label {
        font-size: 11px;
        font-weight: 500;
    }

    .categories-icon {
        width: 50px;
    }

    .categories-icon i {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    /* Menu title */
    .menu__title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        gap: 10px;
        margin: 0 0 15px;
        padding-top: 30px;
    }

    /* Food list - mobile adjustments */
    .food-list {
        max-width: 100%;
        margin: 0;
    }

    .food-item {
        padding: 16px 20px;
    }

    .food-item__name {
        font-size: 16px;
    }

    .food-item__ingredients {
        font-size: 13px;
    }

    .food-item__price {
        font-size: 15px;
    }

    /* Featured Slider */
    .featured__slider-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .featured__slider-button--prev {
        left: 5px;
    }

    .featured__slider-button--next {
        right: 5px;
    }

    /* Featured dishes now use food-item styles from menu */

    /* Story Page */
    .story {
        padding: 60px 15px;
    }

    .story__heading {
        font-size: 1.8rem;
    }

    .story__image-block--grid {
        grid-template-columns: 1fr;
    }

    .story__values {
        gap: 15px;
        padding: 20px;
    }

    .story__value-card {
        padding: 20px;
    }

    /* Contact Page */
    .contact-section__body {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 24px;
    }
    .contact-section__map { height: 240px; }
    .contact-section__map iframe { pointer-events: none; }
    .contact-section__info-list li { align-items: flex-start; }
    .contact-section__info-list a { word-break: break-word; overflow-wrap: anywhere; }

    /* Branches Section */
    .branches {
        padding: 60px 0;
    }

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

    .branch-card {
        padding: 25px 20px;
    }

    .branch-card__actions {
        flex-direction: column;
    }

    .branch-card__button {
        min-width: auto;
    }

    /* Home page map/info: stack and left-align on mobile */
    .branches__map-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    .home-map-info {
        align-items: flex-start !important;
        text-align: left !important;
    }
    .home-map-info h3,
    .home-map-info span,
    .home-map-info a {
        text-align: left !important;
    }
}

@media (max-width: 600px) {
    .hero {
        height: auto;
        min-height: 500px;
        max-height: none;
    }

    .hero__content {
        padding: clamp(60px, 10vh, 80px) 0;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 15px;
    }
    /* Contact Page - small phones */
    .contact-section { padding: 60px 15px; }
    .contact-section__body { padding: 16px; }
    .contact-section__map { height: 200px; }

    .cta__buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Categories Navigation - Small Mobile */
    .categories-wrapper {
        padding: 12px 0;
        margin: 0 auto 1rem;
    }

    .nav-categories__list {
        gap: 8px;
        padding: 0 20px;
    }

    .nav-categories__item {
        padding: 8px 12px;
        min-width: 70px;
        border-radius: 12px;
    }

    .nav-categories__icon {
        font-size: 16px;
        margin-bottom: 3px;
    }

    .nav-categories__label {
        font-size: 10px;
        font-weight: 600;
        white-space: nowrap;
    }

    .categories-icon {
        width: 45px;
    }

    .categories-icon i {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }

    .categories-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
        padding-top: 15px;
        margin-bottom: 20px;
    }

    /* Menu title - smaller for small screens */
    .menu__title {
        font-size: clamp(1.5rem, 7vw, 2rem);
        gap: 8px;
        margin: 0 0 12px;
        padding-top: 20px;
    }

    /* Food items - optimized for small screens */
    .food-list {
        max-width: 100%;
    }

    .food-item {
        padding: 14px 16px;
    }

    .food-item__name {
        font-size: 15px;
    }

    .food-item__ingredients {
        font-size: 12px;
    }

    .food-item__price {
        font-size: 14px;
    }

    /* Menu content padding */
    .menu-content {
        padding: 0 clamp(1rem, 4vw, 20px) clamp(1.5rem, 3vw, 30px);
    }

    /* Food Details Panel - Mobile */
    .food-details-panel {
        padding: 25px 20px 30px;
        max-height: 80vh;
        overflow-y: auto;
    }

    .food-details__content {
        gap: 12px;
    }

    .food-details__close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    /* Food details image removed */

    .food-details__name {
        font-size: 1.6rem;
    }

    .food-details__ingredients {
        font-size: 0.9rem;
    }

    .food-details__description {
        font-size: 1rem;
        line-height: 1.5;
    }

    .food-details__footer {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
    }

    .food-details__price {
        font-size: 1.5rem;
        text-align: center;
    }

    .food-details__order-button {
        width: 100%;
        padding: 14px 24px;
        font-size: 0.9rem;
    }
}

/* Very small mobile devices */
@media (max-width: 480px) {
    /* Categories Navigation - Extra Small Mobile */
    .nav-categories__list {
        gap: 6px;
        padding: 0 15px;
    }

    .nav-categories__item {
        padding: 6px 10px;
        min-width: 60px;
        border-radius: 10px;
    }

    .nav-categories__icon {
        font-size: 14px;
        margin-bottom: 2px;
    }

    .nav-categories__label {
        font-size: 9px;
        font-weight: 600;
    }

    .categories-icon {
        width: 40px;
    }

    .categories-icon i {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .categories-title {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
        margin-bottom: 15px;
    }

    /* Menu title - extra small */
    .menu__title {
        font-size: clamp(1.3rem, 8vw, 1.8rem);
        gap: 6px;
        margin: 0 0 10px;
        padding-top: 15px;
    }

    /* Food items - extra small screens */
    .food-list {
        max-width: 100%;
    }

    .food-item {
        padding: 12px 14px;
    }

    .food-item__name {
        font-size: 14px;
    }

    .food-item__ingredients {
        font-size: 11px;
    }

    .food-item__price {
        font-size: 13px;
    }

    /* Contact Page - extra small */
    .contact-section__map { height: 180px; }

    /* Featured dishes extra small mobile */
    /* Featured dishes now use food-item styles from menu */

    /* Menu content extra small padding */
    .menu-content {
        padding: 0 15px 20px;
    }

    /* Food Details Panel - Extra Small Mobile */
    .food-details-panel {
        padding: 20px 15px 25px;
        max-height: 75vh;
    }

    .food-details__content {
        gap: 10px;
    }

    .food-details__close {
        top: 8px;
        right: 12px;
        font-size: 1.8rem;
        width: 36px;
        height: 36px;
    }

    /* Food details image removed */

    .food-details__name {
        font-size: 1.4rem;
    }

    .food-details__ingredients {
        font-size: 0.85rem;
    }

    .food-details__description {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .food-details__footer {
        gap: 12px;
        margin-top: 12px;
    }

    .food-details__price {
        font-size: 1.3rem;
    }

    .food-details__order-button {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
}

/* Privacy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.privacy-modal:target {
    opacity: 1;
    visibility: visible;
}

.privacy-modal__content {
    background-color: var(--bg-dark);
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transform: translateY(-20px);
    transition: transform 0.3s;
}

.privacy-modal:target .privacy-modal__content {
    transform: translateY(0);
}

.privacy-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.3s;
}

.privacy-modal__close:hover {
    color: var(--accent);
}

/* ---------- Food Details Panel ---------- */
.food-details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.food-details-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--gradient-dark);
    z-index: 1003;
    border-radius: var(--radius-large) var(--radius-large) 0 0;
    box-shadow: var(--shadow-heavy);
    padding: 35px 40px 40px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid var(--border-light);
    border-bottom: none;
    max-height: 90vh;
    overflow-y: auto;
}

.food-details-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--radius-large) var(--radius-large) 0 0;
}

.food-details-panel.active {
    transform: translateY(0);
}

.food-details__content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.food-details__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.food-details__close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
    transform: scale(1.1);
}

/* Food details image removed - no longer using images */

.food-details__name {
    font-size: 2rem;
    color: var(--text-light);
    margin: 0;
}

.food-details__ingredients {
    font-size: 1rem;
    color: #8c8c8c;
    margin: 0;
}

.food-details__description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 10px 0;
}

.food-details__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    width: 100%;
    gap: 20px;
}

.food-details__price {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent);
}

.food-details__order-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: var(--text-light);
    border: 2px solid transparent;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(213, 61, 10, 0.3);
}

.food-details__order-button:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 61, 10, 0.4);
    border-color: var(--accent-light);
}

/* ---------- Cart Panel ---------- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1004;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-dark);
    z-index: 1005;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-light);
}

.cart-panel.active {
    transform: translateX(0);
}

.cart-panel__header {
    position: relative;
    padding: 25px 25px 20px;
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-light);
}

.cart-panel__title {
    font-size: 1.6rem;
    color: var(--text-light);
    font-weight: 600;
    margin: 0;
}

.cart-panel__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 5px;
    transition: color 0.3s;
}

.cart-panel__close:hover {
    color: var(--text-light);
}

.cart-panel__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item {
    display: flex;
    gap: 12px;
    align-items: center;
    background: var(--bg-darker);
    border: 1px solid var(--border-lighter);
    padding: 12px;
    border-radius: 8px;
    transition: var(--transition-normal);
}

/* Cart item image styles removed - no longer using images */

.cart-item__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.cart-item__name {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.2;
    font-weight: 500;
}

.cart-item__controls {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 16px;
    width: fit-content;
}

.cart-item__qty-btn {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50%;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item__qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cart-item__qty {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 20px;
    text-align: center;
}

.cart-item__price {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    white-space: nowrap;
}

.cart-item__remove {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
    line-height: 1;
}

.cart-item__remove:hover {
    color: #ff6b6b;
}

.cart-panel__empty-message {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 40px;
    font-size: 1rem;
    padding: 20px;
}

.cart-panel__footer {
    border-top: 1px solid var(--border-lighter);
    background: var(--bg-darker);
    padding: 20px;
}

.cart-panel__total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-light);
}

.cart-panel__checkout-button {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    text-align: center;
    display: block;
}

.cart-panel__checkout-button:hover {
    background: var(--accent-dark);
}

/* Branches Section */
.branches {
    padding: 100px 0;
    background: var(--bg-darker);
    position: relative;
}

.branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 80%, rgba(217, 72, 15, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.branches__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.branches__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
    font-weight: 400;
}

.branches__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

/* Refined Card Design */
.branch-card {
    background: var(--gradient-dark);
    border-radius: var(--radius-large);
    border: 1px solid var(--border-lighter);
    transition: var(--transition-normal);
    text-align: left;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-normal);
}

.branch-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-medium);
}

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

/* Header Sections - Supporting both old and new structures */
.branch-card__header,
.branch-card__hero {
    padding: 24px 28px 20px 28px;
    border-bottom: 1px solid var(--border-lighter);
}

.branch-card__hero {
    background: rgba(217, 72, 15, 0.03);
    position: relative;
}

.branch-card__hero-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.branch-card__icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-card__icon i {
    font-size: 16px;
    color: var(--text-light);
}

.branch-card__status-wrapper,
.branch-card__header {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.branch-card__name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.branch-card__status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.branch-card__status i {
    font-size: 8px;
}

.branch-card__status--open {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.branch-card__status--open i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.branch-card__status--coming-soon {
    background: rgba(255, 193, 7, 0.2);
    color: #FFC107;
    border: 1px solid #FFC107;
}

/* Card Info - Supporting both old and new structures */
.branch-card__body,
.branch-card__info {
    padding: 28px;
    margin-bottom: 25px;
}

.branch-card__body {
    margin-bottom: 0;
}

/* New structure */
.branch-card__info-grid {
    margin-bottom: 32px;
}

.branch-card__info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 8px;
}

.branch-card__info-item:last-child {
    margin-bottom: 0;
}

.branch-card__info-icon {
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.branch-card__info-icon i {
    font-size: 14px;
    color: var(--accent);
}

.branch-card__info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.branch-card__info-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.branch-card__info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.4;
}

/* Old structure compatibility */
.branch-card__info p {
    display: flex;
    align-items: center;
    margin: 12px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.branch-card__info i {
    width: 18px;
    margin-right: 16px;
    color: var(--accent);
    font-size: 14px;
}

/* Actions */
.branch-card__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 0 28px 28px 28px;
}

.branch-card__button {
    flex: 1;
    min-width: 120px;
    padding: 12px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
}

.branch-card__button--primary,
.branch-card__button:not(.branch-card__button--secondary):not(.branch-card__button--disabled) {
    background: var(--gradient-primary);
    color: var(--text-light);
    box-shadow: 0 3px 10px rgba(213, 61, 10, 0.3);
}

.branch-card__button--primary:hover,
.branch-card__button:not(.branch-card__button--secondary):not(.branch-card__button--disabled):hover {
    background: var(--gradient-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(213, 61, 10, 0.4);
    border-color: var(--accent-light);
}

.branch-card__button--secondary {
    background: rgba(213, 61, 10, 0.1);
    color: var(--accent);
    border: 2px solid var(--accent);
    backdrop-filter: blur(10px);
    box-shadow: 0 3px 10px rgba(213, 61, 10, 0.2);
}

.branch-card__button--secondary:hover {
    background: var(--gradient-primary);
    color: var(--text-light);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(213, 61, 10, 0.4);
}

/* Disabled States */
.branch-card--disabled {
    opacity: 0.7;
}

.branch-card--disabled:hover {
    transform: none;
    border-color: var(--border-lighter);
    box-shadow: var(--shadow-light);
}

.branch-card--disabled .branch-card__hero {
    background: rgba(100, 100, 100, 0.1);
}

.branch-card--disabled .branch-card__info-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.branch-card--disabled .branch-card__name,
.branch-card--disabled .branch-card__info {
    opacity: 0.8;
}

.branch-card__button--reserve.selected {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: var(--text-light) !important;
}

.branch-card__button--reserve.selected:hover {
    background: #45a049 !important;
}

.branch-card__button--contact.selected {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
}

.branch-card__button--contact.selected:hover {
    background-color: #c13d0a;
    border-color: #c13d0a;
}

.branch-card__button--disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.selected-location-display {
    margin: 20px 0;
}

/* Bottom Mobile Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darkest);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 6px 4px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border-radius: 12px;
    margin: 0 4px;
    min-height: 52px;
}

.bottom-nav__item i {
    font-size: 18px;
    margin-bottom: 2px;
    transition: all 0.3s ease;
}

.bottom-nav__item span {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.bottom-nav__item:hover,
.bottom-nav__item--active {
    color: var(--accent);
    background: rgba(213, 61, 10, 0.1);
    transform: translateY(-1px);
}

.bottom-nav__item--active i {
    color: var(--accent);
    transform: scale(1.1);
}

/* Show bottom nav on mobile and tablet */
@media (max-width: 1024px) {
    .bottom-nav {
        display: flex;
    }
    
    /* Add bottom padding to body to account for bottom nav */
    body {
        padding-bottom: 70px;
    }
    
    /* Hide hamburger menu button since we have bottom nav */
    .nav__menu-button {
        display: none;
    }
    
    /* Hide desktop nav on mobile and tablet since we have bottom nav */
    .nav__list {
        position: static;
        width: auto;
        height: auto;
        background: none;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        transition: none;
        z-index: auto;
        box-shadow: none;
        display: none;
    }
}

/* Tablet-specific adjustments for bottom nav */
@media (min-width: 801px) and (max-width: 1024px) {
    .bottom-nav__item {
        padding: 8px 6px;
        margin: 0 6px;
        min-height: 56px;
    }
    
    .bottom-nav__item i {
        font-size: 20px;
        margin-bottom: 3px;
    }
    
    .bottom-nav__item span {
        font-size: 11px;
    }
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 1;
}


/* Story images square ratio */
.story .story__image {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Story lead image: constrain height and disable forced square ratio */
.story .story__image-block:first-of-type .story__image {
    aspect-ratio: auto;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 600px) {
    .story .story__image-block:first-of-type .story__image {
        max-height: 220px;
    }
}

/* Story page: infinite horizontal scroller (scoped) */
.story-scroller {
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 28px 0 8px;
    height: 260px;
}

.story-scroller__rail {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    width: max-content;
    gap: 20px;
    animation: story-marquee 45s linear infinite;
    will-change: transform;
}

/* When JS-driven marquee is enabled, disable CSS animation */
.story-scroller.js-marquee .story-scroller__rail {
    animation: none !important;
}

.story-scroller__inner {
    display: inline-flex;
    gap: 20px;
}

.story-scroller img {
    height: 260px;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

/* Translate the rail by half its width (two duplicated groups) */
@keyframes story-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Pause animation on hover */
.story-scroller:hover .story-scroller__rail { animation-play-state: paused; }

@media (max-width: 768px) {
    .story-scroller { height: 200px; }
    .story-scroller img { height: 200px; }
}

/* Home scroller spacing */
.home-scroller { margin-top: 60px; margin-bottom: 56px; padding: 0 10px; }

/* Slight breathing room on story scroller */
.story-scroller { padding: 0 10px; }

/* Home info blocks: tighter vertical rhythm */
.home-map-info > div { margin-bottom: 8px; }

/* Open/Closed indicator styling */
#open-status-indicator { font-size: 14px; }
#open-status { font-weight: 600; }

#open-status-container.open #open-status-indicator { color: #2ecc71; }
#open-status-container.open #open-status { color: #2ecc71; }

#open-status-container.closed #open-status-indicator { color: #e74c3c; }
#open-status-container.closed #open-status { color: #e74c3c; }


/* Disable ordering UI site-wide */
.nav__cart-button,
.nav__cart-badge,
.cart-overlay,
.cart-panel,
.food-details__order-button,
.cart-panel__checkout-button {
    display: none !important;
}
