/* 
   Theme: Premium Nature 
   Inspiration: Les Pins de César 
*/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');

:root {
    /* Colors */
    --color-primary: #1e3a2f;
    /* Deep Forest Green */
    --color-secondary: #c5a059;
    /* Muted Gold / Bronze */
    --color-text: #2c3e50;
    /* Dark Slate Blue/Grey */
    --color-text-light: #475569;
    --color-bg-cream: #f9f8f4;
    /* Warm white/cream */
    --color-bg-white: #ffffff;
    --color-black: #1a1a1a;

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

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

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 400;
    line-height: 1.2;
}

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

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

ul {
    list-style: none;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.container-narrow {
    max-width: 800px;
}

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

.bg-cream {
    background-color: #f0efe9;
}

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

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

/* Typography Components */
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    color: var(--color-bg-cream)
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-secondary);
    margin: var(--spacing-sm) 0 var(--spacing-md) 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-md) 0;
    transition: all var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-bg-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Improve visibility */
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .mobile-menu-btn {
    color: var(--color-primary);
    text-shadow: none;
    /* Remove shadow on white background */
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.nav-links a {
    color: var(--color-bg-white);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* Improve visibility */
}

.btn-book {
    background-color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
    padding: 0.6rem 1.8rem;
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-book:hover {
    background-color: #b08d4b;
    /* Darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: white !important;
}

/* Desktop Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
    height: 100%;
    display: flex;
    align-items: center;
}

.dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    color: var(--color-bg-white);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 0;
    /* Increase hit area */
    transition: var(--transition-fast);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.navbar.scrolled .dropdown-trigger {
    color: var(--color-primary);
    text-shadow: none;
}

.dropdown-trigger i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: white;
    min-width: 240px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 1001;
    /* Above navbar */
}

.dropdown-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    /* Bridge the gap */
    background: transparent;
}

.nav-item-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content a {
    color: var(--color-text) !important;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem !important;
    text-shadow: none !important;
    display: block;
    white-space: nowrap;
    transition: background 0.2s;
    text-transform: none !important;
    letter-spacing: 0;
}

.dropdown-content a:hover {
    background-color: var(--color-bg-cream);
    color: var(--color-secondary) !important;
    padding-left: 1.8rem;
    /* Subtle slide */
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--color-primary);
    /* Fallback */
    overflow: hidden;
}

.interactive-map-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.aerial-map-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.map-zone {
    fill: transparent;
    stroke: transparent;
    /* Invisible by default */
    stroke-width: 2;
    transition: all 0.3s ease;
    cursor: pointer;
    vector-effect: non-scaling-stroke;
}

.map-link:hover .map-zone {
    fill: rgba(197, 160, 89, 0.15);
    stroke: var(--color-secondary);
    stroke-width: 2;
}

.map-tooltip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-primary);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    transform: translate(-50%, -150%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    /* Darken slightly */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    color: white;
}

.hero h1 em {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 400;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: var(--transition-fast);
    cursor: pointer;
}

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

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.scroll-down .line {
    width: 1px;
    height: 40px;
    background-color: white;
}

/* Philosophy Section */
.philosophy {
    background-color: var(--color-bg-white);
}

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

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.image-wrapper {
    overflow: hidden;
    /* border-radius: 4px; */
}

.image-wrapper img {
    transition: transform 1s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Gites Grid */
.gites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: var(--spacing-lg);
}

.gite-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
}

.gite-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gite-card:hover .card-image img {
    transform: scale(1.1);
}

.tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    padding: 0.4rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--color-primary);
}

.card-content {
    padding: 2rem;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.capacity {
    font-size: 0.85rem;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-text {
    display: inline-block;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    font-size: 0.9rem;
    color: var(--color-primary);
}

/* Services */
.services-section {
    background-color: var(--color-bg-white);
}

.image-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: 300px 200px;
    gap: 1rem;
}

.img-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    height: 100%;
    object-fit: cover;
}

.img-2 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    /* Offset vertically */
    height: 100%;
    object-fit: cover;
}

.services-list {
    margin-top: 2rem;
}

.services-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.services-list i {
    color: var(--color-secondary);
    min-width: 24px;
}

.services-list h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.services-list p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* Quote */
.quote-section {
    background-color: var(--color-primary);
    color: white;
    padding: var(--spacing-xl) 0;
}

.quote-icon {
    width: 48px;
    height: 48px;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    opacity: 0.5;
}

blockquote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
}

cite {
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--color-secondary);
}

/* Footer */
footer {
    background-color: #15201b;
    /* Very dark green */
    color: white;
    padding: var(--spacing-xl) 0 2rem 0;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    display: block;
    margin-bottom: 1rem;
}

.brand-col p {
    opacity: 0.7;
    max-width: 300px;
}

.footer-col h3 {
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.footer-col ul li,
.footer-col p {
    margin-bottom: 0.8rem;
    opacity: 0.8;
}

.footer-col a:hover {
    color: var(--color-secondary);
}

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

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

/* Responsive */
@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .reverse-mobile {
        display: flex;
        flex-direction: column-reverse;
    }

    .services-section .image-grid {
        display: none;
        /* Simplify for mobile, or stack */
    }

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

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

    .hero {
        height: 100vh;
        min-height: 100vh;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: -100vh;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        /* Full screen again */
        max-height: none;

        background-color: rgba(21, 32, 27, 0.98);
        /* Deep green, almost opaque */
        backdrop-filter: blur(15px);
        /* Stronger blur */
        padding: 5rem 2rem 4rem 2rem;

        transition: top 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        justify-content: flex-start;
        align-items: stretch;
        /* Full width for borders */
        gap: 0;

        box-shadow: none;
        /* No shadow needed for full screen */
        border-bottom: none;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;

        overflow-y: auto;
    }

    .nav-links.active {
        top: 0;
    }

    /* Style improvements for links inside mobile menu */
    /* Style improvements for links inside mobile menu */
    .nav-links>a,
    .nav-item-dropdown {
        width: 100%;
        border-bottom: none;
        /* Clean look */
        padding: 1rem 0;
        text-align: center;
        justify-content: center;
        position: relative;
    }

    .nav-links>a::after {
        content: '';
        position: absolute;
        bottom: 0.5rem;
        left: 50%;
        width: 0;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3);
        transition: width 0.3s ease, left 0.3s ease;
        transform: translateX(-50%);
    }

    .nav-links>a:active::after {
        width: 50px;
    }

    .nav-links>a:last-child {
        border-bottom: none;
        margin-top: 2rem;
    }

    /* Dropdown Styles for Mobile */
    .nav-item-dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 1.5rem 0;
        /* Match links */
    }

    .dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        font-family: var(--font-heading);
        /* Premium Font */
        font-size: 1.5rem;
        /* Larger font */
        /* Larger font */
        color: var(--color-bg-white) !important;
        /* Force white text */
        background: none;
        border: none;
        text-transform: none;
        /* Sentence case or keep uppercase? Let's go classy standard */
        letter-spacing: 1px;
        cursor: pointer;
        width: 100%;
    }

    .dropdown-content {
        display: flex;
        /* Always flex, hide with max-height */
        flex-direction: column;

        /* Animation properties */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.4s ease;

        gap: 0;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.2);
        /* Darker inner bg */
        width: 100%;
        align-items: center;
        padding: 0;
        border-radius: 4px;

        /* Overrides */
        position: static;
        visibility: visible;
        transform: none;
        box-shadow: none;
        min-width: 0;
        z-index: auto;
    }

    .dropdown-content.active {
        max-height: 300px;
        /* Approximate max height */
        opacity: 1;
        margin-top: 1rem;
        padding: 1rem 0;
    }

    .dropdown-content a {
        font-family: var(--font-body);
        font-size: 1.1rem !important;
        opacity: 0.8 !important;
        transform: none !important;
        text-transform: none;
        padding: 0.8rem 0;
        display: block;
        width: 100%;
        text-align: center;
        border: none;
        /* No border for sub-items */
    }

    /* Remove the old animation */
    @keyframes fadeIn {
        from {}

        to {}
    }

    .nav-links>a,
    .nav-item-dropdown {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        /* Separators */
        padding: 1.2rem 0;
        display: flex;
        justify-content: center;
        /* Keep centered */
    }

    .nav-links>a:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        /* Top frame */
    }

    .nav-links a {
        font-family: var(--font-heading);
        /* Premium Font */
        font-size: 1.5rem;
        color: var(--color-bg-white) !important;
        /* Force white text */
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        text-shadow: none;
    }

    /* Reserve button special styling */
    .nav-links a.btn-book {
        border: 1px solid var(--color-secondary) !important;
        /* Gold border */
        margin-top: 2rem;
        margin-bottom: 1rem;
        width: auto;
        padding: 0.8rem 3rem;
        display: inline-flex;
        background-color: transparent !important;
        border-radius: 50px;
        /* Rounded pill */
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateY(0);
    }

    .btn-book {
        width: auto !important;
        display: inline-block !important;
        padding: 0.8rem 3rem !important;
        background-color: transparent !important;
        border: 1px solid var(--color-secondary) !important;
        color: var(--color-secondary) !important;
        font-family: var(--font-heading);
        font-size: 1.1rem;
        letter-spacing: 2px;
        margin-top: 1rem;
        transition: all 0.3s ease;
    }

    .btn-book:hover {
        background-color: var(--color-secondary) !important;
        color: white !important;
    }

    /* Mobile Header Actions */
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .btn-book-mobile-top {
        display: inline-block;
        background-color: var(--color-secondary);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        position: relative;
        width: 32px;
        height: 32px;
        color: white;
        padding: 0;
    }

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

    .brand-col p {
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    /* Enhance buttons on mobile */
    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    /* Fix map scaling on mobile */
    .aerial-map-svg {
        height: 100%;
        /* Ensure it covers height */
        object-fit: cover;
    }

    .interactive-map-container {
        overflow: hidden;
    }

}

body.no-scroll {
    overflow: hidden;
}


/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Naturopathy Section */
.naturopathy-section {
    background-color: var(--color-bg-white);
    position: relative;
    overflow: hidden;
}

.naturopathy-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.naturopathy-content {
    padding-right: var(--spacing-md);
}

.naturopathy-image {
    position: relative;
    height: 500px;
    border-radius: 4px;
    /* Soft radius */
    overflow: hidden;
}

.naturopathy-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.naturopathy-image:hover img {
    transform: scale(1.05);
}

.option-card {
    background: var(--color-bg-cream);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all var(--transition-fast);
}

.option-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.option-info h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.option-price {
    color: var(--color-secondary);
    font-weight: 700;
}

/* Custom Checkbox */
.option-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.option-toggle input {
    display: none;
}

.option-toggle input:checked+.checkbox-custom {
    background-color: var(--color-primary);
}

.option-toggle input:checked+.checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 14px;
}

/* Page Transition Animations */
body {
    transition: opacity 0.6s ease;
    opacity: 1;
}

body.page-exiting {
    opacity: 0;
    pointer-events: none;
}

.gite-card.active {
    z-index: 100;
    position: relative;
}

.gite-card.active .card-image img {
    transform: scale(1.15);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 900px) {
    .naturopathy-container {
        grid-template-columns: 1fr;
    }

    .naturopathy-content {
        padding-right: 0;
        order: 2;
    }

    .naturopathy-image {
        order: 1;
        height: 300px;
    }
}

/* Content Blocks */
.content-block {
    background-color: var(--color-bg-white);
    padding: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    /* Subtle shadow for depth */
}

/* Detail Page Styles */
.detail-hero {
    height: 60vh;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
}

.detail-content {
    padding: var(--spacing-lg) 0;
}

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

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    /* Soft radius */
    cursor: pointer;
}

.gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

/* Reservation Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 47, 0.9);
    /* Primary color with transparency */
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--color-bg-white);
    padding: 3rem 2rem;
    max-width: 500px;
    width: 90%;
    border-radius: 4px;
    text-align: center;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(197, 160, 89, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--color-secondary);
}

.modal-icon {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.contact-method {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--color-bg-cream);
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: 600;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.back-link:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
    margin-top: 1rem;
}

@media (min-width: 600px) {
    .amenities-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 0.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.amenity-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border-color: rgba(197, 160, 89, 0.2);
}

.amenity-item i,
.amenity-item svg {
    /* Support both if lucide uses svg directly */
    color: var(--color-secondary);
    width: 32px;
    height: 32px;
    margin-bottom: 0.8rem;
    stroke-width: 1.5;
}

.amenity-item span {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.3;
}

/* Booking Widget Placeholder */
.booking-section {
    background-color: var(--color-bg-white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.booking-widget-placeholder {
    background: #fff;
    border: 1px dashed var(--color-secondary);
    padding: 3rem;
    margin-top: 2rem;
    border-radius: 4px;
    color: var(--color-text-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 200px;
}

.booking-notice {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

/* Detail Hero Text Visibility */
.detail-hero h1,
.detail-hero p {
    color: white !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.detail-hero .hero-overlay {
    background: rgba(0, 0, 0, 0.4);
}

/* Link Wrapper for Cards */
.card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}


/* Testimonials Grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    color: var(--color-text);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.stars {
    color: #ffd700;
    /* Gold */
    margin-bottom: 1rem;
}

.author {
    margin-top: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-primary);
    text-align: right;
}

/* Stripe Button */
.btn-stripe {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #635bff;
    /* Stripe Blurple */
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-stripe:hover {
    background-color: #4b45c6;
    transform: translateY(-2px);
    color: white;
}


/* Lightbox */
#lightbox {
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: var(--color-secondary);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 2001;
    transition: color 0.3s;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    color: var(--color-secondary);
    background: rgba(0, 0, 0, 0.6);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Certification Badges */
.certification-badges {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.cert-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.cert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.cert-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.cert-brand {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-text-light);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cert-rating {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
}

/* Testimonials Slider */
.testimonials-slider-container {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 100%;
}

.testimonials-slider {
    overflow: hidden;
    width: 100%;
    margin: 0 1rem;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 2rem;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    /* 3 cards visible minus gap */
    background: #ffffff;
    color: var(--color-text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border: none;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    color: var(--color-text);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card .author {
    color: var(--color-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Adjust card for slider context specifically if needed, 
   but .testimonial-card styles might already exist. 
   Checking existing styles, they seem fine but we need to ensure flex-shrink is 0. */

.slider-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

.slider-btn:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    transform: scale(1.1);
}

/* Mobile Responsive for Slider */
@media (max-width: 900px) {
    .testimonial-card {
        flex: 0 0 100%;
        /* 1 card visible */
    }

    .testimonials-slider-container {
        padding: 0;
        margin-bottom: 3rem;
        /* Add space for buttons below */
        flex-direction: column;
        /* Stack slider and buttons */
    }

    .testimonials-slider {
        margin: 0;
    }

    .slider-btn {
        position: static;
        background: var(--color-primary);
        width: 50px;
        height: 50px;
        transform: none !important;
        /* Reset hover transform */
    }

    /* Create a controls container hack via order or positioning */
    .prev-btn {
        order: 2;
        margin-right: 1rem;
    }

    .next-btn {
        order: 3;
    }

    .testimonials-slider {
        order: 1;
        margin-bottom: 1.5rem;
    }

    /* Use a wrapper for buttons if possible, but here we use flex order */
    .testimonials-slider-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .testimonials-slider {
        flex: 0 0 100%;
    }

    /* Fix bug: Gap breaks 100% translation logic on mobile */
    .slider-track {
        gap: 0;
    }
}

/* Mobile Header Actions */
.mobile-header-actions {
    display: none;
}

@media (max-width: 768px) {
    .mobile-header-actions {
        display: flex;
    }
}

/* Property Details Redesign */
.property-details {
    background-color: var(--color-bg-cream);
}

.property-intro {
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.property-intro .eyebrow {
    color: var(--color-secondary);
    font-weight: 700;
}

.property-intro h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.property-intro .lead {
    font-size: 1.1rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: var(--spacing-lg);
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-left: 3px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border-left-color: var(--color-secondary);
}

.info-card i {
    color: var(--color-secondary);
    width: 28px;
    height: 28px;
    margin-bottom: 1rem;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.info-card p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.info-card .highlight {
    color: var(--color-secondary);
    font-weight: 700;
}