
:root {
    --sc-primary: #1f6b4b;
    --sc-primary-dark: #11472f;
    --sc-secondary: #f59d33;
    --sc-accent: #e85f2a;
    --sc-ink: #1e2933;
    --sc-muted: #667085;
    --sc-soft: #f6f3ee;
    --sc-card: #ffffff;
    --sc-border: #e8e2d9;
    --sc-radius: 24px;
    --sc-shadow: 0 20px 60px rgba(19, 38, 28, .12);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--sc-ink);
    background: #fffaf3;
    overflow-x: hidden;
}

main {
    min-height: 60vh;
}

a {
    color: var(--sc-primary);
}

a:hover {
    color: var(--sc-primary-dark);
}

.btn {
    font-weight: 700;
    letter-spacing: .01em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sc-primary), #2f9068);
    border-color: var(--sc-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--sc-primary-dark), var(--sc-primary));
    border-color: var(--sc-primary-dark);
}

.btn-success {
    background: #1fa463;
    border-color: #1fa463;
}

.btn-outline-primary {
    color: var(--sc-primary);
    border-color: var(--sc-primary);
}

.btn-outline-primary:hover {
    background: var(--sc-primary);
    border-color: var(--sc-primary);
}

.top-strip {
    background: #0f3325;
    color: rgba(255, 255, 255, .82);
    font-size: .86rem;
    padding: .45rem 0;
}

.top-strip a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

.site-navbar {
    min-height: 78px;
    box-shadow: 0 10px 32px rgba(17, 38, 30, .08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    color: var(--sc-primary-dark) !important;
    font-size: 1.35rem;
    letter-spacing: -.02em;
}

.navbar-brand span {
    color: var(--sc-muted);
    font-weight: 500;
}

.site-navbar .nav-link {
    font-weight: 600;
    color: #2d3748 !important;
    border-radius: 999px;
    padding: .55rem .85rem !important;
}

.site-navbar .nav-link.active,
.site-navbar .nav-link:hover {
    background: rgba(31, 107, 75, .09);
    color: var(--sc-primary-dark) !important;
}

/* Navbar mobile open state */
.site-navbar .navbar-collapse.show,
.site-navbar .navbar-collapse.collapsing {
    border-top: 1px solid #e8e2d9;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.site-navbar .navbar-collapse .navbar-nav {
    gap: .15rem;
}

/* Bigger tap targets on touch devices */
@media (hover: none) {
    .site-navbar .nav-link {
        padding: .75rem 1rem !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Top strip: hide website URL on very small screens */
@media (max-width: 479px) {
    .top-strip .d-none {
        display: none !important;
    }
}

.section-pad {
    padding: 5rem 0;
}

.section-pad-sm {
    padding: 3rem 0;
}

.section-soft {
    background: var(--sc-soft);
}

.section-dark {
    background: linear-gradient(135deg, #102d22, #1f6b4b);
    color: white;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--sc-ink);
}

.section-dark .section-title {
    color: white;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: var(--sc-primary);
    background: rgba(31, 107, 75, .1);
    border: 1px solid rgba(31, 107, 75, .16);
    border-radius: 999px;
    padding: .35rem .85rem;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
}

.section-dark .section-kicker {
    color: #fff2d8;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .18);
}

.lead-muted {
    color: var(--sc-muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.hero-slider {
    position: relative;
    margin-top: 0;
}

.hero-slide {
    min-height: min(74vh, 760px);
    position: relative;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 31, 21, .86), rgba(9, 31, 21, .54), rgba(9, 31, 21, .16)),
        linear-gradient(0deg, rgba(0, 0, 0, .16), rgba(0, 0, 0, .16));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: min(74vh, 760px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.hero-kicker,
.inner-hero-eyebrow {
    display: inline-block;
    color: #ffe4b7;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
    font-size: .78rem;
    margin-bottom: .9rem;
}

.hero-title,
.inner-hero-title {
    font-size: clamp(2rem, 6vw, 5.8rem);
    font-weight: 800;
    color: white;
    letter-spacing: -.04em;
    line-height: 1;
}

.hero-subtitle,
.inner-hero-subtitle {
    color: rgba(255, 255, 255, .86);
    max-width: 720px;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    line-height: 1.7;
}

.hero-actions,
.inner-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.75rem;
}

.hero-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-stat {
    min-width: 120px;
    padding: 1rem 1.1rem;
    color: white;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(12px);
}

.hero-stat strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.hero-stat span {
    display: block;
    font-size: .78rem;
    color: rgba(255, 255, 255, .78);
    margin-top: .35rem;
}

.hero-slider .swiper-pagination-bullet,
.inner-hero-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: white;
    opacity: .6;
}

.hero-slider .swiper-pagination-bullet-active,
.inner-hero-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--sc-secondary);
}

/* Full-width breakout — escapes any wrapper that constrains width */
.inner-hero-breakout {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    max-width: 100vw; /* prevent iOS horizontal overflow */
    overflow-x: hidden;
}

.inner-hero-slider {
    position: relative;
}

.inner-hero-slide {
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.inner-hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 40%, rgba(245, 157, 51, .22), transparent 28%),
        linear-gradient(90deg, rgba(9, 31, 21, .84), rgba(9, 31, 21, .50), rgba(9, 31, 21, .12));
}

.inner-hero-panel {
    position: relative;
    z-index: 2;
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 0;
}

.inner-hero-slider .swiper-button-next,
.inner-hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}

.feature-card,
.sc-card {
    background: var(--sc-card);
    border: 1px solid rgba(232, 226, 217, .9);
    border-radius: var(--sc-radius);
    box-shadow: 0 12px 35px rgba(25, 45, 36, .08);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover,
.sc-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sc-shadow);
}

.photo-card {
    border-radius: var(--sc-radius);
    overflow: hidden;
    background: white;
    border: 1px solid rgba(232, 226, 217, .9);
    box-shadow: 0 12px 35px rgba(25, 45, 36, .08);
    height: 100%;
}

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

.photo-card .photo-card-body {
    padding: 1.25rem;
}

.photo-card.tall img {
    height: 390px;
}

.photo-panel {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    min-height: 480px;
    box-shadow: var(--sc-shadow);
}

.photo-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(7, 27, 18, .72), rgba(7, 27, 18, .10));
}

.photo-panel-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 107, 75, .1);
    color: var(--sc-primary);
    font-size: 1.5rem;
}

.fact-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: white;
    border: 1px solid var(--sc-border);
    box-shadow: 0 12px 30px rgba(25, 45, 36, .07);
    height: 100%;
}

.fact-card strong {
    display: block;
    font-size: 2rem;
    color: var(--sc-primary);
    line-height: 1;
    margin-bottom: .5rem;
}

.amenity-pill {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .9rem 1rem;
    border-radius: 18px;
    background: white;
    border: 1px solid var(--sc-border);
    height: 100%;
}

.amenity-pill i {
    color: var(--sc-primary);
    font-size: 1.3rem;
}

.gallery-grid img,
.gallery-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.gallery-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 38, 30, .10);
    background: white;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent);
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: .9rem 1rem;
    color: white;
    font-weight: 700;
    text-transform: capitalize;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}

.image-feature-row {
    border-radius: 32px;
    overflow: hidden;
    background: white;
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow);
}

.image-feature-row img {
    width: 100%;
    min-height: 380px;
    height: 100%;
    object-fit: cover;
}

.booking-card {
    border-radius: 30px;
    background: white;
    border: 1px solid var(--sc-border);
    box-shadow: var(--sc-shadow);
}

.form-control,
.form-select {
    border-radius: 14px;
    border-color: #d8d4cc;
    padding: .8rem .95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--sc-primary);
    box-shadow: 0 0 0 .2rem rgba(31, 107, 75, .15);
}

.location-map-card {
    border-radius: 28px;
    overflow: hidden;
    min-height: 420px;
    background: #e9efe9;
    border: 1px solid var(--sc-border);
    position: relative;
}

.location-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.site-footer {
    background:
        radial-gradient(circle at top left, rgba(245, 157, 51, .18), transparent 32%),
        linear-gradient(135deg, #0f2d21, #123e2c);
    color: white;
}

.footer-title {
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: .6rem;
}

.footer-links a,
.footer-contact-link {
    color: rgba(255, 255, 255, .72);
    text-decoration: none;
}

.footer-links a:hover,
.footer-contact-link:hover {
    color: white;
}

.footer-action {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .10);
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding-top: 1.5rem;
    margin-top: 2.5rem;
    color: rgba(255, 255, 255, .62);
    text-align: center;
    font-size: .9rem;
}

.floating-contact {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1040;
    display: grid;
    gap: .65rem;
}

.floating-contact .btn {
    min-width: 135px;
    border-radius: 999px;
}

.cta-panel {
    border-radius: 34px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(16, 45, 34, .94), rgba(31, 107, 75, .9)), url('/images/serene/customer-night-cottage-gazebo.jpg') center/cover;
    color: white;
    box-shadow: var(--sc-shadow);
}

.cta-panel .cta-inner {
    padding: clamp(2rem, 5vw, 4rem);
}

.badge-soft {
    background: rgba(31, 107, 75, .1);
    color: var(--sc-primary);
    border: 1px solid rgba(31, 107, 75, .16);
    border-radius: 999px;
    padding: .45rem .8rem;
    font-weight: 800;
    font-size: .78rem;
}

/* ── Tablet (≤991px) ─────────────────────────────────────── */
@media (max-width: 991.98px) {
    /* Keep navbar sticky on tablet — do NOT override to relative */

    .hero-slide,
    .hero-content {
        min-height: 560px;
    }

    .inner-hero-slide,
    .inner-hero-panel {
        min-height: 440px;
    }

    .floating-contact {
        right: .75rem;
        bottom: .75rem;
    }

    .photo-panel {
        min-height: 400px;
    }

    .section-title {
        letter-spacing: -.03em;
    }
}

/* ── Mobile landscape / small tablet (≤767px) ────────────── */
@media (max-width: 767.98px) {
    .hero-slide,
    .hero-content {
        min-height: 480px;
    }

    .inner-hero-slide,
    .inner-hero-panel {
        min-height: 380px;
    }

    .inner-hero-title {
        font-size: 2rem;
        letter-spacing: -.02em;
        line-height: 1.05;
    }

    .inner-hero-subtitle {
        font-size: 1rem;
    }

    .photo-panel {
        min-height: 320px;
    }

    .image-feature-row img {
        min-height: 240px;
    }

    .section-pad {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        letter-spacing: -.02em;
    }

    .fact-card strong {
        font-size: 1.65rem;
    }
}

/* ── Small mobile (≤575px) ──────────────────────────────── */
@media (max-width: 575.98px) {
    .top-strip {
        font-size: .76rem;
        padding: .35rem 0;
    }

    .site-navbar {
        min-height: 62px;
    }

    .navbar-brand {
        font-size: 1.15rem !important;
    }

    .hero-slide,
    .hero-content {
        min-height: 420px;
    }

    .hero-title {
        font-size: 2rem;
        letter-spacing: -.02em;
    }

    .inner-hero-slide,
    .inner-hero-panel {
        min-height: 340px;
    }

    .inner-hero-title {
        font-size: 1.75rem;
        letter-spacing: -.01em;
        line-height: 1.1;
    }

    .inner-hero-subtitle {
        font-size: .95rem;
        line-height: 1.6;
    }

    .inner-hero-panel {
        padding: 2.5rem 0;
    }

    .hero-actions .btn,
    .inner-hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .section-pad {
        padding: 2.75rem 0;
    }

    .section-title {
        font-size: 1.55rem;
        letter-spacing: -.015em;
    }

    .section-kicker {
        font-size: .72rem;
    }

    .lead-muted {
        font-size: 1rem;
    }

    .photo-card img,
    .gallery-grid img,
    .gallery-image {
        height: 200px;
    }

    .photo-panel {
        min-height: 260px;
        border-radius: 20px;
    }

    .image-feature-row {
        border-radius: 20px;
    }

    .image-feature-row img {
        min-height: 220px;
        height: 220px;
    }

    .feature-card,
    .sc-card,
    .photo-card,
    .fact-card,
    .amenity-pill,
    .booking-card {
        border-radius: 18px;
    }

    .icon-box {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 14px;
    }

    .fact-card strong {
        font-size: 1.55rem;
    }

    .badge-soft {
        font-size: .72rem;
        padding: .35rem .65rem;
    }

    .floating-contact {
        left: .75rem;
        right: .75rem;
        grid-template-columns: 1fr 1fr;
    }

    .floating-contact .btn {
        min-width: auto;
        font-size: .88rem;
        padding: .55rem .5rem;
    }

    .cta-panel .cta-inner {
        padding: 2rem 1.25rem;
    }
}
