/* ==========================================================================
   1. FONT ARCHITECTURE (@font-face)
   ========================================================================== */

/* Outfit Regular */
@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/outfit-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Outfit SemiBold (600) */
@font-face {
    font-family: 'Outfit';
    src: url('../assets/fonts/outfit-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display Regular */
@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/playfair-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display Bold (700) */
@font-face {
    font-family: 'Playfair Display';
    src: url('../assets/fonts/playfair-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Metric Matching Fallback (Prevents Layout Shifts) */
@font-face {
    font-family: "Outfit Fallback";
    src: local(Arial);
    size-adjust: 96%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}


/* ==========================================================================
   2. CUSTOMER CONFIGURATION ZONE (Design Tokens & Variables)
   ========================================================================== */
:root {
    /* Theme Colors */
    --bg-color: #F9F4F0;
    --text-color: #4A2C2A;
    --accent-color: #D97706;
    --soft-accent: #f3f0f7;
    --white: #FFFFFF;
    
    /* Typography Stacks */
    --header-font: 'Playfair Display', Georgia, Cambria, serif;
    --body-font: 'Outfit', 'Outfit Fallback', Arial, sans-serif;
    
    /* Global Accents & Physics */
    --shadow: 0 4px 20px rgba(74, 44, 42, 0.08);
    --radius: 16px;
    --transition: all 0.3s ease;

    /* Responsive Typography Scale */
    --fs-xs: 0.875rem;
    --fs-sm: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.5rem;
    --fs-xl: 2rem;
    --fs-2xl: 2.5rem;
    --fs-3xl: 3.5rem;
}


/* ==========================================================================
   3. GLOBAL RESET & UTILITIES (Base Rules)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body.loading main {
    visibility: hidden;
}

body.loading {
    overflow: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--fs-sm);
    line-height: 1.6;
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    font-synthesis: none;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 20px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--header-font);
    font-weight: 700;
    line-height: 1.2;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.loading-placeholder {
    min-height: 1em;
}

section[id] {
    scroll-margin-top: 80px;
}

/* Accessibility - Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Scroll-Reveal Interface States */
.bakery-section,
.location-section,
.events-section,
.about-section {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bakery-section:not(.is-visible),
.location-section:not(.is-visible),
.events-section:not(.is-visible),
.about-section:not(.is-visible) {
    opacity: 0;
}

.is-visible {
    opacity: 1 !important;
}

/* Loading / Error Overlay */
.page-loader {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    z-index: 5000;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.page-loader-inner {
    max-width: 420px;
    text-align: center;
    padding: 0 24px;
}

.page-loader-text {
    font-family: var(--header-font);
    font-size: var(--fs-md);
    color: var(--text-color);
    line-height: 1.5;
}

.page-loader.is-error .page-loader-text {
    color: var(--accent-color);
    font-weight: 700;
}

.page-loader-retry {
    margin-top: 20px;
    padding: 10px 28px;
    font-size: var(--fs-sm);
}


/* ==========================================================================
   4. LAYOUT SYSTEM (Scaffolding, Navbars & Structure)
   ========================================================================== */

/* Navbar Scaffold */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(74, 44, 42, 0.1);
    z-index: 1000;
    min-height: 84px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo img {
    height: 80px;
    width: auto;
}

.nav-links {
    min-width: 460px;
    display: flex;
    gap: 24px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-md);
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Navbar Interactive Triggers */
.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

/* Hero Container Area */
.hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #4A2C2A;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    aspect-ratio: 16 / 9;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(249, 244, 240, 0.7);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    width: 100%;
    padding: 0 20px;
}

.hero-content {
    max-width: 900px;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 4vw, var(--fs-3xl));
    margin-bottom: 25px;
}

.hero-content p {
    font-size: var(--fs-md);
    margin-bottom: 40px;
    color: var(--text-color);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-height: 116px;
}

/* Footer & Global Base Elements */
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: var(--fs-xs);
}

.footer-bottom p {
    margin: 0;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

.lang-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-left: 8px;
}

#lang-switcher {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: transparent;
    color: var(--text-color);
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-md);
    cursor: pointer;
    padding-right: 16px; 
    z-index: 2;
    line-height: 1;
}

.lang-arrow {
    position: absolute;
    right: 0;
    top: 15%;               
    transform: translateY(-50%);  
    pointer-events: none;
    font-size: 16px; 
    color: var(--accent-color);
    z-index: 1;
    line-height: 1;
}


/* ==========================================================================
   5. COMPONENT MODULES (Buttons, Cards, Modals & UI Controls)
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-family: var(--body-font);
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.2);
    min-height: 48px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s ease, 
                letter-spacing 0.4s ease;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 24px rgba(217, 119, 6, 0.4);
    letter-spacing: 1.5px;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: scale(0.96);
}

.btn-link {
    font-family: var(--body-font);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--fs-md);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-link .arrow {
    transition: transform 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-color);
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}

/* Event Banners */
.event-banner {
    background-color: #4A2C2A;
    color: #FDF8F5;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
    z-index: 2000;
    position: sticky;
    top: 0;
}

.event-banner p {
    margin: 0;
    font-weight: 400;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
    gap: 15px;
}

.title-divider {
    flex: 1;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--text-color), transparent);
    opacity: 0.4;
}

.section-title-wrapper h2 {
    font-size: clamp(1.8rem, 3vw, var(--fs-2xl));
    white-space: nowrap;
}

/* Bakery / Menu Component Module */
.bakery-section {
    padding: 64px 0;
}

/* Tabs */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
    background-color: var(--white);
    border: 2px solid transparent;
    border-radius: 30px;
    padding: 10px 30px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.menu-tab:hover {
    border-color: rgba(217, 119, 6, 0.4);
}

.menu-tab.active {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
}

.menu-panel {
    margin-bottom: 20px;
}

/* Juomat (Drinks) / Herkut (Treats) tab: list on one side, image on the other */
.drinks-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: center;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px 50px;
}

.drinks-list {
    list-style: none;
}

.drink-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px dashed rgba(74, 44, 42, 0.15);
}

.drink-row:last-child {
    border-bottom: none;
}

.drink-name {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-lg);
}

.drink-note {
    font-family: var(--body-font);
    font-weight: 400;
    font-size: var(--fs-xs);
    opacity: 0.75;
    margin-left: 6px;
}

.drink-price {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--accent-color);
    white-space: nowrap;
}

.drinks-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.drinks-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Herkut tab uses the same list+image layout as Juomat, but mirrored:
   image on the left (narrow column), item list on the right (wide column).
   Markup order for this variant is <image><list>, so the column widths
   are simply reversed from the default .drinks-layout. */
.drinks-layout--image-left {
    grid-template-columns: 380px 1fr;
}

/* Herkut's image is a tall 800x1200 (2:3) poster rather than a square
   photo. Matching the container's aspect-ratio to the real image means
   object-fit: cover scales it to fill with no cropping. */
.drinks-image--portrait {
    aspect-ratio: 2 / 3;
}


/* About Section */
.about-section {
    padding-bottom: 64px;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-section:not(.is-visible) {
    opacity: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px;
}

.about-image {
    width: 100%;
    aspect-ratio: 1000 / 1200;
    border-radius: var(--radius);
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content p {
    font-size: var(--fs-md);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-content p:last-of-type {
    margin-bottom: 24px;
}

.about-address {
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--accent-color);
    font-size: var(--fs-md);
}

/* Events Section */
.events-section {
    padding-bottom: 64px;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.events-section:not(.is-visible) {
    opacity: 0;
}

.events-card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
}

.events-card .about-grid {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    align-items: start;
}

.events-contact-link {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 119, 6, 0.4);
    padding-bottom: 1px;
    transition: var(--transition);
    white-space: nowrap;
}

.events-contact-link:hover {
    color: var(--text-color);
    border-bottom-color: var(--text-color);
}

.events-calendar-block {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 44, 42, 0.1);
}

.events-calendar-block .hours-header {
    margin-bottom: 30px;
}

.event-calendar-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.event-calendar-card {
    max-width: 560px;
}

.event-date-label {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--accent-color);
    margin-bottom: 14px;
}

.event-line {
    font-size: var(--fs-md);
    line-height: 1.7;
    opacity: 0.9;
}

.event-line-empty {
    font-style: italic;
    opacity: 0.7;
}

.events-layout {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 50px;
    align-items: center;
}

.events-content {
    padding: 10px 10px 10px 20px;
}

.events-content h3 {
    font-family: var(--header-font);
    font-size: var(--fs-xl);
    line-height: 1.2;
    color: var(--text-color);
    margin: 0 0 10px;
}

.events-intro {
    font-size: var(--fs-sm);
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 24px;
    max-width: 500px;
}

.events-time {
    display: block;
    font-family: var(--header-font);
    font-weight: 700;
    font-size: var(--fs-lg);
    color: var(--accent-color);
    padding: 10px 0;
    margin-bottom: 20px;
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    width: fit-content;
}

.events-description {
    font-family: var(--header-font);
    font-size: var(--fs-md);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
}

.events-offer {
    margin-bottom: 20px;
}

.events-offer h4 {
    font-family: var(--header-font);
    font-size: var(--fs-md);
    margin-bottom: 8px;
}

.events-offer ul {
    margin: 0;
    padding-left: 20px;
}

.events-offer li {
    font-size: var(--fs-sm);
    line-height: 1.7;
}

.events-price {
    font-family: var(--header-font);
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--accent-color);
    margin: 20px 0 8px;
}

.events-included {
    font-size: var(--fs-xs);
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 24px;
}

.events-closing {
    font-family: var(--header-font);
    font-size: var(--fs-md);
    line-height: 1.5;
    margin-bottom: 24px;
}

.events-welcome {
    display: inline-block;
    font-family: var(--header-font);
    font-size: var(--fs-lg);
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--text-color);
    border-top: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding: 8px 18px;
}

.events-image {
    width: 100%;
    max-width: 600px;
    height: 700px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-left: auto;
}

.events-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Location Card Elements */
.location-section {
    background-color: var(--soft-accent);
    padding: 80px 0 60px 0;
}

.location-section .section-title-wrapper {
    margin-bottom: 30px;
}

#loc-title {
    font-family: var(--header-font);
    font-size: var(--fs-xl);
    margin: 0 20px;
    white-space: nowrap;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map-container {
    height: 500px;
    border-radius: var(--radius);
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-container:hover img {
    transform: scale(1.03);
}

.info-card {
    background-color: var(--bg-color);
    border-radius: var(--radius);
    padding: 50px 40px;
    box-shadow: var(--shadow);
    text-align: center;
}

.contact-item {
    font-size: var(--fs-md);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.opening-hours {
    padding-top: 20px;
    border-top: 1px solid rgba(74, 44, 42, 0.1);
}

.hours-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hours-header .line {
    width: 20%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--text-color), transparent);
    opacity: 0.4;
}

.hours-header h3 {
    font-size: var(--fs-lg);
    white-space: nowrap;
}

.hours-list p {
    font-size: var(--fs-md);
    margin-bottom: 8px;
    opacity: 0.9;
}

.extra-links {
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(74, 44, 42, 0.1);
}

.links-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.info-link {
    font-size: var(--fs-sm);
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 44, 42, 0.3);
    padding-bottom: 1px;
    transition: var(--transition);
}

.info-link:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.social-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.social-footer .title-divider {
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--text-color), transparent);
    opacity: 0.2;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background-color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.social-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.white-icon {
    filter: brightness(0) invert(1);
}

.social-svg {
    width: 20px;
    height: 20px;
    display: block;
}


/* ==========================================================================
   6. RESPONSIVE MEDIA QUERIES (Combined Layout & Components)
   ========================================================================== */

@media (max-width: 1100px) {
    .drinks-layout {
        grid-template-columns: 1fr 300px;
        padding: 30px;
        gap: 30px;
    }

    .drinks-layout--image-left {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 992px) {
    .hero-content h1 {
        white-space: normal;
    }

    .about-grid {
    grid-template-columns: 1fr;
    padding: 24px;
    }

    .about-image {
    max-width: 320px;
    margin: 0 auto;
    }

    .drinks-layout,
    .drinks-layout--image-left {
        grid-template-columns: 1fr;
    }

    .drinks-image {
        max-width: 320px;
        margin: 0 auto;
        aspect-ratio: 4 / 3;
    }

    .drinks-image--portrait {
        max-width: 260px;
        aspect-ratio: 2 / 3;
    }

    .events-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .events-content {
        padding: 0;
    }

     .events-image {
        width: 100%;
        max-width: 500px;
        height: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    .info-card {
        padding: 40px 20px;
    }

    .events-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    /* Navbar Responsive State */
    .menu-toggle {
        display: block;
    }

    .nav-container {
        justify-content: space-between;
    }

    .nav-links {
        position: absolute;
        min-width: auto; /* Fixed: Prevents structural blowouts on screens smaller than 420px */
        top: 100%;
        left: 0;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        text-align: center;
        gap: 0;
        display: none;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 0;
        z-index: 1001; 
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid rgba(74, 44, 42, 0.05);
    }

    .nav-links li.lang-wrapper {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: auto;
        margin: 0 auto;
        padding: 20px 12px;
        position: relative;
    }

    .nav-links li.lang-wrapper #lang-switcher {
        padding-right: 18px;
        line-height: 1;      
    }

    .nav-links li.lang-wrapper .lang-arrow {
        top: 40%; /* Center vertically dynamically */
    }

    /* Core Components Overrides */
    .has-banner .navbar {
        top: 50px;
    }

    .events-card {
        padding: 24px;
    }

    .events-layout {
        gap: 28px;
    }

    .events-content h3 {
        font-size: 2rem;
    }

    .events-time {
        font-size: var(--fs-md);
    }

    .events-price {
        font-size: var(--fs-lg);
    }

    .events-image {
        min-height: 380px;
        max-height: 500px;
    }

    .menu-tab {
        padding: 8px 20px;
        font-size: var(--fs-sm);
    }

    .drinks-layout {
        padding: 24px;
    }

    .hero {
        min-height: auto;
        padding: 60px 0 80px 0;
        clip-path: ellipse(200% 100% at 50% 0%); /* Prevents aggressive clipping on narrow screens */
    }

    .hero-img {
        aspect-ratio: auto; /* Allows full height coverage */
    }

    .hero-container {
        min-height: auto;
        padding: 0 16px;
    }

    .hero-content {
        min-height: auto;
    }

    .hero-content h1 {
        font-size: clamp(1.75rem, 7vw, 2.2rem);
        margin-bottom: 16px;
    }

    .hero-content p {
        font-size: var(--fs-sm);
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    .section-title-wrapper {
        gap: 10px;
    }

    .location-section {
        padding: 60px 0;
    }
}