/* ==========================================================================
   CSS Variables & Base Reset
   ========================================================================== */
:root {
    /* Color Palette - Warm, Wood, Cream */
    --primary: #D35400;
    /* Warm burnt orange */
    --primary-hover: #E67E22;
    --secondary: #5C4033;
    /* Dark brown wood tone */
    --bg-main: #FAFAF8;
    /* Soft cream background */
    --bg-light: #F5EFEB;
    /* Slightly darker cream for alternate sections */
    --bg-dark: #2C1E16;
    /* Very dark rich brown for footer/contact */

    --text-main: #3E2723;
    --text-muted: #795548;
    --text-light: #FDFBF7;

    --card-bg: #FFFFFF;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    --shadow-sm: 0 2px 8px rgba(92, 64, 51, 0.08);
    --shadow-md: 0 4px 16px rgba(92, 64, 51, 0.12);
    --shadow-hover: 0 10px 25px rgba(211, 84, 0, 0.15);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--secondary);
    margin-bottom: var(--spacing-sm);
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: var(--bg-light);
}

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

.color-primary {
    color: var(--primary) !important;
}

.section-title {
    font-size: 2.5rem;
    text-align: inherit;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    margin: 1rem 0 2rem;
}

.text-center .divider {
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 84, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(211, 84, 0, 0.5);
    color: white;
}

.btn-outline {
    background-color: transparent;
    border-color: white;
    color: white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--secondary);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: 0.5rem 0;
    box-sizing: border-box;
}

.header.scrolled {
    padding: 0.2rem 0;
    box-shadow: var(--shadow-md);
}

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

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: height var(--transition-normal);
}

.header.scrolled .logo-img {
    height: 40px;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

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

.header-cta .phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    transition: all var(--transition-fast);
}

.header-cta .phone-link:hover {
    background-color: var(--primary);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* Modern mobile-friendly unit */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    /* Hero Image setup */
    background: url('Images/patoul casei.jpeg') center/cover no-repeat fixed;
    margin-top: 0;
    padding-top: 100px; /* Increased offset for better spacing */
    padding-bottom: 60px; /* Ensure content doesn't hit the bottom edge */
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Switched to a radial gradient for a spotlight effect on the center text */
    background: radial-gradient(circle at center, rgba(44, 30, 22, 0.4) 0%, rgba(26, 17, 13, 0.85) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 4vh, 3rem); /* Dynamic gap based on height */
    animation: heroFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
}

.hero-logo {
    width: clamp(120px, 20vh, 180px); /* Scale based on viewport height */
    margin-bottom: 0; /* Handled by container gap */
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.6));
}

.hero-kicker {
    font-family: var(--font-body);
    color: var(--primary);
    font-size: clamp(0.9rem, 1.5vh, 1.15rem);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.2rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-title {
    color: white;
    font-size: clamp(2rem, 8vh + 2vw, 3.8rem); /* Mix of height and width */
    line-height: 1.1;
    margin-bottom: 0.8rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vh + 1vw, 1.3rem);
    margin-bottom: 0; /* Handled by gap */
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 600px;
    line-height: 1.4;
}

.btn-glow {
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-glow:hover::after {
    opacity: 1;
    transform: scale(1);
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-bottom: 1.5rem; /* Reduced to leave breathing room for phone card */
    flex-wrap: wrap;
}

/* Phone Card Redesign */
.hero-phone-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2.5rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    cursor: pointer; /* Suggests the whole block is implicitly related to calling */
}

.hero-phone-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(211, 84, 0, 0.2);
    border-color: rgba(211, 84, 0, 0.3);
}

.phone-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-numbers-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.phone-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.85;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.9);
}

.phone-number {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 7vw, 2.4rem);
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 2px 15px rgba(211, 84, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.phone-number:hover {
    color: var(--primary-hover);
    text-shadow: 0 2px 20px rgba(211, 84, 0, 0.6);
}

.phone-icon-pulse {
    animation: phonePulse 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
    color: white; /* Make icon white to contrast against orange text */
    font-size: 1.6rem;
}

@keyframes phonePulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--secondary);
}

.feature-icon {
    color: var(--primary);
    background-color: rgba(211, 84, 0, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.2rem;
}

.about-image-wrapper {
    position: relative;
    padding-bottom: 2rem;
    padding-right: 2rem;
}

.about-img {
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.main-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.float-img {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    border: 8px solid var(--bg-main);
    transform: translateY(10%);
}

/* ==========================================================================
   Menu Section
   ========================================================================== */
.menu-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.menu-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
    background-color: var(--card-bg);
    padding: 1.5rem 0;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.menu-categories {
    display: flex;
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
}

/* Custom Scrollbar for Menu Categories */
.menu-categories::-webkit-scrollbar {
    width: 4px;
}

.menu-categories::-webkit-scrollbar-thumb {
    background-color: var(--bg-light);
    border-radius: 4px;
}

.category-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.category-btn:hover {
    color: var(--primary);
    background-color: var(--bg-main);
}

.category-btn.active {
    color: var(--primary);
    background-color: #FFF3EB;
    border-left-color: var(--primary);
    font-weight: 600;
}

.menu-category-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.menu-category-section.active {
    display: block;
}

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

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

.category-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    display: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.menu-item-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.2rem;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-sm);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.menu-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-bottom-color: var(--primary);
}

.menu-item-info {
    flex: 1;
    padding-right: 1rem;
}

.menu-item-name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.menu-item-weight {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.menu-item-price {
    display: flex;
    align-items: flex-end;
    min-width: 80px;
    justify-content: flex-end;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.gallery-swipe-hint {
    display: none;
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
    animation: swipePulse 2s infinite;
}

@keyframes swipePulse {
    0% { opacity: 0.5; transform: translateX(-5px); }
    50% { opacity: 1; transform: translateX(5px); }
    100% { opacity: 0.5; transform: translateX(-5px); }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform var(--transition-normal);
}

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

/* Fullscreen Lightbox */
.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 10, 8, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-lightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--border-radius-md);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    user-select: none;
}

.lightbox-caption {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-fast);
    padding: 1rem;
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.lightbox-close {
    top: 20px;
    right: 20px;
    z-index: 2;
}

.lightbox-prev {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.contact-info {
    padding-bottom: 4rem;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-details i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-details strong {
    display: block;
    color: white;
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.7);
}

.phone-large {
    font-size: 1.5rem;
    color: var(--primary) !important;
    font-weight: 700;
    font-family: var(--font-heading);
}

.social-links-big {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 1.1rem;
    color: white;
    transition: transform var(--transition-fast), filter var(--transition-fast);
}

.social-btn:hover {
    transform: translateX(10px);
    color: white;
    filter: brightness(1.1);
}

.social-btn.tiktok {
    background-color: #000000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn i {
    font-size: 1.5rem;
}

.contact-map {
    height: 100%;
    min-height: 400px;
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    overflow: hidden;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #1A110D;
    /* Slightly darker than contact bg */
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.footer-phone {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.footer-credit {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Mobile Sticky Call Button
   ========================================================================== */
.mobile-sticky-call {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    z-index: 1001;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-sticky-call i {
    margin-right: 0.5rem;
    animation: phoneRing 2s infinite ease-in-out;
}

@keyframes phoneRing {

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

    10%,
    30%,
    50% {
        transform: rotate(-15deg);
    }

    20%,
    40% {
        transform: rotate(15deg);
    }

    60% {
        transform: rotate(0deg);
    }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .menu-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-sidebar {
        display: none;
    }

    .menu-category-section {
        display: block;
        margin-bottom: 1.5rem;
        background-color: var(--card-bg);
        border-radius: var(--border-radius-md);
        box-shadow: var(--shadow-sm);
        border: 1px solid rgba(0,0,0,0.05);
        animation: none;
    }

    .category-title {
        font-size: 1.4rem;
        margin-bottom: 0;
        padding: 1.2rem 1.5rem;
        border-bottom: none;
        cursor: pointer;
        padding-top: 1.2rem;
    }

    .accordion-icon {
        display: block;
        color: var(--primary);
        font-size: 1.1rem;
        transition: transform var(--transition-normal);
    }

    .menu-category-section.accordion-open .accordion-icon {
        transform: rotate(180deg);
    }

    .menu-category-section .menu-grid {
        display: none;
        padding: 0 1.5rem 1.5rem;
        border-top: 1px solid rgba(0,0,0,0.05);
        margin-top: 0.5rem;
        padding-top: 1.5rem;
    }

    .menu-category-section.accordion-open .menu-grid {
        display: grid;
    }

    .menu-item-card {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        border-radius: 0;
        box-shadow: none;
    }

    .menu-item-card:hover {
        transform: none;
        box-shadow: none;
        border-bottom-color: var(--primary);
    }

    .menu-item-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

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

    .contact-map {
        order: -1;
        min-height: 300px;
        border-radius: var(--border-radius-md);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-lg) 0;
    }

    /* Improved Mobile Menu Items */
    .menu-item-card {
        padding: 0.8rem 0; /* Tighter padding for all items on mobile */
    }

    /* Only stack items with long descriptions */
    .menu-item-card:has(.menu-item-desc) {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 1.2rem 0;
    }

    .menu-item-card:has(.menu-item-desc) .menu-item-info {
        width: 100%;
        padding-right: 0;
    }

    .menu-item-desc {
        font-size: 0.95rem;
        line-height: 1.5;
        color: var(--text-muted);
        margin-top: 0.5rem;
        /* Make descriptions distinctly separated on mobile */
        padding-left: 0.5rem;
        border-left: 2px solid rgba(211, 84, 0, 0.3);
    }

    /* Mobile Swipe Gallery */
    .gallery-swipe-hint {
        display: block;
    }

    .gallery-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 2rem; /* space for scrollbar/shadows */
        margin-left: -5%; /* bleed out of container on mobile */
        margin-right: -5%;
        padding-left: 5%;
        padding-right: 5%;
        /* Hide scrollbar for cleaner look */
        scrollbar-width: none; 
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-item {
        flex: 0 0 85%; /* Take up 85% of screen width */
        scroll-snap-align: center;
        box-shadow: 0 8px 20px rgba(92, 64, 51, 0.15);
    }

    /* Make overlays permanently visible on mobile so users don't have to tap to see names */
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
        padding: 1rem;
    }

    .gallery-overlay span {
        transform: translateY(0);
        font-size: 1.3rem;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    }

    .menu-item-card:has(.menu-item-desc) .menu-item-price {
        width: 100%;
        justify-content: flex-end;
        align-items: center;
        margin-top: 0.2rem;
    }

    .price-dots {
        display: none;
    }

    .price-val {
        font-size: 1.1rem;
        background-color: rgba(211, 84, 0, 0.05);
        padding: 0.2rem 0.5rem;
        border-radius: var(--border-radius-sm);
    }

    /* Hero Title already handled by clamp, removing static override */
    
    .nav-list {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: left 0.3s ease;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
        z-index: 1001;
    }

    .nav-list.active {
        left: 0;
    }

    .main-nav {
        display: contents;
    }

    .mobile-menu-toggle {
        display: block;
        font-size: 1.8rem;
        padding: 0.5rem;
        margin-left: auto; /* Push to the right */
        margin-right: -0.5rem;
        color: var(--secondary);
        z-index: 1002;
    }

    .header-cta {
        display: none;
        /* Hide top phone on mobile to rely on sticky bottom app-like nav */
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* 1. Reorder the list so the phone number appears first */
    .contact-details li:nth-child(2) {
        order: -1;
        
        /* 2. Emphasize the container */
        background-color: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: var(--border-radius-md);
        border-left: 4px solid var(--primary);
        align-items: center; /* better alignment */
    }

    /* Make the phone link fit perfectly and look prominent */
    .phone-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .phone-large {
        font-size: 1.6rem;
        display: inline-block;
        margin-top: 2px;
    }

    /* Make space for mobile sticky button */
    body {
        padding-bottom: 60px;
    }

    .mobile-sticky-call {
        display: block;
    }

    /* Move phone card up and add glow on mobile */
    .hero-actions {
        margin-bottom: 2rem;
    }

    .hero-phone-card {
        box-shadow: 0 0 25px rgba(211, 84, 0, 0.5);
        border-color: rgba(211, 84, 0, 0.6);
        background: rgba(44, 30, 22, 0.4); /* Make it stand out strongly from the background */
    }
}

/* Specific Phone Breakpoints */
@media (max-width: 430px) {
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: none; /* Allow full container width */
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
    }

    .hero-phone-card {
        padding: 1.2rem 1.5rem;
        width: 100%;
        max-width: 380px;
    }
}

@media (max-width: 390px) {
    .hero-logo {
        width: 140px;
        margin-bottom: 1.5rem;
    }

    .hero-kicker {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }
}

@media (max-width: 360px) {
    .hero {
        padding-top: 90px;
    }

    .hero-title {
        line-height: 1.2;
    }

    .hero-phone-card {
        padding: 1rem;
    }

    .phone-label {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
}

/* Height-based adjustments for short screens */
@media (max-height: 700px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-content {
        gap: 0.8rem;
    }

    .hero-logo {
        width: 110px;
    }

    .hero-title {
        margin-bottom: 0.5rem;
        font-size: clamp(1.8rem, 7vh + 1vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.3;
        margin-bottom: 0;
    }

    .hero-actions {
        margin-bottom: 1rem;
        gap: 0.6rem;
    }

    .btn-large {
        padding: 0.6rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-phone-card {
        padding: 0.8rem 1.2rem;
    }

    .phone-number {
        font-size: clamp(1.4rem, 6vh, 2rem);
    }
}

.phone-container {
    display: flex;
    flex-direction: column;
    gap: clamp(0.2rem, 1vh, 0.5rem);
    width: 100%;
}

.phone-large {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
    color: var(--primary) !important;
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.footer-logo {
    width: auto;
    height: 100px;
    object-fit: contain;
    max-width: 100%;
}

.footer-phones {
    display: flex;
    flex-direction: column;
    gap: clamp(0.2rem, 1vh, 0.4rem);
    margin-top: 0.5rem;
    align-items: center;
}

.footer-phone {
    display: block;
    font-weight: 600;
    font-size: clamp(1.1rem, 4vw, 1.25rem);
}

.footer-phone {
    display: block;
    font-weight: 600;
}

@media (max-height: 600px) {
    .hero {
        padding-top: 60px;
    }
    
    .hero-logo {
        display: none; /* Hide logo on extremely short screens to prioritize text and CTA */
    }
}

/* ==========================================================================
   Accessibility (a11y) Additions
   ========================================================================== */



/* Better focus indicators */
*:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

a:focus-visible, button:focus-visible, input:focus-visible {
    border-radius: 4px; /* Ensure outline traces element properly */
}