@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600&display=swap');

:root {
    --brick-orange: #D85A4A;
    --brick-orange-deep: #BE4437;
    --stone-yellow: rgb(238, 238, 238);
    --text-light-blue: rgb(100, 149, 237);
    --title-green: rgb(10, 88, 40);
    --stone-yellow-deep: #ead4ad;
    --stone-divider: #9A7531;
}

*, *::before, *::after {
    box-sizing: border-box;
}

/* Body */
body {
    background-color: var(--stone-yellow);
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text-light-blue);
}

/* Form controls: use site blue for radio buttons */
input[type="radio"] {
    accent-color: var(--text-light-blue);
}

/* Header */
header {
    background-image: url('../images/header_bg.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--stone-yellow);
    margin: 0;
}

.header-container {
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 36px;
    padding: 18px 28px;
    margin: 0;
}

.logo-space {
    justify-self: start;
}

.logo {
    width: 220px;
    height: 136px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: 2px solid #000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.title {
    justify-self: center;
}

.title-block {
    justify-self: center;
    text-align: center;
}

.title h1 {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 68px;
    line-height: 1;
    letter-spacing: 0.03em;
    margin: 0;
}

/* Outline header text so it has a black border */
.title h1 {
    -webkit-text-stroke: 1px #000;
    text-shadow: 1px 0 #000, -1px 0 #000, 0 1px #000, 0 -1px #000;
}

.header-address {
    text-align: center;
    font-size: 24px;
    line-height: 1.6;
    margin-top: 6px;
    color: black;
}

.header-address p {
    margin: 0;
}

.header-phone {
    justify-self: end;
    text-align: right;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: black;
}

.header-phone p {
    margin: 0;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .header-phone {
        font-size: 18px;
        color: var(--text-light-blue);
        -webkit-text-stroke: 0.6px #000;
        text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    }
}

/* Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--stone-yellow);
    width: 100%;
    border-top: 3px solid var(--stone-divider);
    border-bottom: 3px solid var(--stone-divider);
    z-index: 100;
}

.navbar li.active {
    background-color: rgba(53, 53, 53, 0.12);
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.navbar li {
    padding: 19px 12px;
    border-radius: 0;
    transition: background-color 0.3s ease;
    text-align: center;
    border-right: 3px solid black;
}

.navbar li:last-child {
    border-right: none;
}
.navbar li:hover {
    background-color: rgba(124, 124, 124, 0.08);
}

.navbar a {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.6px #000;
    text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
}

.desktop-text {
    display: inline;
}

.mobile-text {
    display: none;
}

/* Footer */
footer {
    background-image: url('../images/footer_bg.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--stone-yellow);
    border-top: 2px solid var(--stone-divider);
    padding: 1px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.footer-top-line {
    text-align: center;
    font-size: 20px;
}

.footer-top-line p {
    margin: 0;
}

.footer-left {
    flex: 1;
}

.footer-right {
    flex: 1;
}

.footer-section h3 {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 6px;
    margin-left: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 20px;
    color: black;
}

.footer-section p {
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 6px;
    margin-left: 0;
    font-size: 20px;
    color: black;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-credits {
    text-align: center;
    border-top: 1px solid var(--stone-divider);
    font-size: 11px;
    color: black;
}

.footer-credits a {
    color: black;
    text-decoration: none;
}

.footer-credits a:hover {
    opacity: 0.7;
}

/* Main Sections */
main {
    display: block;
}

.content-shell {
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* 1. Hero Image + Translucent Center Square */
.hero-banner {
    background-color: var(--stone-yellow);
    padding: 0 0 40px;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: min(60vh, 680px);
    margin: 0 auto;
    border: 2px solid var(--stone-divider);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    overflow: hidden;
    background-color: var(--stone-yellow-deep);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background-color: rgba(245, 235, 201, 0.28);
    color: rgba(100, 149, 237, 0.9);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    backdrop-filter: blur(4px);
}

.hero-control:hover {
    background-color: rgba(245, 235, 201, 0.42);
    transform: translateY(-50%) scale(1.04);
}

.hero-control-prev {
    left: 18px;
}

.hero-control-next {
    right: 18px;
}

.hero-markers {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    border-radius: 999px;
    background-color: rgba(245, 235, 201, 0.16);
    backdrop-filter: blur(4px);
}

.hero-marker {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 1px solid rgba(100, 149, 237, 0.55);
    border-radius: 999px;
    background-color: rgba(100, 149, 237, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-marker.is-active {
    background-color: rgba(100, 149, 237, 0.78);
    border-color: rgba(100, 149, 237, 0.95);
    transform: scale(1.15);
}

.hero-intro {
    text-align: center;
    padding-top: 4px;
}

.cottage-card .hero-intro.content-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-bottom: 0;
}

.cottage-card .hero-intro.content-shell p {
    flex: 1;
}


.hero-intro h2 {
    font-size: clamp(30px, 5vw, 54px);
    margin: 0 0 14px;
    color: var(--text-light-blue);
    line-height: 1.1;
}

.hero-intro p {
    margin: 0;
    font-size: clamp(16px, 2.1vw, 22px);
    line-height: 1.55;
    color: var(--text-light-blue);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. Three images + text underneath */
.highlights-strip {
    background-color: var(--stone-yellow);
    padding: 56px 0;
}

.three-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.image-info-card {
    text-align: center;
}

.image-info-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 3px solid var(--stone-divider);
    border-radius: 18px;
}

.image-info-card h3 {
    margin: 14px 0 10px;
    font-size: 22px;
}

.image-info-card p {
    margin: 0;
    line-height: 1.6;
}

/* 3. Contrasting background with divided mini paragraphs */
.contrast-pillars {
    background-color: #5a332d;
    color: #f7e8c0;
    padding: 58px 0;
}

.contrast-pillars h2 {
    font-size: clamp(30px, 4vw, 46px);
    text-align: center;
    margin: 0 0 24px;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    border: 1px solid #9a7531;
    border-radius: 18px;
    overflow: hidden;
}

.pillar-item {
    padding: 22px;
    border-right: 1px solid #9a7531;
}

.pillar-item:last-child {
    border-right: 0;
}

.pillar-item h3 {
    margin: 0 0 8px;
    color: #fff8e4;
    font-size: 20px;
}

.pillar-item p {
    margin: 0;
    line-height: 1.6;
}

/* 4. Split left-right rows (2 left, 2 right image positions) */
.split-showcase {
    background-color: var(--stone-yellow);
    padding: 56px 0;
}

.split-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 22px;
    min-height: 280px;
    border: 1px solid var(--stone-divider);
    border-radius: 18px;
    overflow: hidden;
}

.split-row:last-child {
    margin-bottom: 0;
}

.split-copy {
    background-color: var(--stone-yellow);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-copy h3 {
    margin: 0 0 10px;
    font-size: 28px;
}

.split-copy p {
    margin: 0;
    line-height: 1.7;
}

.split-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.split-left-image .split-copy {
    order: 2;
}

.split-left-image .split-photo {
    order: 1;
}

/* 5. Testimonials row */
.testimonials-section {
    background-color: var(--stone-yellow);
}

.testimonials-section h2 {
    margin: 0 0 22px;
    text-align: center;
    font-size: clamp(30px, 4vw, 44px);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.testimonial-card {
    margin: 0;
    padding: 24px;
    border: 1px solid var(--stone-divider);
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 18px;
}

.testimonial-card p {
    margin: 0 0 14px;
    line-height: 1.7;
}

.testimonial-card cite {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: normal;
    font-size: 22px;
    color: var(--brick-orange-deep);
}

/* 6. Three images with title, text and button */
.feature-links {
    background-color: var(--stone-yellow);
    padding: 56px 0;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.action-card {
    background-color: var(--stone-yellow);
    border: 1px solid var(--stone-divider);
    padding-bottom: 20px;
    border-radius: 18px;
    overflow: hidden;
}

.action-card img {
    width: 100%;
    aspect-ratio: 3 / 1;
    height: 260px;
    object-fit: cover;
    display: block;
    transform-origin: center;
    transform: scaleX(1.20);
    will-change: transform;
}

.action-card h3,
.action-card p,
.action-card .action-btn {
    margin-left: 18px;
    margin-right: 18px;
}

.action-card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 24px;
}

.action-card p {
    margin-top: 0;
    line-height: 1.6;
}

.action-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 10px 16px;
    border: 1px solid var(--brick-orange-deep);
    color: var(--stone-yellow);
    background-color: var(--brick-orange);
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
}

.action-btn:hover {
    background-color: var(--brick-orange-deep);
}

/* 7. Simple book-now invite */
.book-now-banner {
    background-color: var(--stone-yellow);
    color: var(--text-light-blue);
    padding: 46px 0;
    text-align: center;
}

.book-now-banner h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 44px);
}

.book-now-btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid var(--brick-orange);
    color: var(--brick-orange);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
}

.book-now-btn:hover {
    background-color: var(--brick-orange);
    color: var(--stone-yellow);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    /* Header */
    .header-container {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 16px;
    }

    .logo-space {
        display: none;
    }

    .title h1 {
        font-size: 36px;
    }

    .header-address {
        font-size: 13px;
        line-height: 1.4;
    }

    .header-phone {
        justify-self: center;
        text-align: center;
        font-size: 18px;
    }

    /* Navigation */
    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar li {
        padding: 10px 6px;
        flex: 0 0 auto;
    }

    .navbar a {
        font-size: 13px;
    }

    .desktop-text {
        display: none;
    }

    .mobile-text {
        display: inline;
    }

    /* Main Sections */
    .hero-banner {
        padding: 0 0 34px;
    }

    .hero-carousel {
        width: 100%;
        height: min(44vh, 420px);
    }

    .hero-control {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .hero-control-prev {
        left: 12px;
    }

    .hero-control-next {
        right: 12px;
    }

    .hero-markers {
        bottom: 12px;
        gap: 8px;
    }

    .three-image-grid,
    .pillar-grid,
    .testimonial-grid,
    .action-grid {
        grid-template-columns: 1fr;
    }

    .action-card img {
        height: 220px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }

    .pillar-item {
        border-right: 0;
        border-bottom: 1px solid #9a7531;
    }

    .pillar-item:last-child {
        border-bottom: 0;
    }

    .split-row {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .split-left-image .split-copy,
    .split-left-image .split-photo {
        order: initial;
    }

    .split-copy {
        padding: 22px;
    }

    .split-copy h3 {
        font-size: 24px;
    }

    /* Footer */
    footer {
        padding: 12px 16px;
        margin-top: 20px;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-left,
    .footer-right {
        flex: 1 1 0;
        min-width: 0;
    }

    .footer-section h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .footer-section p {
        font-size: 12px;
        margin: 3px 0;
    }

    .footer-top-line {
        font-size: 12px;
    }

    .footer-credits {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    /* Extra small adjustments for phones */
    .title h1 {
        font-size: 24px;
    }

    .header-address {
        font-size: 12px;
    }

    .header-phone {
        font-size: 16px;
    }

    .navbar li {
        padding: 8px 4px;
        flex: 0 0 auto;
    }

    .navbar a {
        font-size: 11px;
    }

    .hero-intro p {
        font-size: 15px;
    }

    .image-info-card h3,
    .action-card h3,
    .split-copy h3 {
        font-size: 20px;
    }

    .book-now-banner {
        padding: 34px 0;
    }

    footer {
        padding: 10px 12px;
    }

    .footer-content {
        gap: 10px;
    }

    .footer-section h3 {
        font-size: 12px;
    }

    .footer-section p {
        font-size: 11px;
    }

    .action-card img {
        height: 180px;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        transform: none;
    }
}

/* Testimonials Section */
.testimonials {
    background-color: var(--stone-yellow);
    border-top: 2px solid var(--stone-divider);
    width: 100%;
}

.testimonials-inner {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    justify-content: center;
}

.testimonial-item {
    flex: 1;
    padding: 28px 20px;
    border-right: 1px solid black;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.testimonial-item:first-child {
    border-left: 1px solid black;
}

.testimonial-text {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.4px #000;
    text-shadow: 0.4px 0 #000, -0.4px 0 #000, 0 0.4px #000, 0 -0.4px #000;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: 0.04em;
    margin: 0;
    line-height: 1.5;
}

.testimonial-credit {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.4px #000;
    text-shadow: 0.4px 0 #000, -0.4px 0 #000, 0 0.4px #000, 0 -0.4px #000;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
 
/* Cottages Page */

.split-section {
    display: flex;
    flex-direction: row;
    width: 100%;
    border-bottom: 2px solid var(--stone-divider);
    min-height: 420px;
}
 
.split-section--alt {
    flex-direction: row;
}
 
/* Slideshow pane — 1/3 width */
.split-slideshow {
    flex: 0 0 33.333%;
    position: relative;
    overflow: hidden;
}
 
.split-section--alt .split-slideshow {
    border-right: none;
}
 
.split-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}
 
.split-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}
 
.split-slide.is-active {
    opacity: 1;
}
 
/* Carousel controls */
.split-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    padding: 10px 13px;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}
 
.split-control:hover {
    background: rgba(0, 0, 0, 0.6);
}
 
.split-control--prev {
    left: 0;
}
 
.split-control--next {
    right: 0;
}
 
/* Carousel dot markers */
.split-markers {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}
 
.split-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}
 
.split-marker.is-active {
    background: #fff;
}
 
/* Text pane — 2/3 width */
.split-text {
    flex: 1;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--stone-yellow);
}
 
.split-text h2 {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.6px #000;
    text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
}
 
.split-text p {
    color: var(--text-light-blue);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 12px 0;
}
 
.split-text p:last-child {
    margin-bottom: 0;
}
 
.general-text-section {
    background-color: var(--stone-yellow);
    border-bottom: 2px solid var(--stone-divider);
    padding: 48px 0;
    text-align: center;
}
 
.general-text-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
 
.general-text-inner h2 {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.6px #000;
    text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
}
 
.general-text-inner p {
    color: var(--text-light-blue);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 12px 0;
}
 
.general-text-inner p:last-child {
    margin-bottom: 0;
}
 
@media (max-width: 768px) {
    .split-section,
    .split-section--alt {
        flex-direction: column;
    }
 
    .split-slideshow {
        flex: 0 0 auto;
        min-height: 260px;
        border-right: none;
        border-left: none;
        border-bottom: 1px solid black;
    }
 
    .split-carousel {
        min-height: 260px;
    }
 
    .split-text {
        padding: 28px 24px;
    }
 
    .general-text-inner {
        padding: 0 24px;
    }
}

/* Cottages Grid Layout */
.cottages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-bottom: 2px solid var(--stone-divider);
    background-color: var(--stone-yellow);
}

.cottage-card {
    display: flex;
    flex-direction: column;
    border-right: 3px solid black;
}

.cottage-card:last-child {
    border-right: none;
}

/* Slideshow Pane */
.cottage-slideshow {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* Border to separate the image from the text below it */
    border-bottom: 3px solid black; 
}

.split-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

.split-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.split-slide.is-active {
    opacity: 1;
}

/* Carousel Controls */
.split-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    padding: 10px 13px;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.split-control:hover {
    background: rgba(0, 0, 0, 0.6);
}

.split-control--prev {
    left: 0;
}

.split-control--next {
    right: 0;
}

/* Carousel Dot Markers */
.split-markers {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    z-index: 10;
}

.split-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.split-marker.is-active {
    background: #fff;
}

/* Text Pane */
.cottage-text {
    flex: 1; /* Pushes bottom boundaries down evenly if text lengths differ */
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: var(--stone-yellow);
}

.cottage-text h2 {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.6px #000;
    text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
}

.cottage-text p {
    color: var(--text-light-blue);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.cottage-text p:last-child {
    margin-bottom: 0;
}

/* General Text Section (Unchanged) */
.general-text-section {
    background-color: var(--stone-yellow);
    border-bottom: 2px solid var(--stone-divider);
    padding: 48px 0;
}

.general-text-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 40px;
}

.general-text-inner h2 {
    color: var(--text-light-blue);
    -webkit-text-stroke: 0.6px #000;
    text-shadow: 0.6px 0 #000, -0.6px 0 #000, 0 0.6px #000, 0 -0.6px #000;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0 0 18px 0;
}

.general-text-inner p {
    color: var(--text-light-blue);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 12px 0;
}

.general-text-inner p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 900px) {
    /* Break into a single column layout on smaller screens */
    .cottages-grid {
        grid-template-columns: 1fr;
    }

    .cottage-card {
        border-right: none;
        border-bottom: 2px solid var(--stone-divider);
    }

    .cottage-card:last-child {
        border-bottom: none;
    }

    .split-carousel {
        min-height: 300px; /* Reduced height for mobile */
    }

    .cottage-text {
        padding: 28px 24px;
    }
    
    .general-text-inner {
        padding: 0 24px;
    }

    .expand-btn {
        font-size: 13px;
        padding: 10px;
    }
}

/* --- Image Zoom Lightbox --- */

/* Add a magnifying glass cursor to let users know it's clickable */
.split-slide {
    cursor: zoom-in;
}

.zoom-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px); /* Optional: adds a nice modern blur to the background */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zoom-modal.is-open {
    opacity: 1;
}

.zoom-modal-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.zoom-modal.is-open .zoom-modal-content {
    transform: scale(1);
}

.zoom-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #ffffff;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10000;
    line-height: 1;
}

.zoom-close:hover {
    color: var(--stone-yellow, #e0e0e0);
}


.expand-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 0;
    background-color: var(--stone-yellow);
    color: var(--text-light-blue);
    border: 1px solid black;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: 0.04em;
    font-weight: 500;
    transition: background-color 0.2s;
    box-sizing: border-box;
}

.expand-btn:hover {
    background-color: var(--text-light-blue);
    color: var(--stone-yellow);
}

/* Expanded state for the slideshow */
.cottage-slideshow.is-expanded {
    height: 80vh;
}

#lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#lightbox-overlay.is-open {
    display: flex;
}

#lightbox-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 90vw;
    max-height: 90vh;
}

#lightbox-img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border: 2px solid white;
}

#lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    line-height: 1;
}

#lightbox-prev,
#lightbox-next {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

#lightbox-prev:hover,
#lightbox-next:hover,
#lightbox-close:hover {
    opacity: 0.7;
}

#lightbox-counter {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    #lightbox-box {
        flex-direction: column;
        gap: 8px;
        max-width: 100vw;
        max-height: 100vh;
        padding: 0 10px;
    }

    #lightbox-img {
        max-width: 95vw;
        max-height: 70vh;
    }

    #lightbox-prev,
    #lightbox-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        padding: 6px;
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
    }

    #lightbox-prev {
        left: 4px;
    }

    #lightbox-next {
        right: 4px;
    }

    #lightbox-close {
        top: -30px;
        font-size: 28px;
    }

    #lightbox-counter {
        bottom: -24px;
        font-size: 13px;
    }
}