        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Manrope', sans-serif;
            color: var(--text);
            background: var(--background);
            margin: 0;
        }

        h1, h2, h3, h4 {
            font-family: 'Cormorant Garamond', serif;
        }


        /* NAVIGATION */

        .navbar {
            background: var(--primary);
            padding: 18px 0;
        }

        .navbar-brand {
            font-family: 'Cormorant Garamond', serif;
            color: var(--white) !important;
            font-size: 29px;
            letter-spacing: 1px;
        }

        .navbar-brand span {
            color: var(--accent);
        }

        .nav-link {
            color: var(--light-text-muted) !important;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-left: 20px;
            transition: .3s;
        }

        .nav-link:hover {
            color: var(--accent) !important;
        }


        /* HERO */
        
        .hero {
            width: 100%;
            min-height: 650px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;

            background:
                linear-gradient(
                    var(--overlay),
                    var(--overlay-strong)
                ),
                var(--heroImage);

            background-position:
                center,
                center 55%;

            background-size:
                cover,
                cover;

            background-repeat: no-repeat;

            color: var(--light-text);
        }



        .hero-content {
            max-width: 920px;
            padding: 50px 20px;
        }

        .hero-eyebrow {
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 12px;
            margin-bottom: 25px;
            color: var(--light-accent);
        }

        .hero h1 {
            font-size: clamp(48px, 7vw, 86px);
            line-height: 1.05;
            margin-bottom: 25px;
            font-weight: 500;
        }

        .hero p {
            font-size: 15px;
            max-width: 600px;
            margin: 0 auto 35px;
            line-height: 1.9;
        }

        .btn-luxury {
            background: var(--accent);
            color: var(--white);
            padding: 15px 35px;
            border: 1px solid var(--accent);
            border-radius: 2px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            font-size: 12px;
            text-decoration: none;
            display: inline-block;
            transition: .3s;
        }

        .btn-luxury:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--white);
        }


        /* INTRODUCTION */

        .intro-section {
            padding: 100px 20px;
            text-align: center;
        }

        .section-label {
            color: var(--accent);
            text-transform: uppercase;
            font-size: 11px;
            letter-spacing: 3px;
            font-weight: 700;
            margin-bottom: 18px;
        }

        .intro-section h2,
        .section-heading h2 {
            font-size: clamp(38px, 5vw, 55px);
            color: var(--primary);
            margin-bottom: 25px;
        }

        .intro-text {
            max-width: 920px;
            margin: auto;
            color: var(--muted);
            line-height: 2;
            font-size: 16px;
        }

        .gold-divider {
            width: 55px;
            height: 2px;
            background: var(--accent);
            margin: 30px auto;
        }


        /* COTTAGES */

        .cottages-section {
            background: var(--background-alt);
            padding: 90px 0 100px;
        }

        .section-heading {
            text-align: center;
            margin-bottom: 55px;
        }

        .section-heading p {
            color: var(--muted);
            font-size: 16px;
        }


        /* COTTAGE CARDS */

        .cottage-card {
            background: var(--white);
            border: none;
            border-radius: 3px;
            overflow: hidden;
            height: 100%;
            box-shadow: 0 5px 25px var(--subtle);
            transition: transform .3s, box-shadow .3s;
        }

        .cottage-card:hover {
            transform: translateY(-7px);
            box-shadow: 0 15px 35px var(--subtle-strong);
        }

        .cottage-image {
            height: 300px;
            width: 100%;
            object-fit: cover;
            display: block;
        }

        .cottage-card .card-body {
            padding: 27px;
        }

        .cottage-location {
            color: var(--accent);
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
        }

        .cottage-card .card-title {
            font-size: 29px;
            color: var(--primary);
            margin-bottom: 22px;
        }

        .cottage-features {
            display: flex;
            justify-content: space-between;
            border-top: 1px solid var(--border);
            padding-top: 20px;
            gap: 10px;
        }

        .feature {
            text-align: center;
            flex: 1;
            color: var(--muted);
            font-size: 12px;
        }

        .feature i {
            display: block;
            color: var(--accent);
            font-size: 19px;
            margin-bottom: 8px;
        }

        .feature strong {
            display: block;
            color: var(--primary);
            font-size: 13px;
            margin-bottom: 3px;
        }

        .dog-friendly {
            color: var(--primary);
        }

        .not-dog-friendly {
            color: var(--muted);
        }

        .cottage-link {
            display: block;
            text-align: center;
            margin-top: 25px;
            padding: 13px;
            background: var(--primary);
            color: var(--white);
            text-decoration: none;
            font-size: 12px;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            transition: .3s;
        }

        .cottage-link:hover {
            background: var(--accent);
            color: var(--white);
        }

        .api-error {
            text-align: center;
            padding: 35px;
            background: var(--white);
            color: var(--error);
        }

        /* SUMMARY */

        .summary-section {
            padding: 100px 20px;
            background: var(--primary);
            color: var(--light-text);
            text-align: center;
        }

        .summary-section h2 {
            font-size: 50px;
            color: var(--light-text);
            margin-bottom: 20px;
        }

        .summary-section p {
            max-width: 680px;
            margin: 0 auto;
            color: var(--light-text-muted);
            font-size: 14px;
            line-height: 2;
        }

        .summary-stats {
            display: flex;
            justify-content: center;
            gap: 80px;
            flex-wrap: wrap;
            margin-top: 55px;
        }

        .stat h3 {
            color: var(--accent);
            font-size: 46px;
            margin-bottom: 5px;
        }

        .stat span {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--light-text-muted);
        }


        /* CTA */

        .cta-section {
            padding: 80px 20px;
            text-align: center;
            background: var(--background);
        }

        .cta-section h2 {
            font-size: 45px;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .cta-section p {
            color: var(--muted);
            margin-bottom: 30px;
            font-size: 14px;
        }


        /* FOOTER */

        footer {
            background: var(--primary-dark);
            color: var(--light-text-muted);
            padding: 55px 20px 25px;
            text-align: center;
        }

        .footer-brand {
            font-family: 'Cormorant Garamond', serif;
            font-size: 32px;
            color: var(--white);
            margin-bottom: 15px;
        }

        .footer-brand span {
            color: var(--accent);
        }

        footer p {
            font-size: 14px;
            line-height: 1.9;
        }

        .footer-links {
            margin: 25px 0;
        }

        .footer-links a {
            color: var(--light-text-muted);
            text-decoration: none;
            margin: 0 12px;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-links a:hover {
            color: var(--accent);
        }

        .copyright {
            border-top: 1px solid var(--border);
            padding-top: 25px;
            margin-top: 30px;
            font-size: 12px;
        }


        /* MAP */

        .map-section {
            width: 100%;
            background: var(--background);
            padding: 0;
        }

        .map-heading {
            text-align: center;
            padding: 65px 20px 35px;
        }

        .map-heading h2 {
            font-family: 'Cormorant Garamond', serif;
            font-size: clamp(36px, 5vw, 48px);
            color: var(--primary);
            margin-bottom: 12px;
        }

        .map-heading p {
            color: var(--muted);
            font-size: 14px;
            margin: 0;
        }

        .map-container {
            width: 100%;
            height: 460px;
            overflow: hidden;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            position: relative;
        }

        .map-container iframe {
            display: block;
            width: 100%;
            height: 100%;
            filter: sepia(12%) saturate(85%);
            border: 0;
        }

        .map-footer {
            text-align: center;
            padding: 18px;
            background: var(--background);
        }

        .map-footer a {
            color: var(--primary);
            text-decoration: none;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        .map-footer a:hover {
            color: var(--accent);
        }

        .map-overlay {
            position: absolute;
            inset: 0;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
            cursor: pointer;
        }

        .map-overlay button {
            background: var(--primary);
            color: var(--white);
            border: 1px solid var(--accent);
            padding: 14px 24px;
            font-family: 'Manrope', sans-serif;
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
            box-shadow: 0 4px 15px var(--subtle-strong);
        }

        .map-container.map-active .map-overlay {
            display: none;
        }


/* =====================================================
   INDIVIDUAL COTTAGE PAGE
===================================================== */

/* COTTAGE HEADING */

.cottage-hero {
    padding: 55px 0 35px;
    background: var(--background);
}

.cottage-back-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cottage-back-link:hover {
    color: var(--primary);
}

.cottage-hero h1 {
    font-size: clamp(38px, 5vw, 55px);
    color: var(--primary);
    margin-bottom: 15px;
}

.cottage-summary {
    color: var(--muted);
    line-height: 1.9;
    font-size: 15px;
}

@media (max-width: 767px) {
    .cottage-hero {
        padding: 35px 0 25px;
    }
}


/* ==================================================
   RESPONSIVE COTTAGE IMAGE GALLERY
   ================================================== */

.cottage-gallery-container {
    max-width: 1500px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.cottage-gallery-main {
    display: block;
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
}

.cottage-gallery-small {
    height: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.cottage-gallery-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.cottage-gallery-thumb:hover {
    opacity: .85;
}

.gallery-more {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(0, 0, 0, .48);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    box-sizing: border-box;
}

/* Medium desktop and laptop screens */
@media (max-width: 1199px) and (min-width: 992px) {
    .cottage-gallery-main {
        height: 620px;
    }

    .cottage-gallery-small {
        height: 300px;
    }
}

/* Tablets */
@media (max-width: 991px) {
    .cottage-gallery-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cottage-gallery-main {
        height: 480px;
    }

    .cottage-gallery-small {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .cottage-gallery-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .cottage-gallery-main {
        height: 300px;
    }

    .cottage-gallery-small {
        height: 160px;
    }
}


.cottage-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 20px;
    background: var(--background-alt);
    height: 100%;
}

.cottage-fact i {
    color: var(--accent);
    font-size: 1.5rem;
}

.cottage-section {
    padding: 75px 0;
}

.cottage-description {
    line-height: 1.85;
    color: var(--muted);
}

.cottage-description h2,
.cottage-description h3,
.cottage-description h4 {
    margin-top: 1.5rem;
    color: var(--primary);
}

.cottage-feature {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 13px;
}

.cottage-feature i {
    color: var(--accent);
}

.booking-card {
    padding: 28px;
    background: var(--background-alt);
    position: sticky;
    top: 25px;
}

.booking-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    border-radius: 2px;
    background: var(--accent);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    transition: .3s;
}

.booking-button:hover {
    background: var(--primary);
    color: var(--white);
}

.cottage-modal-image {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* RESPONSIVE */

@media (max-width: 767px) {

    .cottage-detail-hero {
        min-height: 480px;
    }

    .cottage-gallery-main {
        height: 300px;
    }

    .cottage-gallery-thumb,
    .cottage-gallery-small {
        height: 145px;
    }

    .cottage-section {
        padding: 55px 0;
    }

    .booking-card {
        position: static;
    }

}



        /* RESPONSIVE */

        @media (max-width: 767px) {

            .hero {
                min-height: 560px;
            }

            .intro-section,
            .cottages-section,
            .summary-section {
                padding-top: 65px;
                padding-bottom: 65px;
            }

            .cottage-image {
                height: 230px;
            }

            .summary-stats {
                gap: 35px;
            }

            .navbar .nav-link {
                margin-left: 0;
                padding: 10px 0;
            }

            .map-container {
                height: 350px;
            }

            .map-heading {
                padding-top: 50px;
            }

            .cottage-detail-hero {
        min-height: 480px;
    }

    .cottage-gallery-main {
        height: 300px;
    }

    .cottage-gallery-thumb,
    .cottage-gallery-small {
        height: 145px;
    }

    .cottage-section {
        padding: 55px 0;
    }

    .booking-card {
        position: static;
    }


        }