/* Landing Page CSS - Based on Kallio */

/* 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;
    --primary-010: #EC9B50;

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

    --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-009);
}

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;
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    min-height: 88px;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: left 0.3s ease-in, transform 0.3s ease-in;
}

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

.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 */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

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

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

/* Nav Link Button Style */
/* Nav Link Button Style replaced by btn-outline component */
/* Nav Link Button Style replaced by btn-outline component */
/* .nav-links a styles removed */

.burger {
    display: none;
}

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

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

/* 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(to bottom, rgba(255, 184, 129, 0.25) 0%, rgba(21, 5, 0, 0.85) 100%), url('images/hero-image.jpg');
    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: 3rem;
    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: 3rem;
    color: var(--primary-colour-001);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Dropdown */
.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.hero-dropdown {
    position: relative;
    display: inline-block;
}

.hero-dropdown-menu {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--primary-colour-001);
    min-width: 250px;
    padding: 0;
    /* Removed padding */
    border-radius: 1rem;
    overflow: hidden;
    /* Clips children */
    /*border: 2px solid var(--neutral-004);*/
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
}

.hero-dropdown.active .hero-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.hero-dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--neutral-004);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    /* Removed radius */
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

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

/* Visit Us Today Section */
.visit-section {
    padding: 0rem 0;
}

.visit-section .container {
    max-width: 100%;
}

/* New 3-column layout */
.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.visit-image {
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
}

.visit-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 184, 129, 0.25) 0%, rgba(21, 5, 0, 0.85) 100%);
    pointer-events: none;
}

.visit-image img {
    width: 100%;
    height: 28rem;
    object-fit: cover;
    display: block;
}

.visit-image-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-colour-001);
    line-height: 1.2;
    text-align: center;
    z-index: 1;
}

.visit-center {
    text-align: center;
    padding: 4rem 0 0 0;
}

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

.visit-locations {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
}

.visit-location {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.visit-location p {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-004);
}

/* Kamppi - left aligned */
.visit-location {
    text-align: left;
    align-items: flex-start;
}

/* Kallio - right aligned */
.visit-location--right {
    text-align: right;
    align-items: flex-end;
}

.visit-address {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--neutral-004);
    text-decoration: none;
    position: relative;
    width: fit-content;
}

.visit-address::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neutral-004);
    transition: width 0.3s ease;
}

.visit-location--right .visit-address {
    margin-left: auto;
}

@media (hover: hover) {
    .visit-address:hover {
        opacity: 1;
    }

    .visit-address:hover::after {
        width: 100%;
    }
}

/* CTA with underline hover */
.visit-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-004);
    margin-top: 1.5rem;
}

.visit-cta span {
    position: relative;
}

.visit-cta span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--neutral-004);
    transition: width 0.3s ease;
}

.visit-cta i {
    font-size: 1.5rem;
    color: var(--neutral-004);
}

@media (hover: hover) {
    .visit-cta:hover {
        opacity: 1;
    }

    .visit-cta:hover span::after {
        width: 100%;
    }
}

.visit-location--right .visit-cta {
    margin-left: auto;
}

/* Visit Us Today Section - Alternative Layout */
.visit-section-alt {
    padding: 3rem 0;
}

.visit-section-alt h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-009);
    margin-bottom: 2rem;
    text-align: left;
}

.visit-cards {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

.visit-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.5rem;
    align-items: end;
}

.visit-card--reversed {
    direction: rtl;
}

.visit-card--reversed>* {
    direction: ltr;
}

.visit-card-image {
    border-radius: 4rem;
    overflow: hidden;
    position: relative;
}

.visit-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 184, 129, 0.15) 0%, rgba(21, 5, 0, 0.85) 100%);
    pointer-events: none;
}



.visit-card-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 2;
    width: 100%;
}

.visit-card-image-label {
    /* Position removed as now handled by container */
    position: static;
    transform: none;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-colour-001);
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0;
}

.visit-card-image img {
    border-radius: 4rem;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.visit-card-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 2rem;
}

.visit-card--reversed .visit-card-info {
    text-align: right;
    align-items: flex-end;
}

.visit-card-info h3 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--neutral-004);
    margin: 0;
}

.visit-hours p {
    font-size: 1rem;
    color: var(--neutral-004);
    margin: 0 0 0.25rem;
    line-height: 1.6;
}

.visit-card-address {
    font-size: 1rem;
    margin-top: 0.25rem;
    text-transform: none;
}

/* Book a Table - btn-minimal on desktop, outline button on mobile */
.visit-card-book-btn {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Ensure ::after is visible for underline effect (inherited from btn-nav) */
/* Custom hover opacity if needed, otherwise btn-nav handles it */

/* Override btn-nav ::after for address links - no animated underline */
.visit-card-address::after {
    display: none;
}

/* Open Map Button positioned in card image container */
.visit-card-map-btn {
    position: static;
    transform: none;
    /* top/left/transform removed */
    z-index: 2;
    color: var(--primary-colour-001);
    text-transform: uppercase;
    font-size: 0.875rem;
    width: fit-content;
    /* Ensure it doesn't stretch */
    display: inline-flex;
    align-self: center;
    position: relative;
    /* For ::after positioning */
}

.visit-card-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Match parent alignment */
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
}

.visit-card-map-btn span {
    color: var(--primary-colour-001);
}

.visit-card-map-btn::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-colour-001);
    transition: width 0.3s ease;
}

@media (hover: hover) {
    .visit-card-map-btn:hover::after {
        width: 100%;
    }
}

.visit-card-map-btn i {
    font-size: 1.25rem;
    color: var(--primary-colour-001);
}

.visit-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 10rem;
    font-weight: 600;
    color: var(--neutral-005);
    padding: 0.5rem 1.5rem;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 0.02em;
    background-color: var(--primary-010);
    /*border: 2px solid var(--neutral-005);*/
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.visit-card-cta i {
    font-size: 1.5rem;
    color: var(--neutral-005);
}

.visit-card-cta span {
    color: var(--neutral-005);
}

@media (hover: hover) {
    .visit-card-cta:hover {
        background-color: var(--primary-004);
        opacity: 1;
    }
}

/* Announcement Card Specific Styles */
.visit-card.announcement-card {
    background-color: var(--primary-002);
    padding: 0;
    border-radius: 0;
    grid-template-columns: 1fr 1fr;
    /* Wider Image */
    align-items: stretch;
}

.visit-card.announcement-card .visit-card-image::after {
    content: none;
}

.visit-card.announcement-card .visit-card-image {
    padding: 4rem;
    border-radius: 0;
    height: 100%;
}

.visit-card.announcement-card .visit-card-info {
    align-items: flex-start;
    padding: 4rem;
    justify-content: center;
    height: 100%;
}

.visit-card.announcement-card h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--primary-009);
    margin-bottom: 1rem;
}

.visit-card.announcement-card p {
    margin-bottom: 2rem;
    max-width: 50ch;
    font-size: 1rem;
    /* Desktop limit */
}

/* Tablet & Mobile Adjustments for Announcement Card */
/* Tablet & Mobile Adjustments (max-width: 1100px) */
@media screen and (max-width: 1100px) {
    .visit-card.announcement-card {
        padding: 0 2rem;
        gap: 0;
        grid-template-columns: 1fr;
    }

    .visit-card.announcement-card .visit-card-image {
        padding: 0;
        border-radius: 0;
        aspect-ratio: 4/3;
    }

    .visit-card.announcement-card .visit-card-info {
        padding: 3rem 1.5rem;
    }

    .visit-card.announcement-card p {
        max-width: 60ch;
    }

    .visit-card.announcement-card .visit-card-info {
        align-items: center;
        text-align: center;
    }

    .visit-card.announcement-card p {
        max-width: 60ch;
        margin-left: auto;
        margin-right: auto;
    }

    /* Visit Card Actions - Tablet Defaults */
    .visit-card-actions {
        gap: 1.25rem;
        margin-top: 0.5rem;
        width: 100%;
        flex-direction: row;
        /* Tablet row */
        flex-wrap: wrap;
        justify-content: center;
    }

    .visit-card-actions .btn-primary,
    .visit-card-info .btn-primary {
        width: 250px;
        /* Fixed width for tablet - matches follow buttons */
        justify-content: center;
    }

    .visit-card-book-btn {
        background-color: transparent;
        color: var(--neutral-004);
        padding: calc(0.875rem - 2px) 1.5rem;
        border: 2px solid var(--neutral-004);
        border-radius: 1rem;
        font-size: 0.875rem;
        text-transform: uppercase;
        letter-spacing: 0.02em;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        gap: 0.5rem;
        width: 250px;
        /* Fixed width for tablet - matches follow buttons */
        margin-bottom: 0px;
    }

    /* Hide underline pseudo-element on mobile - use outline button style instead */
    .visit-card-book-btn::after {
        display: none;
    }

    /* Reset Hover for Touch (Base Reset) */
    /*.visit-card-map-btn:hover {
        opacity: 1;
        background-color: transparent;
        color: var(--primary-colour-001);
        border-color: transparent;
    }*/

    /* .visit-card-map-btn:hover::after {
        width: 0%;
    }*/
}

/* Mobile Layout Fixes (< 900px) - Covers 601px-900px range */
@media screen and (max-width: 900px) {


    .site-footer .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    /* Column Orders */
    .footer-col.footer-logo-section {
        order: 1;
        align-items: flex-start;
    }

    .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;
    }

    /* Footer styling adjustments */
    .footer-logo-main {
        width: 100px;
        margin-bottom: 1rem;
        align-self: flex-start;
    }

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

    .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-col h3 {
        text-align: left;
        margin-bottom: 1rem;
    }

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

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

    /* Font overrides */
    .footer-col p,
    .footer-email,
    .oiva-link,
    .footer-address,
    .social-link,
    .location-subtitle,
    .footer-nav-section ul li a,
    .btn-nav {
        font-size: 1rem !important;
    }

    .visit-card-map-btn,
    .visit-card-book-btn {
        font-size: 0.875rem !important;
    }






}

/* Mobile Specific (< 768px) */
@media screen and (max-width: 768px) {
    .visit-card.announcement-card h2 {
        font-size: 2rem;
    }

    .visit-card.announcement-card p {
        max-width: 50ch;
        margin-left: auto;
        margin-right: auto;
    }

    .follow-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small Mobile (< 600px) */
@media screen and (max-width: 600px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media screen and (max-width: 500px) {
    .logo {
        left: 1rem;
    }

    .visit-card-actions,
    .follow-buttons {
        flex-direction: column;
        /* Stack vertically */
    }

    .visit-card-actions .btn-primary,
    .visit-card-actions .btn-nav,
    .visit-card-book-btn,
    .visit-card-info .btn-primary,
    .follow-link {
        width: 100% !important;
        /* Full width */
        flex: initial;
    }
}

/* -----------------------------------------------------------------
   HOVER STATE GUARDS
   Only apply hover effects on devices that support hover.
   This fixes persistent hover states on touch devices.
----------------------------------------------------------------- */

@media (hover: hover) {

    /* Reset from previous media queries - re-apply for Desktop */


    .visit-card-map-btn:hover::after {
        width: 100%;
    }

    .footer-address:hover {
        text-decoration: none;
        color: var(--neutral-004);
        opacity: 0.8;
    }

    /* Add other specific hover effects here if they were removed/reset */
}

/* 
   FORCE overrides for touch/mobile to ensure no sticky hover
   These use !important to guarantee they override any lingering :hover rules
   that might be triggered by tap. 
*/
@media screen and (max-width: 1100px) {


    /* Re-adding the "Outline-like" style for map button on mobile if it was there */
    .visit-card-map-btn {
        background-color: transparent;
        border: 2px solid currentColor;
        /* This makes it look like outline */
        border-radius: 1rem;
        padding: 0.875rem 1.5rem;
        text-decoration: none;
        display: inline-flex;
        width: auto;
    }

    .announcement-variant-text p {
        max-width: 60ch;
        margin-left: auto;
        margin-right: auto;
    }

    .visit-card-map-btn:hover {
        border-color: var(--primary-colour-001) !important;
        /* Explicit color to avoid ambiguity */
        color: var(--primary-colour-001) !important;
        background-color: transparent !important;
        opacity: 1 !important;
    }

    .visit-card-map-btn:hover::after {
        width: 0% !important;
    }

    .footer-address:hover,
    .footer-col ul li a:hover,
    .btn-nav:hover,
    .footer-nav-section ul li a:hover {
        color: var(--neutral-004) !important;
        text-decoration: underline !important;
        /* Keep underline for links if that is default */
        opacity: 1 !important;
        background-color: transparent !important;
    }

    /* Ensure no animated underline on hover for footer links on mobile */
    .btn-nav:hover::after,
    .footer-col ul li a:hover::after {
        width: 0% !important;
    }
}



/* Gallery Section - Horizontal Scroll */
/* Gallery Section - Horizontal Scroll */


/* Follow Us Section - Grid Layout */


/* Announcement Section */
/* Announcement Section (Propagated) */
.announcement-section {
    padding: 0;
    background-color: var(--primary-colour-001);
}

.announcement-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

@media screen and (max-width: 768px) {
    .announcement-container {
        padding: 0;
    }
}

/* Variant 1: Text Only */
.announcement-variant-text {
    text-align: center;
    background-color: var(--primary-002);
    padding: 5rem 2rem;
    border-radius: 0;
}

.announcement-variant-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--primary-009);
}

.announcement-variant-text p {
    font-size: 1rem;
    max-width: 60ch;
    margin: 0 auto;
}

/* Variant 2: Text + Image */
/* Variant 2: Text + Image */
.announcement-variant-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0rem;
    align-items: stretch;
    background-color: var(--primary-002);
    /* Requested BG on Container */
    border-radius: 2rem;
    overflow: hidden;
    /* Clips children */
}

.announcement-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    justify-content: center;
    /* BG and Radius removed from here */
}

.announcement-content h2 {
    font-size: clamp(2.5rem, 5vw, 3rem);
    line-height: 1.1;
    color: var(--primary-009);
    margin: 0;
}

.announcement-content p {
    font-size: 1rem;
    margin: 0;
}

.announcement-image {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    /* Radius removed, handled by parent */
}



.announcement-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media screen and (max-width: 900px) {
    .announcement-variant-grid {
        grid-template-columns: 1fr;
    }

    .announcement-image {
        order: -1;
        /* Image top on mobile */
        min-height: 200px;
    }
}



/* Location Section */
.location-section {
    padding: 3rem 2rem;
}

.location-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.location-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-002);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-007);
}

@media (hover: hover) {
    .location-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px rgba(89, 38, 13, 0.15);
        background: #fff;
        border-color: var(--primary-004);
        opacity: 1;
    }
}

.location-card h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-005);
}

.location-card p {
    font-size: 1rem;
    color: var(--neutral-003);
    margin-bottom: 1.5rem;
}

.location-card .btn-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-002);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.location-card .btn-arrow svg {
    width: 20px;
    fill: var(--primary-005);
    transition: transform 0.3s ease;
}

@media (hover: hover) {
    .location-card:hover .btn-arrow {
        background-color: var(--primary-004);
    }
}

@media (hover: hover) {
    .location-card:hover .btn-arrow svg {
        fill: var(--primary-colour-001);
        transform: translateX(3px);
    }
}

/* Sitemap Footer */
.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;
    grid-template-columns: 1fr;
    gap: 3rem;
}

/* Mobile Footer Layout (< 1100px) - Replaces 2-Col & 3-Col Tablet */
@media screen and (max-width: 1100px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        /* Spacing between "orange blocks" */
    }

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

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

    .oiva-link {
        align-self: flex-start;
        display: block;
        width: 100%;
        text-align: left;
    }

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

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

    /* Col 5: Locations */
    .footer-locations-section {
        order: 4;
    }

    /* Col 2: Follow Us */
    .footer-social-section {
        order: 5;
    }

    /* Styling Updates for Nav Links (Kamppi/Kallio) */
    .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);
        /* Keep last border if "full width block" implies it */
    }

    .footer-col h3 {
        text-align: left;
        margin-bottom: 1rem;
    }

    /* Ensure specific alignment for other elements */
    .footer-locations-section,
    .footer-social-section {
        align-items: flex-start;
        text-align: left;
    }

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

    /* Font Size Override for Mobile (1-Col) */
    .footer-col p,
    .footer-email,
    .oiva-link,
    .footer-address,
    .social-link,
    .location-subtitle,
    .footer-nav-section ul li a,
    .btn-nav {
        font-size: 1rem !important;
    }

    /* Override specifically for outline buttons to match request */
    .visit-card-map-btn,
    .visit-card-book-btn {
        font-size: 0.875rem !important;
    }

    .visit-card-info {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

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

    .footer-col {
        width: 100%;
        display: flex;
        /* Make columns flex containers */
        flex-direction: column;
        align-items: center;
        /* Center items horizontally within the column */
        text-align: center;
        /* Ensure text centers */
    }

    /* Column specific adjustments */

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

    /* Social Links - Block is centered, but items inside align left */
    .footer-social-section {
        align-items: center;
        /* Centers the h3 and the container */
    }

    .social-links-stacked {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Icons left aligned */
        width: fit-content;
        /* Shrinkwrap to content width */
    }

    /* Boost specificity to override common styles defined later */
    .footer-container .footer-nav-section,
    .footer-container .footer-locations-section {
        text-align: left;
        align-items: flex-start;
    }

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

/* Nav Column Styles */
.footer-col .btn-nav {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0;
    /* Reset padding for list layout */
    justify-content: flex-start;
    text-transform: uppercase;
    /* Enforce all-caps */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

/* .footer-col ul li a styles removed to use btn-nav component */

/* Location Group Styles */
.location-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-group a {
    white-space: nowrap;
    /* Ensure address stays on one line */
}

.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;
}

/* Common Styles */
.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;
    /* Prevent wrapping */
}

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

.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;
}

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

/* Additional Footer Styles (from Kamppi) */
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.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;
}

@media (min-width: 1101px) {
    .footer-address:hover {
        text-decoration: none;
        color: var(--neutral-004);
    }
}

.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;
}

.oiva-link {
    font-weight: 700;
    display: inline-block;
    padding: 0.25rem 0;
    position: relative;
}

.oiva-link::after,
.social-link span::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 {
    position: relative;
}

@media (hover: hover) and (min-width: 1101px) {

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

    .footer-address:hover {
        text-decoration: none;
        color: var(--neutral-004);
        opacity: 1;
    }

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

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

.footer-info-section {
    text-align: center;
    align-items: center;
}

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

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

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

    .nav-left,
    .nav-right {
        display: none;
    }

    .menu-open .logo {
        position: absolute;
        left: 4rem;
        transform: none;
    }

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

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

    .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;
        width: 100%;
        padding-top: 4rem;
        padding-left: 4rem;
        padding-right: 4rem;
        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-left: 0.5rem;
        padding-right: 0.5rem;
    }

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

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

    .mobile-sub-menu {
        display: none;
        list-style: none;
        padding-left: 0;
        background-color: var(--primary-colour-001);
        /* Light background */
        /* margin-top: 0.5rem; */
    }

    .mobile-sub-menu li {
        border-bottom: 2px solid var(--neutral-002);
        padding-left: 1rem;
    }

    .mobile-sub-menu li:last-child {
        border-bottom: 2px solid var(--neutral-002);
    }

    .mobile-sub-menu a {
        font-size: 1rem;
        /* Match main links size or slightly smaller? User said "view page", implied same styled items? */
        padding: 0.75rem 0;
        text-transform: uppercase;
        font-weight: 600;
        /* Bolder as per reference? "View Menu" looks bold in ref 2. */
        color: var(--neutral-004);
        display: flex;
        /* Ensure full width clickable area */
        justify-content: space-between;
    }

    /* Add separator above the dropdown when expanded? Ref 2 shows separator between items. */
    /* Our li border-bottom handles it. */

    /* Removed font-weight: 600 to use inherited 500 from combined rule above */


    .mobile-dropdown-header i {
        font-size: 1.5rem;
        color: var(--neutral-004);
        transition: transform 0.3s ease;
    }

    .mobile-dropdown-item.active .mobile-sub-menu {
        display: block;
    }

    .mobile-dropdown-item.active .mobile-dropdown-header i {
        transform: rotate(180deg);
    }

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

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: flex;
        cursor: pointer;
        padding: 0.5rem;
        align-items: center;
        justify-content: center;
    }

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

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

    h2 {
        font-size: 3rem !important;
    }

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

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

    /* Hero buttons have consistent width on mobile */
    .hero-actions {
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions a,
    .hero-actions button,
    .hero-actions .btn-primary,
    .hero-actions .hero-dropdown {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-actions .hero-dropdown .btn-primary {
        display: flex;
        width: 100%;
    }

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

    /* Visit section responsive */
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .visit-image--left {
        order: 1;
    }

    .visit-center {
        order: 2;
    }

    .visit-image--right {
        order: 3;
    }

    .visit-section h2 {
        font-size: 2.5rem;
    }

    .visit-locations {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .visit-location,
    .visit-location--right {
        text-align: center;
        align-items: center;
    }

    .visit-location--right .visit-address,
    .visit-location--right .visit-cta {
        margin-left: 0;
    }

    .visit-image img {
        height: 25rem;
    }

    /* Visit section alt responsive */
    .visit-section-alt h2 {
        text-align: center;
    }

    .visit-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .visit-card--reversed {
        direction: ltr;
    }

    .visit-card-info,
    .visit-card--reversed .visit-card-info {
        text-align: center;
        align-items: center;
    }

    /* 2-Column Footer Alignment */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
        /* Left align title and details */
    }

    .footer-col {
        align-items: flex-start;
        /* Left align content */
    }

    .footer-col.footer-logo-section {
        align-items: flex-start;
        /* Left align logo */
        width: fit-content;
    }

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

    /* Hide Icons in Tablet/Mobile */
    .visit-card-map-btn i,
    .follow-link i {
        display: none;
    }

    /* 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;
    }

    /* Hide "Go Here" arrow */
    .visit-card .btn-primary i {
        display: none;
    }

    /* Open Map Button Style (Outline-like) */
    .visit-card-map-btn {
        background-color: transparent;
        border: 2px solid currentColor;
        border-radius: 1rem;
        /* Matches btn-outline radius */
        padding: 0.875rem 1.5rem;
    }

    /* Gallery: Hide custom controls, show scrollbar */
    .gallery-footer {
        display: none;
    }

    .gallery-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: auto;
        /* Ensure scrollbar is visible */
        padding-bottom: 1rem;
        /* Space for scrollbar */
    }

    /* Footer Touch Targets */
    /* Force Reset Hover States for Touch Devices */
    a:hover,
    .btn-nav:hover,
    .visit-card-cta:hover,
    .visit-address:hover,
    .oiva-link:hover,
    .social-link:hover {
        opacity: 1;
        text-decoration: none;
        color: inherit;
    }



    .footer-address:hover {
        opacity: 1;
        text-decoration: underline !important;
        /* Force underline */
        /* Keep underline on hover per user request "no hover state" */
        color: inherit !important;
    }

    .btn-primary:hover,
    .visit-card-cta:hover {
        background-color: var(--primary-009) !important;
        opacity: 1 !important;
    }

    .btn-outline:hover,
    .follow-link:hover {
        background-color: var(--primary-002) !important;
        /* Matches default bg of these elements if any, or transparent/specific */
        background-color: transparent !important;
        opacity: 1 !important;
    }

    .follow-link:hover {
        background-color: var(--primary-001) !important;
    }

    .btn-outline:hover {
        background-color: var(--primary-003) !important;
    }

    .visit-address:hover::after,
    .visit-cta:hover span::after,
    .visit-card-map-btn:hover::after,
    .oiva-link:hover::after,
    .social-link:hover span::after,
    .btn-nav:hover::after {
        width: 0% !important;
    }
}

@media screen and (max-width: 600px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    /* Fix Persistent Hover States for Mobile/Tablet */
    .visit-card-map-btn:hover {
        border-color: currentColor !important;
        /* Keep border visible */
        color: var(--primary-colour-001) !important;
        /* Keep text color */
        background-color: transparent !important;
        opacity: 1 !important;
    }

    .footer-address:hover {
        color: var(--neutral-004) !important;
        /* Prevent font color change */
        text-decoration: underline !important;
        opacity: 1 !important;
    }

    .hero .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }



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

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

/* ==========================================================================
   DEFINITIVE MOBILE OVERRIDES (Added to ensure specificity wins)
   ========================================================================== */

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

    /* 
       FIX: Direction Button Hover
       - Force border to stay visible (currentColor or explicit var)
       - Force underline (::after) to be hidden (width: 0%)
       - Force text color to remain consistent
       - Using 'body' prefix for higher specificity against any desktop rules
    */
    body .visit-card-map-btn {
        background-color: transparent;
        border: 2px solid currentColor;
        border-radius: 1rem;
        padding: 0.875rem 1.5rem;
        text-decoration: none;
        display: inline-flex;
        width: auto;
    }

    body .visit-card-map-btn:hover,
    body .visit-card-map-btn:active,
    body .visit-card-map-btn:focus,
    body .visit-card-map-btn:visited {
        border: 2px solid var(--primary-colour-001) !important;
        border-color: var(--primary-colour-001) !important;
        color: var(--primary-colour-001) !important;
        background-color: transparent !important;
        opacity: 1 !important;
        text-decoration: none !important;
        box-shadow: none !important;
        border-bottom-width: 2px !important;
        outline: none !important;
    }

    /* NUCLEAR RESET for anything inside the button */
    body .visit-card-map-btn *,
    body .visit-card-map-btn *:hover,
    body .visit-card-map-btn *:active,
    body .visit-card-map-btn *:focus {
        text-decoration: none !important;
        -webkit-text-decoration: none !important;
        /* Safari/Webkit fallback */
        text-decoration-line: none !important;
        text-decoration-color: transparent !important;
        /* Make it invisible if it persists */
        border-bottom: none !important;
        border: none !important;
        /* Kill any border on children */
        outline: none !important;
        /* Kill outline */
        box-shadow: none !important;
        background: transparent !important;
        color: var(--primary-colour-001) !important;
        /* Force explicit cream color */
    }

    /* Kill all pseudo-elements explicitly */
    body .visit-card-map-btn::before,
    body .visit-card-map-btn::after,
    body .visit-card-map-btn:hover::before,
    body .visit-card-map-btn:hover::after,
    body .visit-card-map-btn span::before,
    body .visit-card-map-btn span::after,
    body .visit-card-map-btn:hover span::before,
    body .visit-card-map-btn:hover span::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        opacity: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    /* 
       FIX: Footer Links Hover
       - Prevent color change
       - Prevent animated underline
    */
    body .footer-address:hover,
    body .footer-col ul li a:hover,
    body .btn-nav:hover,
    body .footer-nav-section ul li a:hover {
        color: var(--neutral-004) !important;
        text-decoration: underline !important;
        opacity: 1 !important;
        background-color: transparent !important;
    }

    body .btn-nav:hover::after,
    body .footer-col ul li a:hover::after {
        width: 0% !important;
        content: none !important;
    }

    /* 
       FIX: Book Button Hover
       - Prevent underline
       - Prevent unwanted border changes
    */
    body .visit-card-book-btn:hover {
        text-decoration: none !important;
        background-color: transparent !important;
        color: var(--neutral-004) !important;
    }

    body .visit-card-book-btn:hover::after {
        width: 0% !important;
        content: none !important;
        display: none !important;
    }

    /* Disable transitions on mobile hover to enforce zero-flash */
    body .visit-card-map-btn,
    body .visit-card-book-btn {
        transition: none !important;
    }
}

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



    /* 
       FIX: Micro-Interactions (Underlines & Colors) 
       - Explicitly hide 'after' pseudo-elements for nav links
       - Force Oiva link to keep color
    */
    body .footer-nav-section ul li a:hover,
    body .footer-nav-section ul li a {
        text-decoration: none !important;
        border-bottom: none !important;
    }

    body .footer-nav-section ul li a::after,
    body .footer-nav-section ul li a:hover::after {
        display: none !important;
        content: none !important;
        width: 0 !important;
    }

    body .oiva-link:hover,
    body .oiva-link {
        color: var(--neutral-004) !important;
        /* Force keep text color */
    }

    body .oiva-link:hover::after {
        width: 0% !important;
        content: none !important;
    }
}