/* ============================================
   ALCHEMY CAFE BAR — GLOBAL STYLES
   Mediterranean Seaside Design
   ============================================ */

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

:root {
    /* Color Palette — Warm Mediterranean (like Armellada) */
    --primary-color: #6b5b4a;      /* Warm brown */
    --secondary-color: #8b7355;    /* Lighter brown */
    --accent-gold: #d4a574;        /* Warm gold */
    --cream-bg: #f5f1e8;           /* Cream background */
    --light-bg: #faf8f5;           /* Very light cream */
    --text-dark: #3a3a3a;          /* Dark brown text */
    --text-light: #ffffff;         /* White text */
    --border-light: #ddd8d0;       /* Light border */
    --accent-color: #e8b4a0;       /* Peachy accent */
    --primary-blue: #6b5b4a;
    --secondary-blue: #8b7355;
    --accent-white: #faf8f5;
    --dark-bg: #493c31;
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.navbar {
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--light-bg) 100%);
    color: var(--text-dark);
    padding: var(--spacing-sm) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.logo h1 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 300;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

/* Social Links & Language Selector */
.nav-social {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.social-icon {
    font-size: 1.3rem;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.language-selector {
    position: relative;
}

.language-toggle {
    background: rgba(107, 91, 74, 0.1);
    color: var(--text-dark);
    border: 1px solid var(--primary-color);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.language-toggle:hover {
    background: rgba(107, 91, 74, 0.2);
}

.language-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--cream-bg);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    min-width: 120px;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-menu.active {
    display: flex;
}

.lang-option {
    background: transparent;
    color: var(--text-dark);
    border: none;
    padding: var(--spacing-sm);
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.lang-option:hover {
    background: rgba(107, 91, 74, 0.1);
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: min(720px, 82vh);
    min-height: 540px;
    overflow: hidden;
    margin-top: 0;
    background: var(--cream-bg);
}

.slideshow-container {
    position: absolute;
    top: 2rem;
    right: clamp(2rem, 6vw, 7rem);
    height: calc(100% - 4rem);
    aspect-ratio: 4 / 5;
    max-width: 43%;
    overflow: hidden;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, var(--cream-bg) 0%, var(--light-bg) 100%);
    box-shadow: 0 18px 44px rgba(73, 60, 49, 0.16);
    touch-action: pan-y;
}

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fade 1s;
}

.slide.active {
    display: block;
}

.slide img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide img.is-loaded {
    display: block;
}

@keyframes fade {
    from { opacity: 0.8; }
    to { opacity: 1; }
}

.hero-overlay {
    position: relative;
    width: 56%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2rem 1rem clamp(2rem, 6vw, 7rem);
    z-index: 10;
}

.hero-content {
    width: min(100%, 620px);
    text-align: left;
    color: var(--text-dark);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.hero-social {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-md);
}

.social-link {
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}

.social-link:hover {
    transform: scale(1.2) rotateY(10deg);
    filter: drop-shadow(0 0 8px rgba(212, 165, 116, 0.65));
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    padding: 0.55rem 0.9rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(107, 91, 74, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: rgba(107, 91, 74, 0.1);
    transform: translateY(-2px);
}

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

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-blue);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background: linear-gradient(135deg, #f9f9f9 0%, var(--accent-white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    align-items: center;
}

.about-text p {
    margin-bottom: var(--spacing-md);
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.hours-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hours-box h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
}

.hours-time {
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.highlight {
    text-align: center;
    padding: var(--spacing-md);
    background: white;
    border-radius: 8px;
    border-top: 3px solid var(--accent-gold);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.highlight .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.highlight h3 {
    font-size: 1.1rem;
    color: var(--primary-blue);
}

/* ============================================
   MENU SECTION
   ============================================ */

.menu-section {
    background: white;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.menu-tab {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    background: var(--primary-blue);
    color: var(--text-light);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--accent-gold) 0%, #b88756 100%);
    color: var(--text-dark);
    border-color: var(--accent-gold);
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.menu-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-gold);
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
}

.menu-item-price {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
}

.menu-item-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery-section {
    background: linear-gradient(135deg, #f9f9f9 0%, var(--accent-white) 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 5;
    background: var(--border-light);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* ============================================
   REVIEWS SECTION
   ============================================ */

.reviews-section {
    background: white;
}

.reviews-stats {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.rating-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rating-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: #fff1d6;
    margin-bottom: var(--spacing-xs);
}

.rating-stars {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.rating-source {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

.reviews-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.review-card {
    background: white;
    border-left: 4px solid var(--accent-gold);
    padding: var(--spacing-md);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-author {
    font-weight: 600;
    color: var(--primary-blue);
}

.review-rating {
    color: var(--accent-gold);
    font-size: 0.9rem;
}

.review-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.review-date {
    font-size: 0.8rem;
    color: #999;
}

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

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    background: linear-gradient(135deg, #f9f9f9 0%, var(--accent-white) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contact-info {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--primary-blue);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-info p {
    color: #666;
    line-height: 1.8;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.social-links a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--text-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 165, 116, 0.3);
}

.map-container {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container h3 {
    color: var(--primary-blue);
    font-family: var(--font-display);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.map-frame {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 8px;
    background: #e9e1d4;
}

.map-link {
    margin-top: 0.75rem;
}

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

.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: var(--spacing-lg) 0;
    text-align: center;
    margin-top: var(--spacing-xl);
}

.footer p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

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

/* ============================================
   ANIMATIONS & TRANSITIONS
   ============================================ */

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

/* Alchemy warm menu and accessible controls */
    .navbar-content {
        gap: 1rem;
    }

    .nav-right {
        gap: clamp(0.75rem, 2vw, 2rem);
    }

    .nav-links {
        gap: clamp(0.75rem, 1.7vw, 1.5rem);
    }

    .language-selector {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

    .nav-social {
        gap: 0.65rem;
    }

    .social-icon {
        display: inline-flex;
        width: 1.45rem;
        height: 1.45rem;
        align-items: center;
        justify-content: center;
    }

    .social-icon svg,
    .language-toggle svg {
        display: block;
        width: 100%;
        height: 100%;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .social-icon:nth-child(2) svg {
        fill: currentColor;
        stroke: none;
    }

    .social-icon:nth-child(2) svg path {
        fill: currentColor;
    }

    .language-toggle {
        display: inline-flex;
        width: 2.5rem;
        height: 2.5rem;
        padding: 0.55rem;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .language-menu {
        top: calc(100% + 0.5rem);
        right: 0;
        min-width: 11rem;
        border-radius: 0.65rem;
        overflow: hidden;
    }

    .lang-option {
        padding: 0.65rem 0.8rem;
    }

    .hero:not(.has-photos) .slideshow-container {
        display: none;
    }

    .hero:not(.has-photos) {
        background:
            radial-gradient(ellipse at 78% 22%, rgba(232, 180, 160, 0.28), transparent 34%),
            linear-gradient(135deg, #eee4d5, #f8f4ec 58%, #e4d2bc);
    }

    .hero:not(.has-photos) .hero-overlay {
        width: 100%;
        background: transparent;
        justify-content: center;
        padding: 2rem;
    }

    .hero:not(.has-photos) .hero-content {
        color: var(--text-dark);
        text-align: center;
    }

    .hero:not(.has-photos) .hero-title {
        color: var(--primary-color);
        text-shadow: none;
    }

    .hero:not(.has-photos) .hero-subtitle {
        color: #51483e;
        text-shadow: none;
    }

    .hero.has-photos .hero-overlay {
        background: transparent;
    }

    .hero.has-photos .hero-title {
        color: var(--primary-color);
        text-shadow: none;
    }

    .hero.has-photos .hero-subtitle {
        color: #51483e;
        text-shadow: none;
    }

    .menu-section {
        background: var(--cream-bg);
    }

    .reviews-section,
    .gallery-section,
    .contact-section {
        background: var(--cream-bg);
    }

    .menu-categories {
        display: block;
        column-count: 2;
        column-gap: 1.25rem;
    }

    .menu-categories.is-single {
        column-count: 1;
    }

    .menu-featured {
        display: grid;
        grid-template-columns: minmax(250px, 0.9fr) 1.1fr;
        overflow: hidden;
        margin-bottom: 1.5rem;
        background: var(--light-bg);
        border: 1px solid var(--border-light);
        border-radius: 0.7rem;
        box-shadow: 0 8px 22px rgba(73, 60, 49, 0.07);
    }

    .menu-featured-image {
        min-height: 280px;
        background: #e6d8c6;
    }

    .menu-featured-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 280px;
        object-fit: cover;
        object-position: center;
    }

    .menu-featured-copy {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: clamp(1.5rem, 4vw, 3rem);
    }

    .menu-featured-label {
        margin-bottom: 0.6rem;
        color: #8b7355;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }

    .menu-featured-copy h3 {
        margin-bottom: 0.75rem;
        color: var(--primary-color);
        font-family: var(--font-display);
        font-size: clamp(1.5rem, 2.3vw, 2.1rem);
    }

    .menu-featured-copy p {
        margin-bottom: 1rem;
        color: #71675c;
        line-height: 1.7;
    }

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

    .menu-category {
        display: block;
        margin-bottom: 1.25rem;
        overflow: hidden;
        break-inside: avoid;
        background: var(--light-bg);
        border: 1px solid var(--border-light);
        border-radius: 0.6rem;
        box-shadow: 0 8px 22px rgba(73, 60, 49, 0.06);
    }

    .menu-category h3 {
        padding: 1rem 1.25rem;
        color: var(--primary-color);
        background: #eee5d9;
        border-bottom: 1px solid var(--border-light);
        font-family: var(--font-display);
        font-size: 1.3rem;
    }

    .menu-table {
        width: 100%;
        border-collapse: collapse;
    }

    .menu-table td {
        padding: 0.9rem 1.25rem;
        vertical-align: top;
        border-bottom: 1px solid #eee9e1;
    }

    .menu-table tr:last-child td {
        border-bottom: 0;
    }

    .menu-table .menu-name {
        display: block;
        color: var(--text-dark);
        font-weight: 600;
    }

    .menu-table .menu-description {
        display: block;
        margin-top: 0.2rem;
        color: #71675c;
        font-size: 0.88rem;
        line-height: 1.5;
    }

    .menu-table .menu-price {
        width: 1%;
        padding-left: 0.5rem;
        color: var(--primary-color);
        font-weight: 600;
        white-space: nowrap;
        text-align: right;
    }

    .menu-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        margin-top: 1.4rem;
    }

    .menu-note {
        margin: 0;
        color: #71675c;
    }

    .rating-box {
        background: linear-gradient(135deg, #6b5b4a 0%, #8b7355 100%);
    }

    .rating-stars {
        color: #f3cf91;
        letter-spacing: 0.12em;
    }

    .rating-star {
        display: inline-block;
        color: #f3cf91;
    }

    .rating-star.empty {
        color: rgba(255, 255, 255, 0.35);
    }

    .rating-star.partial {
        background: linear-gradient(90deg, #f3cf91 var(--fill), rgba(255, 255, 255, 0.35) var(--fill));
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

    .reviews-empty {
        grid-column: 1 / -1;
        color: #71675c;
        text-align: center;
    }

    .review-card {
        border-left-color: var(--accent-gold);
    }

    .review-author,
    .contact-info h3,
    .map-container h3,
    .highlight h3 {
        color: var(--primary-color);
    }

    .review-text,
    .contact-info p {
        color: #51483e;
    }

    .footer {
        background: #493c31;
        color: #fffaf2;
    }

    .footer p {
        color: #fffaf2;
    }

.fade-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* Smooth page transitions */
body {
    animation: fadeInPage 0.5s ease-out;
}

@keyframes fadeInPage {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   MENU ACCORDION & SLIDESHOW DOTS
   ============================================ */

.menu-category summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1.25rem;
    list-style: none;
    cursor: pointer;
    background: #eee5d9;
    border-bottom: 1px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.menu-category summary::-webkit-details-marker {
    display: none;
}

.menu-category summary h3 {
    flex: 1;
    padding: 0;
    background: none;
    border: 0;
    font-size: 1.2rem;
}

.menu-category[open] summary {
    border-bottom-color: var(--border-light);
}

.menu-count {
    min-width: 1.6rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(107, 91, 74, 0.12);
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}

.menu-category summary::after {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.menu-category[open] summary::after {
    transform: rotate(-135deg);
}

.slide-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.6rem;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.slide-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(73, 60, 49, 0.35);
    cursor: pointer;
}

.slide-dot.active {
    background: var(--primary-color);
}

/* ============================================
   DISH PHOTOS IN THE MENU
   ============================================ */

.menu-dish {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.menu-dish-text {
    flex: 1;
    min-width: 0;
}

.menu-table tr.has-photo {
    cursor: pointer;
}

.menu-thumb {
    flex: 0 0 auto;
    width: 6.5rem;
    height: 5rem;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0.6rem;
    background: #e6d8c6;
    box-shadow: 0 2px 8px rgba(73, 60, 49, 0.18);
    cursor: zoom-in;
    -webkit-tap-highlight-color: transparent;
}

.menu-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.dish-dialog {
    width: min(92vw, 520px);
    max-height: 90vh;
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 0.9rem;
    background: var(--light-bg);
    color: var(--text-dark);
    box-shadow: 0 24px 60px rgba(30, 22, 15, 0.45);
}

.dish-dialog::backdrop {
    background: rgba(40, 30, 22, 0.62);
}

.dish-dialog img {
    display: block;
    width: 100%;
    height: auto;
    background: #e6d8c6;
}

.dish-dialog-body {
    padding: 1rem 1.15rem 1.2rem;
}

.dish-dialog-body h3 {
    margin-bottom: 0.4rem;
    color: var(--primary-color);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.dish-dialog-body p {
    margin-bottom: 0.6rem;
    color: #51483e;
    font-size: 0.92rem;
    line-height: 1.55;
}

.dish-dialog-price {
    color: var(--primary-color);
    font-weight: 700;
}

.dish-dialog-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-dark);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

body:has(.dish-dialog[open]) {
    overflow: hidden;
}

/* ============================================
   MENU FILTER, HERO RATING, QUICK ACTIONS
   ============================================ */

[hidden] {
    display: none !important;
}

.menu-filter-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.menu-filter {
    position: relative;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.menu-filter::-webkit-scrollbar {
    display: none;
}

/* Soft edges show that the row continues; arrows appear only where there is more to see. */
.menu-filter-wrap::before,
.menu-filter-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0.25rem;
    z-index: 1;
    width: 2.2rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.menu-filter-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--cream-bg), rgba(245, 241, 232, 0));
}

.menu-filter-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--cream-bg), rgba(245, 241, 232, 0));
}

.menu-filter-wrap.can-scroll-prev::before,
.menu-filter-wrap.can-scroll-next::after {
    opacity: 1;
}

.menu-filter-arrow {
    position: absolute;
    top: 0;
    z-index: 2;
    display: none;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0 0 0.15rem;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary-color);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(73, 60, 49, 0.15);
}

.menu-filter-arrow.prev {
    left: 0;
}

.menu-filter-arrow.next {
    right: 0;
}

@media (hover: hover) and (pointer: fine) {
    .menu-filter {
        cursor: grab;
    }

    .menu-filter-wrap.can-scroll-prev .menu-filter-arrow.prev,
    .menu-filter-wrap.can-scroll-next .menu-filter-arrow.next {
        display: block;
    }
}

.menu-back {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
}

.review-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.6rem;
    color: #8a7f72;
    font-size: 0.82rem;
}

.review-source {
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(107, 91, 74, 0.1);
    font-weight: 600;
}

.menu-chip {
    flex: 0 0 auto;
    padding: 0.45rem 0.85rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--light-bg);
    color: var(--text-dark);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.menu-chip.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--text-light);
}

.hero-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-decoration: none;
}

.hero-rating-star {
    color: #c98f2b;
}

.quick-actions {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   PHONE LAYOUT (mobile first priority)
   ============================================ */

@media (max-width: 768px) {
    body {
        padding-bottom: calc(3.6rem + env(safe-area-inset-bottom));
    }

    .quick-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 200;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding-bottom: env(safe-area-inset-bottom);
        background: var(--light-bg);
        border-top: 1px solid var(--border-light);
        box-shadow: 0 -4px 14px rgba(73, 60, 49, 0.12);
    }

    .quick-actions a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.15rem;
        min-height: 3.4rem;
        color: var(--primary-color);
        font-size: 0.72rem;
        font-weight: 600;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .quick-actions svg {
        width: 1.35rem;
        height: 1.35rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .hero-buttons #callBtn,
    .hero-buttons #directionsBtn {
        display: none;
    }

    .hero-rating {
        margin-bottom: 0.7rem;
    }

    .map-frame {
        height: 280px;
    }

    .map-container {
        padding: 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 2rem 0;
    }

    .section-title {
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        font-size: 1.6rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-content {
        flex-wrap: wrap;
        flex-direction: row;
        gap: 0.4rem 0.75rem;
    }

    .nav-right {
        display: contents;
    }

    .logo {
        order: 1;
    }

    .logo h1 {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }

    .tagline {
        display: none;
    }

    .language-selector {
        order: 2;
        margin-left: auto;
        gap: 0.6rem;
    }

    .language-toggle {
        width: 2.25rem;
        height: 2.25rem;
    }

    .nav-links {
        order: 3;
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
    }

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

    .nav-links a {
        display: block;
        padding: 0.35rem 0.75rem;
        border: 1px solid var(--border-light);
        border-radius: 6px;
        background: var(--light-bg);
        font-size: 0.82rem;
        white-space: nowrap;
    }

    .hero {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 0;
        padding: 1rem 1rem 1.25rem;
    }

    .hero-overlay {
        order: 1;
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0 0 1rem;
        justify-content: center;
    }

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

    .hero-title {
        margin-bottom: 0.2rem;
        font-size: 2.3rem;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        margin-bottom: 0.9rem;
        font-size: 1rem;
    }

    .hero-buttons {
        margin-bottom: 0;
        justify-content: center;
        gap: 0.5rem;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
        padding: 0.6rem 0.7rem;
        font-size: 0.8rem;
    }

    .hero:not(.has-photos) .hero-overlay {
        min-height: 0;
        padding: 1.5rem 0;
    }

    .slideshow-container {
        position: relative;
        inset: auto;
        order: 2;
        width: min(72vw, 300px);
        height: auto;
        max-width: none;
        margin: 0 auto;
        border-radius: 0.8rem;
    }

    .btn {
        width: auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.25rem;
    }

    .about-text p {
        margin-bottom: 0.7rem;
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .hours-box {
        padding: 1.1rem;
    }

    .menu-categories {
        column-count: 1;
    }

    .menu-category {
        margin-bottom: 0.6rem;
    }

    .menu-featured {
        grid-template-columns: 110px 1fr;
        margin-bottom: 0.9rem;
    }

    .menu-featured-image,
    .menu-featured-image img {
        height: 100%;
        min-height: 0;
        max-height: none;
    }

    .menu-featured-copy {
        padding: 0.8rem 0.9rem;
    }

    .menu-featured-label {
        margin-bottom: 0.2rem;
        font-size: 0.68rem;
    }

    .menu-featured-copy h3 {
        margin-bottom: 0.3rem;
        font-size: 1.1rem;
    }

    .menu-featured-copy p {
        display: -webkit-box;
        margin-bottom: 0.4rem;
        overflow: hidden;
        font-size: 0.8rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .menu-category summary {
        min-height: 3rem;
        padding: 0.7rem 1rem;
    }

    .menu-category summary h3 {
        font-size: 1.05rem;
    }

    .menu-table td {
        padding: 0.65rem 1rem;
    }

    .menu-dish {
        gap: 0.65rem;
    }

    .menu-thumb {
        width: 5.2rem;
        height: 4.2rem;
    }

    .menu-table tr.has-photo .menu-description {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }

    .menu-table .menu-description {
        font-size: 0.8rem;
    }

    .menu-actions {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 0.75rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .rating-box {
        min-width: 0;
        width: 100%;
        padding: 1.25rem;
    }

    .reviews-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-info {
        padding: 0.9rem 1rem;
    }

    .contact-info h3 {
        margin-bottom: 0.3rem;
        font-size: 1.05rem;
    }

    .contact-info p {
        line-height: 1.5;
    }

    .review-card {
        padding: 1rem;
    }
}
