/* Main CSS for Kallio Page */

/* Design Tokens */
:root {
    /* Colors */
    --primary-colour-001: #FEF2E7;
    --primary-002: #FBE2CB;
    --primary-003: #FADABD;
    --primary-004: #E07C2E;
    --primary-005: #A44719;
    --primary-006: #8B2B1E;
    --primary-007: #59260D;
    --primary-008: #59260D;
    --primary-009: #CF6E25;

    --neutral-001: #E9D8C8;
    --neutral-002: #BCA085;
    --neutral-003: #7A614D;
    --neutral-004: #5D4B3C;

    --green-001: #FBFDF2;
    --green-002: #85A319;
    --green-003: #6A8118;

    --red-001: #FFF6F5;
    --red-002: #A5362C;

    /* Fonts */
    --font-heading: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --container-max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    background-color: var(--primary-colour-001);
    color: var(--neutral-004);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-005);
}

p,
span {
    color: var(--neutral-004);
}

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

@media (hover: hover) {
    a:hover {
        opacity: 0.8;
    }
}

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

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header */
.site-header {
    background-color: var(--primary-colour-001);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

body.menu-page .site-header {
    box-shadow: none;
    border-bottom: none;
}

body.menu-page .site-header.scrolled {
    border-bottom: none !important;
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    /* Nav moves to start (left) */
    align-items: center;
    position: relative;
    /* Context for absolute positioning of logo */
    min-height: 88px;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 88px;
    width: auto;
    transition: height 0.3s ease;
    /* Smooth transition */
}

/* Reduce logo size on scroll */
.site-header.scrolled .logo img {
    height: 48px;
    /* Reduced from 96px */
}

/* Ensure logo resizing works on menu page */
body.menu-page .site-header.scrolled .logo img {
    height: 48px;
}

/* Navigation Container */
.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nav Links - General Logic */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

/* Specific Positions */
.nav-left {
    margin-right: auto;
    /* Just in case, though space-between handles main split */
}

.nav-right {
    margin-left: auto;
    /* Pushes to the far right */
}

.nav-links a {
    font-weight: 600;
    color: var(--neutral-004);
    position: relative;
    padding: 0.5rem 0 0.25rem 0;
    text-transform: uppercase;
    font-size: 0.875rem;
    border-bottom: none;
}

.nav-links>li>a:not(.dropdown-trigger)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neutral-004);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .nav-links>li>a:not(.dropdown-trigger):hover {
        opacity: 1;
    }

    .nav-links>li>a:not(.dropdown-trigger):hover::after {
        width: 100%;
    }
}

.address-link {
    font-size: 0.875rem;
    color: var(--neutral-004) !important;
    text-transform: none;
}

/* Removing specific address hover border to rely on generic animation */
@media (hover: hover) {
    .address-link:hover {
        text-decoration: none;
        opacity: 1;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 160px;
    z-index: 1;
    padding: 0;
    border: 2px solid var(--neutral-004);
    border-radius: 1rem;
    margin-top: 0.25rem;
    overflow: hidden;
}



/* Removed hover behavior to rely on JS click */

/* Icons */
.ph-caret-up {
    display: none;
    /* Hidden by default */
}

/* Active State (Click) */
.dropdown.active .dropdown-content {
    display: block;
}

.dropdown.active .ph-caret-down {
    display: none;
}

.dropdown.active .ph-caret-up {
    display: inline-block;
}

/* Icon spacing */
.nav-links .dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px solid var(--neutral-004);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    min-width: 130px;
    background-color: var(--primary-003);
}

.nav-links .dropdown-trigger i {
    margin-left: 0.25rem;
    vertical-align: middle;
    font-size: 1rem;
}

@media (hover: hover) {
    .nav-links .dropdown-trigger:hover {
        background-color: var(--primary-002);
        color: var(--neutral-004);
        opacity: 1;
    }
}

.dropdown-content li {
    display: block;
}

.dropdown-content a {
    padding: 0.5rem 1rem;
    display: block;
    color: var(--neutral-004);
    white-space: nowrap;
    border-bottom: none;
}

.dropdown-content a::after {
    content: none;
}

@media (hover: hover) {
    .dropdown-content a:hover {
        background-color: var(--primary-003);
        color: var(--neutral-004);
        opacity: 1;
    }
}



.burger {
    display: none;
}

/* Old burger line styles removed */

/* Header scroll state */
.site-header.scrolled {
    background-color: var(--primary-colour-001);
    /* Solid color on scroll */
    box-shadow: none;
    border-bottom: 2px solid var(--neutral-001);
    /* Optional: adds subtle depth on scroll */
    padding: 0.5rem 0;
    /* Shorten header height */
}

/* Mobile Nav Links Hidden by Default */
.mobile-nav-links {
    display: none;
}

/* Hero Section */
/* Hero Section */
.hero {
    /* Use min-height 100vh to cover screen, padding-top to clear fixed header */
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/kallio-location.jpeg');
    background-size: cover;
    background-position: center;
    padding-top: 140px;
    /* Clear fixed header */
    margin-top: 0;
    margin-bottom: 0;
    color: var(--primary-colour-001);
}

.hero-content h1 {
    font-size: clamp(4rem, 5vw, 6rem) !important;
    margin-bottom: 2rem;
    color: var(--primary-colour-001) !important;
    line-height: 1.05;
    font-weight: 700;
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
}

.hero-content p {
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem);
    margin-bottom: 4rem;
    color: var(--primary-colour-001);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
    /* Remove bottom margin to center better */
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-colour-001);
    text-decoration: none;
    transition: opacity 0.3s ease;
    padding-bottom: 0.25rem !important;
    /*border-bottom: 2px solid var(--primary-colour-001);*/
}

/* Custom Hover for Hero Links */
.hero-link:hover {
    color: var(--primary-colour-001) !important;
    opacity: 1 !important;
    border-bottom-color: transparent !important;
}

.hero-link i {
    font-size: 1.5rem;
}

.hero-link span {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--primary-colour-001);
}

@media (hover: hover) {
    .hero-link:hover {
        opacity: 0.8;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-004);
    color: var(--primary-colour-001);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
    .btn:hover {
        background-color: var(--primary-005);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(164, 71, 25, 0.3);
        opacity: 1;
        /* Override default link hover opacity */
    }
}

/* Features/Vibe Section */

.section-divider {
    height: 2px;
    background-color: var(--neutral-001);
    width: 100%;
    border: none;
    margin: 0;
}


/* Footer (Matching User request context - reusing style logic if needed, but keeping it fresh) */
.site-footer {
    background-color: var(--primary-005);
    color: var(--primary-colour-001);
    padding: 3rem 0;
    text-align: center;
}

.site-footer p {
    color: var(--neutral-001);
}

/* Responsive */
@media screen and (max-width: 1100px) {
    .nav-container {
        justify-content: flex-end;
    }

    /* Footer Tablet/Mobile Refinements */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .footer-col {
        align-items: flex-start;
    }

    .social-links-stacked {
        align-items: flex-start;
    }

    .footer-info-section,
    .location-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .footer-address,
    .footer-email {
        display: block;
        width: 100%;
        text-align: left;
    }

    .site-header {
        padding: 1rem 0;
    }

    .site-header.scrolled {
        padding: 0.5rem 0 !important;
    }

    /* Hide desktop nav on mobile */
    .nav-left,
    .nav-right {
        display: none;
    }

    /* Left Align Logo on Mobile - REMOVED (Moved to max-width: 500px) */

    .menu-open .logo {
        /* Keep absolute to prevent header height jump */
        position: absolute;
        left: 4rem;
        /* Match container padding */
        transform: none;
    }

    .site-header.menu-open .logo img {
        height: 88px !important;
    }

    .site-header.menu-open {
        padding: 1rem 0 !important;
    }

    /* Wrapper handles the sliding reveal of the *whole* mobile menu */
    /* Show mobile nav links */
    .mobile-nav-links {
        position: absolute;
        right: 0px;
        height: 100vh;
        top: 100%;
        background-color: var(--primary-colour-001);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Left align */
        width: 100%;
        padding-top: 4rem;
        padding-left: 4rem;
        padding-right: 4rem;
        /* Add right padding */
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
        list-style: none;
    }

    .mobile-nav-links.nav-active {
        transform: translateX(0%);
    }

    .mobile-nav-links>li {
        width: 100%;
        border-bottom: 2px solid var(--neutral-002);
        padding-bottom: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .mobile-nav-links li:last-child {
        border-bottom: none;
    }


    /* Submenu Header */
    .submenu-header {
        margin-bottom: 1rem;
    }

    .submenu-back {
        font-family: var(--font-body);
        font-size: 1.25rem;
        font-weight: 500;
        color: var(--neutral-003);
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    /* Submenu Links */
    .submenu-links {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }

    .submenu-links li {
        width: 100%;
        border-bottom: 2px solid var(--neutral-002);
        padding-bottom: 1rem;
    }

    .submenu-links li:last-child {
        border-bottom: none;
    }

    .submenu-links a {
        font-family: var(--font-body);
        font-size: 1.5rem;
        color: var(--neutral-003);
        font-weight: 500;
        display: block;
        width: 100%;
    }

    .mobile-nav-links>li {
        width: 100%;
        border-bottom: 2px solid var(--neutral-002);
        padding-bottom: 0;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        /* Prepare for animation */
    }

    .mobile-nav-links li:last-child {
        border-bottom: none;
    }

    .mobile-nav-links a {
        font-family: var(--font-body);
        font-size: 1rem;
        color: var(--neutral-004);
        font-weight: 500;
        text-transform: uppercase;
        display: flex;
        /* Use flexbox for icon alignment */
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 1rem 0;
        line-height: 2;
    }

    .mobile-nav-links>li:active {
        background-color: var(--primary-003);
    }

    .mobile-nav-links a:active {
        background-color: transparent;
    }

    @media (hover: hover) {
        .mobile-nav-links a:hover {
            opacity: 1;
        }
    }

    .mobile-nav-links .address-link {
        color: var(--neutral-004) !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: flex;
        cursor: pointer;
        /* Increase touch target */
        padding: 0.5rem;
        align-items: center;
        justify-content: center;
    }

    .burger i {
        color: var(--neutral-004);
    }

    .hero-content h1 {
        font-size: 4rem !important;
    }



    .nav-active {
        transform: translateX(0%);
    }


    /* Mobile Location Dropdown */
    .mobile-dropdown-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        cursor: pointer;
        font-family: var(--font-body);
        font-size: 1rem;
        color: var(--neutral-004);
        font-weight: 500;
        text-transform: uppercase;
        padding: 1rem 0;
        line-height: 2;
    }

    .mobile-dropdown-header:active {
        background-color: var(--primary-003);
    }

    .mobile-dropdown-content {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        width: 100%;
        padding-left: 0;
        margin-top: 0;
    }

    .mobile-dropdown.active .mobile-dropdown-content {
        max-height: 100px;
        /* Adjust as needed */
        margin-top: 0;
    }

    .mobile-dropdown.active .ph-caret-down {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .mobile-dropdown .ph-caret-down {
        transition: transform 0.3s ease;
        font-size: 1.5rem;
    }

    .dropdown-item {
        width: 100%;
        padding: 0;
    }

    .dropdown-item-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 0.5rem 0;
        font-family: var(--font-body);
        font-size: 1rem;
        color: var(--neutral-004);
        font-weight: 500;
        text-transform: uppercase;
        text-decoration: none;
    }

    .dropdown-item-link:active {
        background-color: var(--primary-003);
    }

    .hero {
        margin-top: 8.5rem;
        margin-bottom: 0;
        height: calc(100vh - (88px + 6rem));
    }

    /* Hero buttons stack and have consistent width on mobile */
    .hero-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-links a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* Footer Section Redesign */
/* Footer Styles (Synced with Template) */
.site-footer {
    width: 100%;
    background-color: var(--primary-003);
    padding: 4rem 2rem;
    color: var(--primary-007);
    margin-top: auto;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Footer Column Styles */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--neutral-004);
    letter-spacing: 0.05em;
    text-align: center;
}

.footer-col p,
.footer-email,
.oiva-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--neutral-004);
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    text-transform: uppercase;
}

/* Explicit Bold for Oiva Link */
.oiva-link {
    font-weight: 700 !important;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    /* Fix: Ensures borders span full width */
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col .btn-nav {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0;
    justify-content: flex-start;
    text-transform: uppercase;
    color: var(--neutral-004);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

/* Specific Sections */
.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-logo-main {
    height: auto;
    width: 80px;
    max-width: 100%;
}

.footer-social-section {
    align-items: center;
}

.social-links-stacked {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--neutral-004);
    font-size: 0.875rem;
    font-weight: 700;
    transition: opacity 0.3s ease;
    padding: 0.25rem 0;
    text-transform: uppercase;
}

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

.footer-nav-section {
    text-align: center;
}

.footer-locations-section {
    text-align: center;
}

.location-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--neutral-004);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.footer-address {
    font-family: var(--font-body);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--neutral-004);
    text-decoration: underline;
    font-weight: 500;
    text-transform: uppercase;
    white-space: nowrap;
    /* Fix: prevents breaking at city name */
}

.footer-email {
    display: block;
    margin-top: 0;
    padding: 0.25rem 0;
    text-transform: none !important;
    text-decoration: none;
    color: var(--neutral-004);
}

.footer-email:hover,
.footer-email:focus,
.footer-email:active {
    text-decoration: none !important;
    color: var(--neutral-004) !important;
    opacity: 1 !important;
    cursor: default;
}

/* Hover Effects - STRICTLY DESKTOP ONLY */
.oiva-link::after,
.social-link span::after,
.btn-nav::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neutral-004);
    transition: width 0.3s ease;
}

.social-link span,
.oiva-link,
.btn-nav {
    position: relative;
    display: inline-block;
}

@media (hover: hover) {

    .oiva-link:hover,
    .social-link:hover,
    .btn-nav:hover {
        opacity: 1;
        color: var(--neutral-004);
    }

    .oiva-link:hover::after,
    .social-link:hover span::after,
    .btn-nav:hover::after {
        width: 100%;
    }

    /* Desktop/Tablet with Hover: Hide underline, KEEP color/opacity explicitly */
    .footer-address:hover {
        text-decoration: none;
        color: var(--neutral-004) !important;
        opacity: 1 !important;
    }
}


/* Mobile Footer Layout (< 1100px) */
@media screen and (max-width: 1100px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* Col 1: Logo & Oiva */
    .footer-col.footer-logo-section {
        order: 1;
        align-items: flex-start;
        margin-bottom: 0;
    }

    .footer-logo-main {
        margin-bottom: 1rem;
        align-self: flex-start;
    }

    .oiva-link {
        align-self: flex-start;
        text-align: left;
    }

    /* Reorder Columns */
    .footer-nav-section:nth-of-type(3) {
        order: 2;
    }

    .footer-nav-section:nth-of-type(4) {
        order: 3;
    }

    .footer-locations-section {
        order: 4;
    }

    .footer-social-section {
        order: 5;
    }

    /* Left Align Everything */
    .footer-col,
    .footer-col h3,
    .footer-container .footer-nav-section,
    .footer-container .footer-locations-section {
        align-items: flex-start;
        text-align: left;
    }

    .social-links-stacked {
        align-items: flex-start;
    }

    .footer-nav-section ul {
        width: 100%;
    }

    .footer-nav-section ul li {
        width: 100%;
        border-bottom: 2px solid var(--neutral-002);
        padding: 1rem 0;
        text-align: left;
    }

    .footer-nav-section ul li:last-child {
        border-bottom: 2px solid var(--neutral-002);
    }

    .footer-col p,
    .footer-email,
    .oiva-link,
    .footer-address,
    .social-link,
    .location-subtitle,
    .footer-col .btn-nav {
        font-size: 1rem !important;
    }

    /* Stack Phone/Email/Address */
    .location-group,
    .footer-info-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .footer-address,
    .footer-email {
        display: block;
        width: 100%;
        text-align: left;
    }

    /* Hover State Adjustments for Touch/Mobile */
    .footer-address:hover {
        /* User Requirement: NO hover state on mobile (keep default underline) */
        text-decoration: underline !important;
        color: var(--neutral-004) !important;
    }

    /* Disable Oiva/Nav/Social Hovers on Mobile */
    .oiva-link:hover::after,
    .oiva-link:focus::after,
    .oiva-link:active::after,
    .social-link:hover span::after,
    .social-link:focus span::after,
    .social-link:active span::after {
        width: 0%;
        /* Prevent underline animation */
    }

    .oiva-link:hover,
    .oiva-link:focus,
    .oiva-link:active,
    .social-link:hover,
    .social-link:focus,
    .social-link:active,
    .btn-nav:hover,
    .btn-nav:focus,
    .btn-nav:active {
        color: var(--neutral-004) !important;
        opacity: 1 !important;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Desktop Layout (1101px+) */
@media (min-width: 1101px) {
    .footer-container {
        grid-template-columns: repeat(5, 1fr);
        text-align: left;
        align-items: start;
        justify-items: center;
    }

    .footer-col {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .footer-logo-section {
        justify-self: center;
    }

    .footer-nav-section,
    .footer-locations-section {
        text-align: left;
        align-items: flex-start;
    }

    .footer-nav-section h3,
    .footer-locations-section h3 {
        text-align: left;
    }

    .social-links-stacked {
        align-items: flex-start;
    }
}

/* Small Mobile Alignment */
@media screen and (max-width: 500px) {
    .logo {
        position: absolute;
        left: 1rem;
        transform: none;
    }
}

/* Menu Page Styles */

.menu-header {
    margin-top: 194px;
    padding: 0 0 1.5rem 0;
    /* Account for fixed header */
    text-align: center;
    background-color: var(--primary-colour-001);
    transition: padding 0.3s ease, top 0s ease;
    position: sticky;
    top: 154px;
    /* Adjusted for full header height (~152px) */
    z-index: 990;
}

.menu-header::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: var(--primary-colour-001);
    pointer-events: none;
}

.menu-header .container {
    padding-top: 1rem;
    padding-bottom: 0;
}

.menu-header h1 {
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-006);
}

.menu-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0;
}

.submenu-tabs {
    display: flex;
    justify-content: flex-start;
    border-bottom: 2px solid var(--neutral-004);
    margin-bottom: 16px;
    gap: 0;
    /* z-index removed - sticky version below has 980 */
    padding-top: 1rem;
}

/* Switch Toggle Styling Replacement */
.toggle-wrapper {
    display: flex;
    background-color: var(--primary-003);
    /* Light peach/beige background */
    border-radius: 1.5rem;
    padding: 0.5rem;
    gap: 0.5rem;
}

.toggle-option {
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    font-family: var(--font-body);
    /* Lexend */
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-004);
    /* Inactive state */
    /* Inactive state */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    white-space: nowrap;
}

.toggle-option span {
    color: var(--primary-004);
}

.toggle-option i {
    font-size: 1.25rem;
}

.toggle-option.active {
    background-color: var(--primary-004);
    /* Orange active bg */
    color: var(--primary-colour-001);
    box-shadow: none;
}

.toggle-option.active span {
    color: var(--primary-colour-001);
}



/* Hide suffix on very small screens */


input:checked+.slider {
    background-color: var(--primary-004);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary-004);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Menu Content */
.menu-content {
    background-color: var(--primary-colour-001);
    padding: 0;
    margin-bottom: 7rem;
    min-height: 60vh;
}

.menu-content.evening-mode {
    margin-bottom: 4rem;
}

.menu-content .container {
    padding-top: 0;
    padding-bottom: 0;
}

.menu-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

.menu-section.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.menu-section.hidden {
    display: none;
}

.menu-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--neutral-004);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

.menu-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item h3 {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-007);
}

.menu-item p {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--neutral-004);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.menu-item .price {
    display: block;
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    font-size: 1.25rem;
    color: var(--neutral-004);
    /* Adjusted to match palette, accent-001 not defined in root */
    text-align: right;
}

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

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

@media screen and (max-width: 1024px) {

    /* Remove header border on menu page mobile/tablet */
    body.menu-page .site-header,
    body.menu-page .site-header.scrolled {
        border-bottom: none !important;
    }

    .menu-content .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .site-header .container {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .menu-header {
        margin-top: 160px;
        padding-top: 0;
        padding-bottom: 2rem;
        top: 138px;
        /* Adjusted for full header height (Mobile ~136px) */
    }

    .submenu-tabs {
        top: 225px;
    }

    .menu-header h1 {
        font-size: 2.25rem;
    }

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



    /* Show only icon for inactive toggle on mobile - REMOVED to keep width stable */
    /* Show only icon for inactive toggle on mobile/tablet */
    button.toggle-option:not(.active) span {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {


    .menu-header {
        margin-top: 160px;
        padding-top: 0;
        top: 138px;
        /* Adjusted for full header height */
    }

    .submenu-tabs {
        top: 215px;
        /* Adjusted for kitchen time text */
    }

    .menu-header h1 {
        font-size: 2rem;
    }

    .menu-toggle-container {
        gap: 0.5rem;
    }



    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .menu-header .container {
        padding-top: 0;
    }

    .menu-content .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-header .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mobile-nav-links {
        padding-left: 2rem;
        padding-right: 2rem;
    }


}

/* Submenu Tabs Implementation */
.submenu-tabs {
    display: flex;
    justify-content: flex-start;
    /* border-bottom removed for pseudo-element implementation */
    border-bottom: none;
    margin-bottom: 16px;
    gap: 0;
    position: sticky;
    top: 295px;
    /* Adjusted: 154px + ~141px (menu header height incl. kitchen time text) */
    z-index: 1000;
    transition: top 0s ease;
    padding-top: 1rem;
    background-color: var(--primary-colour-001);
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    padding-bottom: 1.5rem;
}

.submenu-tabs::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 1.5rem;
    width: 100%;
    height: 0;
    border-bottom: 2px solid var(--neutral-004);
    pointer-events: none;
    z-index: 2;
}

.submenu-tabs::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 300px;
    /* Covers gap up to the header */
    background-color: var(--primary-colour-001);
    pointer-events: none;
    z-index: 999;
}

.tab-link {
    background-color: var(--primary-003);
    border: 2px solid var(--neutral-004);
    border-bottom: none;
    padding: 0.75rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--neutral-004);
    cursor: pointer;
    margin-right: -2px;
    /* Merge borders */
    transition: background-color 0.2s ease;
    border-radius: 4px 4px 0 0;
    position: relative;
    /* top: 2px; removed for alignment */
    z-index: 1;
    /* Push down to sit on line */
    text-transform: uppercase;
}

@media (hover: hover) {
    .tab-link:hover {
        background-color: var(--primary-002);
    }
}

.tab-link.active {
    background-color: var(--primary-colour-001);
    border-bottom: 2px solid var(--primary-colour-001);
    z-index: 3;
}

.tab-link:focus {
    outline: none;
}

/* Tab Content Logic */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

@media screen and (max-width: 1024px) {
    .tab-link:active {
        background-color: var(--primary-003);
    }
}

.tab-content.active {
    display: block;
}

/* Announcement Section */


/* Opening Hours Section */
.opening-hours {
    padding: 3rem 0 5rem;
    background-color: var(--primary-colour-001);
}

.opening-hours .section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 2rem;
    color: var(--primary-009);
    font-family: var(--font-heading);
}

.hours-grid {
    max-width: 400px;
    margin: 0 auto;
    font-family: var(--font-body);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--primary-007);
    font-weight: 600;
    text-transform: uppercase;
    align-items: center;
}

.hours-row .time {
    display: grid;
    grid-template-columns: 40px 15px 45px;
    justify-items: center;
    text-align: center;
}

.hours-row .h-open {
    justify-self: end;
}

.hours-row .h-close {
    justify-self: start;
}

/* Benny Section */
/* Feature Section */
.menu-feature {
    padding: 4rem 0;
    background-color: var(--primary-colour-001);
}



.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.feature-col-content,
.feature-col-image {
    display: flex;
    flex-direction: column;
}

.feature-header {
    margin-bottom: 2rem;
}


.feature-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-009);
    /* Optical adjustment to match primary-004 bg */
    margin-bottom: 0;
}

/* ... existing code ... */
.feature-header .subheader {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    color: var(--neutral-004);
    font-weight: 500;
}















/* Pancake Pricing */
.pancake-pricing {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    font-family: var(--font-heading);
    color: var(--neutral-004);
}

.price-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-option img {
    height: 3rem;
    width: auto;
}

.price-option span {
    font-size: 1.25rem;
}

.price-option .price-val {
    font-weight: 700;
    margin-left: 1.5rem;
}

.divider-line {
    width: 2px;
    height: 1.5rem;
    background-color: var(--neutral-004);
    opacity: 0.3;
}

@media screen and (max-width: 600px) {
    .pancake-pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .price-option {
        width: 100%;
    }

    .price-option .price-val {
        margin-left: auto;
    }

    .divider-line {
        display: none;
    }
}


.feature-image {
    height: 100%;
    /* Fill container height */
    position: relative;
    overflow: hidden;
    border-radius: 3rem;
}

/* Linear gradient overlay for text readability */
.feature-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
    z-index: 1;
}

.feature-image img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    max-height: 700px;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
}

/* Figcaption styles matching gallery */
.feature-image figcaption {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-colour-001);
    z-index: 2;
    text-align: left;
    margin: 0;
}

.feature-image figcaption .name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-colour-001);
}

.feature-image figcaption .ingredients {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--primary-colour-001);
    line-height: 1.4;
    display: block;
    max-width: 40ch;
}

@media screen and (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-col-image {
        order: -1;
    }

    .feature-image img {
        height: 600px;
        min-height: unset;
        max-height: unset;
    }
}

/* Feature Menu List Layout Overrides */
.menu-feature .menu-grid {
    gap: 1.5rem;
}

.menu-feature .menu-item {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 0.25rem;
}

.menu-feature .menu-item:hover {
    transform: none;
}

/* Update Global/Menu Header H1 */
.menu-header h1 {
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--primary-006);
}

.menu-feature .menu-item h4 {
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    font-size: 1.25rem;
    color: var(--neutral-004);
    /* Match reference brown */
    margin-bottom: 0;
    grid-column: 1;
    grid-row: 1;
}

.menu-feature .menu-item .price {
    font-family: 'Poetsen One', 'Trebuchet MS', Verdana, sans-serif;
    font-size: 1.25rem;
    color: var(--neutral-004);
    grid-column: 2;
    grid-row: 1;
    text-align: right;
}

.menu-feature .menu-item p {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--neutral-004);
    font-size: 1rem;
    margin-bottom: 0;
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.25rem;
    max-width: 42ch;
}

@media screen and (max-width: 1024px) {
    .submenu-tabs {
        top: 125px;
        /* Adjusted to account for kitchen time text */
    }
}


/* --- Header Hiding Logic --- */

/* 1. Hide the main header */
body.header-hidden .site-header {
    transform: translateY(-100%);
    box-shadow: none;
}

/* 2. Move Sticky Elements Up */
/* Default sticky positions (when header is visible) are:
   Menu Header: 116px (Desktop), 114px (Tablet), 112px (Mobile)
   Tabs: 230px (Desktop), 206px (Mobile/Tablet)
*/

/* --- Desktop --- */
body.header-hidden .menu-header {
    top: 2rem;
}

body.header-hidden .submenu-tabs {
    /* menu-header at 2rem (~32px) + menu-header height incl. kitchen text */
    top: 163px;
    /* Desktop: Adjusted for kitchen time text */
}

/* --- Mobile / Tablet --- */
@media screen and (max-width: 1024px) {
    body.header-hidden .menu-header {
        top: 2rem;
    }

    body.header-hidden .submenu-tabs {
        top: 149px;
        /* 32px + 82px gap + 35px kitchen text */
    }
}

@media screen and (max-width: 480px) {
    body.header-hidden .menu-header {
        top: 2rem;
    }

    body.header-hidden .submenu-tabs {
        top: 149px;
        /* Consistent gap + kitchen text */
    }
}

/* Leaf Icon */
.leaf-icon {
    height: 1em;
    width: auto;
    display: inline-block;
    vertical-align: text-bottom;
    margin-left: 0.25rem;
}

/* Info Section */
.info-section {
    background-color: var(--primary-colour-001);
    padding: 0 0 80px 0;
    width: auto;
    margin: 0 1rem 80px 1rem;
}

.info-section .container {
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.info-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    background-color: var(--primary-003);
    border-radius: 2rem;
    padding: 1.5rem 2rem;
    max-width: 100%;
    width: 100%;
    margin: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-item span {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--neutral-004);
    font-weight: 500;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    font-size: 2rem;
}

/* Color Themes */
.theme-red .icon-circle {
    background-color: var(--red-001);
    color: var(--red-002);
}

.theme-green .icon-circle {
    background-color: var(--green-001);
    color: var(--green-003);
}

/* Announcement Section (Propagated) */
/* Announcement Section (Propagated) */
















/* Hero Link - Hide Underline on Hover */
.hero-link {
    position: relative;
    text-decoration: none;
    padding-bottom: 2px;
}

/* Visible underline default */
.hero-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

/* Hide on hover - DESKTOP ONLY */
@media (hover: hover) and (min-width: 1025px) {
    .hero-link:hover::after {
        width: 0%;
    }
}

@media screen and (max-width: 1024px) {
    .hero-link {
        background-color: transparent !important;
        border: 2px solid var(--primary-colour-001) !important;
        /* 1rem radius to match Directions button */
        border-radius: 1rem !important;
        padding: 0.75rem 0 !important;
        /* Remove extra padding bottom to avoid double line look */
        padding-bottom: 0.75rem !important;
        text-decoration: none !important;
        min-width: 10rem;
        text-align: center;
        justify-content: center;
        display: inline-flex;
    }

    .hero-link:hover {
        border-color: var(--primary-colour-001) !important;
        background-color: transparent !important;
    }

    .hero-link::after {
        display: none !important;
        content: none !important;
        /* Force remove */
    }
}

/* --- Weekly Events Section (Copied from Kamppi) --- */

.section.weekly-events {
    padding: 80px 0;
    width: 100%;
    margin: 0 auto;
}

.weekly-events .container.events {
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
}

.event-heading-group {
    display: grid;
    grid-template-columns: 1fr 2.5fr 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 48px;
    text-align: center;
}

.event-image-div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.event-image {
    max-width: 100%;
    height: auto;
}

.event-header h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    color: var(--primary-009);
}

/* Event Cards */
.event-div {
    margin-bottom: 1rem;
}

.event-item {
    background-color: var(--primary-colour-001);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Date Box */
.date-time {
    background-color: var(--primary-002) !important;
    border-radius: 16px;
    width: 160px;
    height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.event-date {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--neutral-004);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.event-time {
    font-family: var(--font-body);
    font-size: 2rem;
    color: var(--neutral-004);
}

/* Description */
.event-description {
    flex: 1;
}

.event-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.event-name {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-004);
}

.popular-event-tag {
    background-color: var(--primary-002);
    color: var(--primary-009);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.popular-event-tag i {
    font-size: 1.25rem;
}

.event-description p {
    font-size: 1rem;
    color: var(--neutral-004);
    max-width: 60ch;
}

/* Mobile view (Hidden on desktop by default) */
.event-mobile {
    display: none;
}

@media screen and (max-width: 900px) {
    .event-heading-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .event-image-div {
        display: none;
    }

    .event-header h2 {
        font-size: clamp(2rem, 5vw, 4rem);
    }

    .event-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 24px;
    }

    .date-time {
        display: none;
    }

    .event-description {
        display: none;
    }

    .event-mobile {
        display: block;
        width: 100%;
    }

    .date-time-mobile {
        display: flex;
        gap: 16px;
        margin-bottom: 16px;
        font-weight: 600;
        color: var(--neutral-004);
        text-transform: uppercase;
    }

    .date-time-mobile i {
        display: none;
    }

    .event-mobile .text-block-30 {
        color: var(--primary-009);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.875rem;
    }

    .date-time-mobile div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .event-icon {
        width: 20px;
        height: 20px;
    }

    .event-name-mobile {
        font-family: var(--font-heading);
        font-size: 1.5rem;
        color: var(--neutral-004);
        margin-bottom: 8px;
    }
}

/* Follow Button Override (Match Main Site 500px breakpoint) */
@media screen and (max-width: 500px) {
    .follow-buttons {
        flex-direction: column;
    }

    .follow-link {
        width: 100% !important;
        flex: initial;
    }
}