/* ==========================================================================
   Global Variables & Reset
   ========================================================================== */
:root {
    --bg-main   : #f8f9fa;
    --primary   : #550000;
    --secondary : #7cac9c;
    --accent    : #869ba6;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: clip; /* Changed to clip to allow sticky elements to work! */
    width: 100%;
}

/* ==========================================================================
   Hero Slideshow Section
   ========================================================================== */
.slideshow-container {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9; 
    max-height: 85vh;
    overflow: hidden;
}

.slideshow-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.slide-caption {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 2;
    color: #ffffff;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(90vw, 900px);
    text-align: center;
    font-family: var(--font1);
    font-style: italic;
}

.mySlides {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.mySlides img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fade {
    animation-name: fade;
    animation-duration: 1.4s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
}

@keyframes fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.mySlides img[src*="Dining Table shot.jpg"] { object-position: center 20%; }
.mySlides img[src*="Modern Kubo w Pool.jpg"] { object-position: center 45%; }
.mySlides img[src*="Villa Night Shot.jpg"] { object-position: center 60%; }
.mySlides img[src*="Bonfire.jpg"] { object-position: center 75%; }
.mySlides img[src*="Family_Picture.jpg"] { 
    object-position: center 25%; 
    transform: scale(1.0); /* Edit this to zoom out (e.g., 0.85) or zoom in (e.g., 1.15) */
    transform-origin: center 90%; /* Anchor point for the zoom */
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-section {
    position: relative;
    background-color: var(--bg-main, #f8f9fa);
    width: 100%;
    padding: 64px 24px;
    overflow: hidden;
}

.intro-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.intro-title {
    font-family: var(--font1);
    font-weight: 700;
    font-size: clamp(28px, 3.6vw, 44px);
    color: #6e0b0b;
    margin: 0 0 8px 0;
}

.intro-sub {
    font-family: var(--font1);
    font-style: italic;
    color: var(--secondary, #7cac9c);
    margin: 0 0 20px 0;
    font-size: clamp(18px, 2.2vw, 22px);
}

.intro-body {
    font-family: var(--font2);
    color: #333;
    line-height: 1.6;
    margin: 0 auto 24px auto;
    max-width: 760px;
}

.intro-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: var(--font2);
    font-weight: 600;
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background-color: var(--secondary, #7cac9c);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #6f9f91;
}

.btn-outline {
    background: transparent;
    color: var(--secondary, #7cac9c);
    border: 2px solid var(--secondary, #7cac9c);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background-color: rgba(124, 172, 156, 0.1);
    border-color: #92a9ad;
    color: #92a9ad;
}

/* ==========================================================================
   Two-Column Feature Sections
   ========================================================================== */
.two-column-spot {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 0;
    width: 100%;
    background-color: var(--primary);
}

.spot-text {
    color: #fff;
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.spot-text h2, 
.spot-title {
    font-family: var(--font1);
    font-size: 40px;
    margin: 0 0 12px 0;
    color: #fff;
}

.spot-sub {
    font-family: var(--font1);
    font-style: italic;
    color: var(--secondary, #7cac9c);
    font-size: 20px;
    margin: 0 0 18px 0;
}

.spot-text p {
    font-family: var(--font2);
    max-width: 720px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-size: 17px;
    margin: 0 0 16px 0;
}

.spot-action { margin-top: 12px; }

.spot-slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 420px;
    max-height: 520px;
}

.guestSlides {
    display: none;
    position: absolute;
    inset: 0;
}

.guestSlides img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-crop-2 { object-position: center 60%; }

/* Farm to Table Spot */
.farm-table-spot {
    background-color: #f1f6f4;
    border-top: 1px solid rgba(124, 172, 156, 0.25);
    border-bottom: 1px solid rgba(124, 172, 156, 0.25);
    padding: 72px 48px;
    gap: 48px;
}

.farm-table-spot .farm-table-image-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.farm-table-spot .spot-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(85, 0, 0, 0.12);
    border: 1px solid rgba(124, 172, 156, 0.3);
}

.farm-table-spot .spot-featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
}

.farm-table-spot .spot-image-container:hover .spot-featured-img {
    transform: scale(1.03);
}

.farm-table-spot .spot-text {
    color: #2b2b2b;
    padding: 0;
}

.farm-table-spot .spot-title {
    color: #6e0b0b;
    font-family: var(--font1);
    font-size: clamp(30px, 3.2vw, 42px);
    margin: 0 0 8px 0;
}

.farm-table-spot .spot-sub {
    color: var(--secondary, #7cac9c);
    font-family: var(--font1);
    font-style: italic;
    font-size: clamp(18px, 1.8vw, 22px);
    margin: 0 0 20px 0;
}

.farm-table-spot .spot-text p {
    color: #4a4a4a;
    font-family: var(--font2);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 540px;
}

.farm-table-spot .btn-primary {
    background-color: var(--primary, #550000);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
}

.farm-table-spot .btn-primary:hover {
    background-color: #6e0b0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 0, 0, 0.2);
}

/* ==========================================================================
   Gallery Grid Styles
   ========================================================================== */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.05);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 280ms ease;
    padding: 24px;
}

.gallery-modal.is-active {
    opacity: 1;
    pointer-events: auto;
}
/* ==========================================================================
   Gallery Lightbox Inner Styles (Triggered by JS)
   ========================================================================== */

.gallery-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
    animation: modalPopIn 0.3s ease forwards;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 80vh; /* Keeps the image from overflowing the screen */
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.gallery-modal-caption {
    color: #ffffff;
    font-family: var(--font2, sans-serif);
    font-size: 16px;
    font-weight: 400;
    margin-top: 16px;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.gallery-modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    z-index: 10001;
    transition: color 200ms ease, transform 200ms ease;
    line-height: 1;
    padding: 0;
}

.gallery-modal-close:hover {
    color: var(--secondary, #7cac9c);
    transform: scale(1.1);
}

/* Optional: Adds a smooth pop-in effect to the image */
@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}
/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
    width: 100%;
    padding: 56px 20px 72px;
    background-color: #f8f7f5;
    position: relative;
    overflow: hidden;
}

.reviews-inner {
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-title {
    font-family: var(--font1);
    font-size: clamp(30px, 4vw, 46px);
    color: #6e0b0b;
    text-align: center;
    margin: 0 0 32px;
}

.guest-review-carousel {
    --items: 6;
    --carousel-duration: 32s;
    --carousel-width: min(90vw, 860px);
    --carousel-item-width: 360px;
    --carousel-item-height: 360px;
    --carousel-gap: 2rem;

    position: relative;
    width: var(--carousel-width);
    height: var(--carousel-item-height);
    overflow: hidden;
    margin: 0 auto;
}

.guest-review-carousel[mask] {
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.guest-review-carousel > article {
    position: absolute;
    top: 0;
    left: calc(100% + var(--carousel-gap));
    width: var(--carousel-item-width);
    height: var(--carousel-item-height);
    border-radius: 22px;
    overflow: hidden;
    will-change: transform;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    animation: guest-marquee var(--carousel-duration) linear infinite;
}

.guest-review-carousel:hover > article { animation-play-state: paused; }

.guest-review-carousel > article:nth-child(1) { animation-delay: calc(var(--carousel-duration) / var(--items) * 0 * -1); }
.guest-review-carousel > article:nth-child(2) { animation-delay: calc(var(--carousel-duration) / var(--items) * 1 * -1); }
.guest-review-carousel > article:nth-child(3) { animation-delay: calc(var(--carousel-duration) / var(--items) * 2 * -1); }
.guest-review-carousel > article:nth-child(4) { animation-delay: calc(var(--carousel-duration) / var(--items) * 3 * -1); }
.guest-review-carousel > article:nth-child(5) { animation-delay: calc(var(--carousel-duration) / var(--items) * 4 * -1); }
.guest-review-carousel > article:nth-child(6) { animation-delay: calc(var(--carousel-duration) / var(--items) * 5 * -1); }

.guest-review-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes guest-marquee {
    100% {
        transform: translateX(calc((var(--items) * (var(--carousel-item-width) + var(--carousel-gap))) * -1));
    }
}

/* ==========================================================================
   Modern Card / Module Booking Layout
   ========================================================================== */
body.booking-page-body {
    margin: 0;
    padding: 0 !important;
    overflow-x: hidden;
    background-color: #f4f6f8;
}

.booking-main {
    margin-top: 100px;
    padding: 48px 24px;
    background-color: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px);
}

.booking-card-wrapper {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.booking-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 
                0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(124, 172, 156, 0.2);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    height: 750px;
    overflow: hidden;
    background: #ffffff;
}

.booking-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.iframe-loader {
    position: absolute;
    inset: 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: opacity 400ms ease, visibility 400ms ease;
}

.iframe-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 36px;
    border-radius: 16px;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.spinner {
    width: 44px;
    height: 44px;
    border: 4px solid rgba(124, 172, 156, 0.25);
    border-top-color: var(--primary, #550000);
    border-radius: 50%;
    animation: spin 900ms linear infinite;
    margin-bottom: 16px;
}

.loader-title {
    font-family: var(--font1, serif);
    font-size: 20px;
    color: #6e0b0b;
    margin: 0 0 4px 0;
}

.loader-sub {
    font-family: var(--font2, sans-serif);
    font-size: 14px;
    color: #666;
    margin: 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Nearby Attractions Section (Villa Homepage Preview)
   ========================================================================== */
.nearby-attractions-section {
    background-color: #f1f6f4;
    border-top: 1px solid rgba(124, 172, 156, 0.25);
    border-bottom: 1px solid rgba(124, 172, 156, 0.25);
    padding: 80px 24px 96px;
    width: 100%;
}

.nearby-inner {
    max-width: 1040px;
    margin: 0 auto;
    text-align: center;
}

.nearby-title {
    font-family: var(--font1, serif);
    font-size: clamp(32px, 3.8vw, 48px);
    color: #6e0b0b;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.nearby-intro {
    font-family: var(--font2, sans-serif);
    font-size: 16px;
    line-height: 1.7;
    color: #4a4a4a;
    max-width: 760px;
    margin: 0 auto 52px;
}

.nearby-frame-box {
    position: relative;
    border: 1px solid rgba(124, 172, 156, 0.5);
    padding: 36px 36px 48px;
    margin: 0 auto;
    background-color: transparent;
}

.nearby-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    margin-top: -50px;
    margin-bottom: 28px;
    background-color: #f1f6f4;
    padding: 0 24px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.nearby-tab {
    font-family: var(--font1, serif);
    font-size: 16px;
    letter-spacing: 0.1em;
    color: var(--secondary, #7cac9c);
    text-transform: uppercase;
    cursor: pointer;
    transition: color 200ms ease;
}

.nearby-tab.active,
.nearby-tab:hover {
    color: var(--primary, #550000);
    font-weight: 700;
}

.nearby-image-wrapper {
    width: 100%;
    aspect-ratio: 21 / 9;
    max-height: 440px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(85, 0, 0, 0.08);
}

.nearby-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
    display: block;
    transition: transform 600ms ease;
}

.nearby-frame-box:hover .nearby-img {
    transform: scale(1.02);
}

/* FIXED: Transparent background removes white box artifact */
.nearby-btn-wrapper {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    padding: 0 16px;
}

.btn-nearby-more {
    display: inline-block;
    background-color: var(--primary, #550000);
    color: #ffffff;
    font-family: var(--font2, sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 200ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.btn-nearby-more:hover {
    background-color: #6e0b0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 0, 0, 0.2);
}

/* ==========================================================================
   Things to Do - Split Page, Centered Leaflet Map & Luxury Modal Overlay
   ========================================================================== */

/* Main Split Page Layout */
.things-page-main {
    margin-top: 0;
    background-color: #f9fbf9;
    min-height: calc(100vh - 100px);
}

.things-split-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Left Content Column */
.things-content-col {
    flex: 0 0 50%;
    width: 50%;
    padding: 150px 48px 80px 64px;
    display: flex;
    flex-direction: column;
}

.things-title {
    font-family: var(--font1, serif);
    font-size: clamp(32px, 3.5vw, 46px);
    color: #4D1311;
    margin: 0 0 12px 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.things-desc {
    font-family: var(--font2, sans-serif);
    font-size: 14.5px;
    line-height: 1.65;
    color: #555555;
    max-width: 640px;
    margin: 0 0 40px 0;
}

/* Filter Toolbar */
.things-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-select-wrapper {
    position: relative;
    flex: 1;
    min-width: 160px;
    max-width: 240px;
}

.filter-select-wrapper select {
    width: 100%;
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    font-family: var(--font2, sans-serif);
    font-size: 13.5px;
    color: #444;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: all 250ms ease;
}

.filter-select-wrapper select:focus,
.filter-select-wrapper select:hover {
    border-color: var(--secondary, #7cac9c);
    box-shadow: 0 2px 12px rgba(124, 172, 156, 0.15);
}

.filter-select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--secondary, #7cac9c);
    pointer-events: none;
    font-size: 11px;
}

.filter-reset-btn {
    background: transparent;
    border: none;
    color: var(--secondary, #7cac9c);
    font-family: var(--font2, sans-serif);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    text-transform: uppercase;
    padding: 8px 12px;
    transition: color 200ms ease;
}

.filter-reset-btn:hover {
    color: #4D1311;
    text-decoration: underline;
}

/* Attraction Cards Grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.attraction-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 300ms ease, box-shadow 300ms ease;
    cursor: pointer;
}

.attraction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(124, 172, 156, 0.12);
}

.attraction-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.attraction-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.attraction-card:hover .attraction-media img {
    transform: scale(1.03);
}

.attraction-info {
    padding: 24px;
}

.attraction-info h3 {
    font-family: var(--font1, serif);
    font-size: 19px;
    color: #4D1311;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.meta-item {
    font-family: var(--font2, sans-serif);
    font-size: 13px;
    color: #666;
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn {
    background: transparent;
    border: none;
    font-family: var(--font2, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--secondary, #7cac9c);
    text-transform: uppercase;
    cursor: pointer;
    padding: 12px 0 0 0;
    transition: color 200ms ease;
    display: inline-block;
}

.read-more-btn:hover {
    color: #4D1311;
}

.things-map-col {
    flex: 0 0 50%;
    width: 50%;
    position: -webkit-sticky; /* ADDED: For Apple/Safari support */
    position: sticky;
    top: 100px;
    height: calc(100vh - 100px);
    align-self: flex-start;
    margin: 0;
    padding: 0;
    transition: top 220ms ease, height 220ms ease;
}

/* Sync map position with sticky header shrink state */
.navbar.navbar--shrink + .things-page-main .things-map-col,
.navbar.navbar--shrink ~ .things-page-main .things-map-col {
    top: 76px;
    height: calc(100vh - 76px);
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    border: none;
    border-left: 1px solid rgba(124, 172, 156, 0.2);
    background-color: #f1f6f4;
    overflow: hidden;
}

/* Make standard OpenStreetMap tiles minimalistic and grayscale */
.map-container .leaflet-tile-container {
    filter: grayscale(100%) brightness(1.05) contrast(0.95);
}

/* Leaflet Custom Map Popups */
.leaflet-popup.villa-custom-popup .leaflet-popup-content-wrapper {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(85, 0, 0, 0.18);
    border: 1px solid rgba(124, 172, 156, 0.4);
}

.leaflet-popup.villa-custom-popup .leaflet-popup-content {
    margin: 0;
    width: 220px !important;
}

.map-popup-card {
    display: flex;
    flex-direction: column;
}

.map-popup-img-wrap {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: #f1f6f4;
}

.map-popup-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-popup-body {
    padding: 12px 14px 14px;
}

.map-popup-title {
    font-family: var(--font1, serif);
    font-size: 15px;
    font-weight: 700;
    color: #6e0b0b;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.map-popup-meta {
    font-family: var(--font2, sans-serif);
    font-size: 12px;
    color: #666666;
    margin: 0 0 8px 0;
    display: flex;
    gap: 6px;
    align-items: center;
}

.map-popup-directions {
    font-family: var(--font2, sans-serif);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #550000;
    text-decoration: underline;
}

.map-popup-directions:hover {
    color: #7cac9c;
}

.leaflet-container a.leaflet-popup-close-button {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    z-index: 10;
    transition: background-color 200ms ease, transform 150ms ease;
}

.leaflet-container a.leaflet-popup-close-button:hover {
    background: #550000;
    color: #ffffff !important;
    transform: scale(1.1);
}

.leaflet-popup-tip {
    background: #ffffff;
}

/* Luxury Read More Modal Popup */
.attraction-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.attraction-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 820px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 300ms ease;
}

.attraction-modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: color 200ms ease;
}

.modal-close-btn:hover {
    color: #550000;
}

.modal-split {
    display: flex;
    flex-wrap: wrap;
}

.modal-img-col {
    flex: 1 1 45%;
    min-height: 320px;
}

.modal-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.modal-info-col {
    flex: 1 1 55%;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
}

.modal-info-col h2 {
    font-family: var(--font1, serif);
    font-size: 26px;
    color: #333333;
    margin: 0 0 6px 0;
    font-weight: 400;
}

.modal-address {
    font-family: var(--font2, sans-serif);
    font-size: 13px;
    color: #777777;
    margin: 0 0 4px 0;
}

.modal-phone a {
    font-family: var(--font2, sans-serif);
    font-size: 13px;
    color: #550000;
    text-decoration: underline;
}

.modal-hours {
    font-family: var(--font2, sans-serif);
    font-size: 12px;
    color: #888888;
    margin: 4px 0 16px 0;
}

.modal-desc {
    font-family: var(--font2, sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin-bottom: 20px;
}

.modal-meta {
    display: flex;
    gap: 18px;
    font-family: var(--font2, sans-serif);
    font-size: 13px;
    color: #666;
    margin-bottom: 24px;
    border-top: 1px solid #eeeeee;
    padding-top: 14px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.btn-directions {
    background-color: #550000;
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 10px 18px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.btn-directions:hover {
    background-color: #6e0b0b;
}

.btn-focus-map {
    background: transparent;
    border: 1px solid #7cac9c;
    color: #7cac9c;
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.btn-focus-map:hover {
    background-color: #f1f6f4;
    color: #550000;
}

/* FIXED: Hide mobile bottom booking bar by default on desktop screens */
.mobile-book-bar {
    display: none;
}

/* ==========================================================================
   Media Queries & Responsive Rules
   ========================================================================== */

@media (max-width: 1024px) {
    .things-split-container { 
        display: flex;
        flex-direction: column; 
        align-items: stretch;
    }
    
    /* 1. Completely hide the map on mobile view */
    .things-map-col {
        display: none;
    }

    /* 2. Style the cards column for full mobile width */
    .things-content-col { 
        width: 100%;
        flex: 1 1 auto;
        padding: 120px 24px 60px; /* INCREASED PADDING TO FIX MOBILE HEADER SPACING */
        z-index: 1;
        background-color: #f9fbf9;
    }
}

@media (max-width: 768px) {
    .attractions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 880px) {
    .two-column-spot,
    .farm-table-spot {
        grid-template-columns: 1fr;
        padding: 40px 24px;
        gap: 24px;
    }

    .spot-text {
        padding: 0;
        text-align: center;
    }

    .spot-text h2, 
    .spot-title { font-size: 32px; }

    .farm-table-spot .spot-image-container { max-width: 100%; }
}

@media (max-width: 768px) {
    .nearby-attractions-section { padding: 56px 16px 72px; }
    .nearby-frame-box { padding: 24px 16px 36px; }
    .nearby-tabs {
        gap: 14px;
        flex-wrap: wrap;
        margin-top: -42px;
        padding: 0 12px;
    }
    .nearby-tab { font-size: 13px; letter-spacing: 0.06em; }
    .nearby-image-wrapper { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
    .booking-main {
        margin-top: 84px;
        padding: 20px 12px;
    }

    .booking-card { border-radius: 14px; }
    .iframe-wrapper { height: 650px; }

    .reviews-section { padding: 40px 0 56px; }

    .guest-review-carousel {
        --carousel-width: 100%;
        --carousel-item-width: 280px;
        --carousel-item-height: 280px;
        --carousel-gap: 1.25rem;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
    }

    .guest-review-carousel[mask] {
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }

    /* FIXED: Displays sticky bottom navigation bar strictly on mobile devices */
    .mobile-book-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: transparent;
        backdrop-filter: none;
        padding: 0;
        box-shadow: none;
        z-index: 9999;
        justify-content: center;
        align-items: center;
    }

    .btn-mobile-book {
        width: 100%;
        max-width: none;
        text-align: center;
        background-color: var(--secondary, #7cac9c);
        color: #ffffff;
        font-family: var(--font2);
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.05em;
        padding: 14px 20px;
        border-radius: 0;
        text-decoration: none;
        box-shadow: none;
        transition: background-color 200ms ease, transform 150ms ease;
    }

    .btn-mobile-book:active {
        transform: scale(0.98);
        background-color: #6f9f91;
    }
}

@media (max-width: 640px) {
    .attractions-grid { grid-template-columns: 1fr; }
    .modal-split { flex-direction: column; }
    .modal-img-col { flex: none; width: 100%; height: 200px; min-height: 200px; }
    .modal-info-col { padding: 24px 20px; }
}

@media (max-width: 520px) {
    .slideshow-container {
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .slide-caption {
        font-size: clamp(18px, 5.5vw, 26px);
        white-space: normal;
        width: 90vw;
        bottom: 16px;
    }

    .intro-section { padding: 28px 20px; }
}

/* ==========================================================================
   About Us Page Styling (Redesigned Editorial Layout)
   ========================================================================== */
.about-hero {
    width: 100%;
    background-color: #4D1311;
    padding: 180px 24px 100px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/Leaves.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
}

.about-hero-inner {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

.about-established {
    font-family: var(--font1);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-tagline {
    font-family: var(--font1);
    font-size: clamp(18px, 2.5vw, 24px);
    font-style: italic;
    color: #c7dcd0;
    margin: 0;
    letter-spacing: 0.05em;
}

.hero-divider {
    width: 60px;
    height: 2px;
    background-color: #7cac9c;
    margin: 24px auto 0 auto;
    opacity: 0.7;
}

.about-intro-section {
    padding: 100px 24px;
    background-color: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-image-col {
    position: relative;
    padding: 15px;
}

.image-accent-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    background-color: rgba(124, 172, 156, 0.12);
    border-radius: 16px;
    z-index: 1;
}

.about-family-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(124, 172, 156, 0.15);
    position: relative;
    z-index: 2;
}

.about-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-badge {
    display: inline-block;
    font-family: var(--font2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #7cac9c;
    margin-bottom: 12px;
}

.about-story-title {
    font-family: var(--font1);
    font-size: clamp(28px, 3.6vw, 44px);
    color: #4D1311;
    margin: 0 0 24px 0;
    font-weight: 700;
}

.about-content-col .intro-body {
    text-align: left;
    margin: 0 0 20px 0;
    font-size: 15.5px;
    line-height: 1.8;
    color: #4f4f4f;
    font-family: var(--font2);
}

.about-content-col .intro-body:last-child {
    margin-bottom: 0;
}

/* Luxury Magazine Dropcap Style */
.dropcap::first-letter {
    font-family: var(--font1);
    font-size: 3.8rem;
    float: left;
    margin-right: 10px;
    margin-top: 4px;
    line-height: 0.85;
    color: #4D1311;
    font-weight: 700;
}

/* Core Values Section */
.about-values-section {
    padding: 100px 24px;
    background-color: #f7faf8;
    border-top: 1px solid rgba(124, 172, 156, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: #ffffff;
    padding: 48px 32px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(124, 172, 156, 0.12);
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(77, 19, 17, 0.06);
}

.value-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(124, 172, 156, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 24px auto;
    color: #4D1311;
}

.value-card h3 {
    font-family: var(--font1);
    font-size: 20px;
    color: #4D1311;
    margin: 0 0 14px 0;
    font-weight: 700;
}

.value-card p {
    font-family: var(--font2);
    font-size: 14.5px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

/* Responsive design */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }
    
    .values-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-intro-section,
    .about-values-section {
        padding: 60px 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-content-col {
        align-items: center;
    }
    
    .about-content-col .intro-body {
        text-align: center;
    }
    
    .dropcap::first-letter {
        float: none;
        font-size: inherit;
        line-height: inherit;
        margin: 0;
    }
}