:root {
    --sand: #f4efe7;
    --linen: #fbf6ef;
    --mist: #efe5d7;
    --sage: #b4c1a1;
    --olive: #4a5a45;
    --terracotta: #c6795d;
    --sun: #f2c47b;
    --ink: #2b2724;
    --shadow: rgba(38, 32, 27, 0.18);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top, #fff7ea, #f4efe7 40%, #efe1d0 100%);
    line-height: 1.6;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -2;
    width: 40vw;
    height: 40vw;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

body::before {
    top: -10vw;
    left: -10vw;
    background: rgba(196, 156, 104, 0.45);
}

body::after {
    bottom: -12vw;
    right: -8vw;
    background: rgba(131, 156, 114, 0.35);
}

.ambient {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.45) 1px, transparent 0),
        radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 0);
    background-size: 120px 120px, 220px 220px;
    background-position: 0 0, 40px 60px;
    opacity: 0.25;
    pointer-events: none;
    z-index: -1;
}

h1,
h2,
h3 {
    font-family: "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
    margin: 0 0 16px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.8rem, 4vw, 4.6rem);
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
    font-size: clamp(1.2rem, 1.4vw, 1.6rem);
    font-weight: 600;
}

p {
    margin: 0 0 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: min(1100px, 92vw);
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 88vh;
    min-height: 88svh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-image: url("PHOTOGALLERY/HOMEPAGE_PICTURE.JPG");
    background-color: #2d251d;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fef9f2;
    padding: calc(160px + env(safe-area-inset-top)) 0 calc(110px + env(safe-area-inset-bottom));
    text-align: left;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 18, 16, 0.78) 0%, rgba(20, 18, 16, 0.42) 45%, rgba(20, 18, 16, 0.16) 100%);
    z-index: 0;
}

.nav {
    position: absolute;
    top: calc(20px + env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    width: min(1100px, 92vw);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    color: #fff6ea;
    animation: fadeInDown 1s ease forwards;
    z-index: 2;
}

.brand {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    gap: 2px;
}

.brand-script {
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: 1.4rem;
    text-transform: none;
    letter-spacing: 0.05em;
}

.brand-name {
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 18px;
    font-size: 0.9rem;
}

.nav-links a {
    position: relative;
    padding-bottom: 4px;
}

    .nav-links a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
        width: 100%;
        background: var(--sun);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--sun);
    color: #2d241b;
    font-weight: 600;
    white-space: nowrap;
}

.hero-content {
    width: min(640px, 88vw);
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    z-index: 1;
    border-left: 2px solid rgba(242, 196, 123, 0.7);
    padding-left: 22px;
    margin-left: clamp(20px, 6vw, 120px);
    animation: fadeUp 1.3s ease 0.2s both;
}

.hero-content h1,
.hero-content p {
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.7rem;
    margin-bottom: 12px;
    color: rgba(255, 246, 234, 0.85);
}

.lead {
    font-size: 1.05rem;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0 20px;
}

.btn {
    padding: 12px 20px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn.primary {
    background: var(--sun);
    color: #2d241b;
    box-shadow: 0 10px 24px rgba(242, 196, 123, 0.35);
}

.btn.ghost {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff7ee;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.hero-highlights {
    margin-top: 18px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 246, 234, 0.8);
}

.hero-highlights span {
    margin: 0 8px;
}

.section {
    padding: 90px 0;
}

.section-header {
    margin-bottom: 36px;
    max-width: 720px;
}

.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
}

.info-card {
    background: var(--linen);
    padding: 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px var(--shadow);
}

.info-card ul {
    margin: 0;
    padding-left: 18px;
}

.story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.story-stack {
    display: grid;
    gap: 24px;
}

.story-card {
    background: linear-gradient(180deg, #fffaf2 0%, #f3e8da 100%);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(74, 90, 69, 0.12);
    box-shadow: 0 18px 42px rgba(38, 32, 27, 0.14);
}

.story-card h2 {
    margin-bottom: 12px;
}

.airbnb-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.airbnb-media {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.airbnb-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fffaf2;
}

.registration {
    font-weight: 600;
    color: var(--olive);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: linear-gradient(180deg, #fffaf2 0%, #f4eadf 100%);
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(74, 90, 69, 0.08);
    box-shadow: 0 20px 42px rgba(38, 32, 27, 0.16);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card.gallery-trigger {
    cursor: pointer;
}

.card.gallery-trigger:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(38, 32, 27, 0.22);
}

.card.gallery-trigger:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 4px;
}

.card img {
    height: 210px;
    object-fit: cover;
}

.card-body {
    padding: 20px 22px 26px;
}

.card-body h3 {
    margin-bottom: 8px;
}

.map-card {
    background: linear-gradient(180deg, #fffaf2 0%, #f4eadf 100%);
    border-radius: 26px;
    border: 1px solid rgba(74, 90, 69, 0.1);
    box-shadow: 0 18px 40px rgba(38, 32, 27, 0.14);
    padding: 20px;
    display: grid;
    gap: 16px;
}

.map-frame {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(74, 90, 69, 0.12);
    background: #fffaf2;
    aspect-ratio: 16 / 9;
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-actions {
    display: flex;
    justify-content: flex-start;
}

.map-note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(43, 39, 36, 0.7);
}

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

.amenity-group {
    background: linear-gradient(180deg, #fffaf2 0%, #f6ede0 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(74, 90, 69, 0.12);
    box-shadow: 0 16px 32px rgba(38, 32, 27, 0.12);
    overflow: hidden;
}

.amenity-group summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 12px;
    padding: 18px 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
    min-height: 64px;
}

.amenity-group summary::-webkit-details-marker {
    display: none;
}

.amenity-group summary::marker {
    content: "";
}

.amenity-group summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--terracotta);
    justify-self: end;
    grid-column: 3;
}

.amenity-group[open] summary::after {
    content: "-";
}

.amenity-group summary span:first-child {
    grid-column: 1;
}

.amenity-meta {
    grid-column: 2;
    justify-self: end;
}

.amenity-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(43, 39, 36, 0.5);
}

.amenity-content {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(74, 90, 69, 0.12);
    background: rgba(255, 255, 255, 0.6);
}

.amenity-list {
    margin: 16px 0 0;
    padding-left: 18px;
    column-width: 180px;
    column-gap: 24px;
}

.amenity-list li {
    margin-bottom: 8px;
    font-size: 0.9rem;
    break-inside: avoid;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 14px 30px var(--shadow);
    position: relative;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: zoom-in;
}

.gallery-item img {
    height: 240px;
    object-fit: cover;
    transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
    filter: saturate(1.08);
}

.gallery-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 22px 40px rgba(38, 32, 27, 0.22);
    z-index: 2;
}

.gallery-item:focus-visible {
    outline: 2px solid var(--sun);
    outline-offset: 4px;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 18, 16, 0.78);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 20;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    position: relative;
    max-width: min(1100px, 92vw);
    background: #fffaf2;
    padding: 24px 52px 18px;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.lightbox-image {
    max-width: 100%;
    max-height: 75vh;
    max-height: 75svh;
    border-radius: 16px;
    display: block;
}

.lightbox-caption {
    margin: 12px 0 0;
    font-size: 0.9rem;
    color: rgba(43, 39, 36, 0.7);
}

.lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    border: none;
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.lightbox-nav.prev {
    left: 12px;
}

.lightbox-nav.next {
    right: 12px;
}

body.lightbox-open {
    overflow: hidden;
}

.location-points {
    display: grid;
    gap: 14px;
    margin-top: 20px;
}

.point {
    padding: 12px 18px;
    background: #fffaf2;
    border-radius: 999px;
    border: 1px solid rgba(74, 90, 69, 0.12);
    box-shadow: 0 12px 26px rgba(38, 32, 27, 0.12);
}


.booking {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(120deg, rgba(246, 226, 199, 0.9), rgba(225, 231, 208, 0.85));
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px var(--shadow);
}

.booking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.calendar-wrap {
    background: var(--linen);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 18px 45px var(--shadow);
}

.calendar-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 0.85rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #fffaf2;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.legend-swatch.booked {
    background: rgba(198, 121, 93, 0.25);
    border-color: rgba(198, 121, 93, 0.5);
}

.legend-swatch.today {
    border: 2px solid var(--sun);
    background: transparent;
}

.calendar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.calendar-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.calendar-month {
    background: #fffaf2;
    border-radius: var(--radius-md);
    padding: 18px;
    box-shadow: 0 14px 30px var(--shadow);
}

.calendar-month-header {
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    color: var(--olive);
}

.calendar-weekdays,
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    text-align: center;
}

.calendar-weekdays span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(43, 39, 36, 0.55);
}

.calendar-day {
    padding: 8px 0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.85rem;
}

.calendar-day.booked {
    background: rgba(198, 121, 93, 0.22);
    color: #6b3b2b;
    font-weight: 600;
}

.calendar-day.today {
    border: 2px solid var(--sun);
    font-weight: 600;
}

.calendar-day.is-empty {
    background: transparent;
    border: none;
}

.calendar-note {
    margin: 10px 0 16px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fffaf2;
    border: 1px solid rgba(74, 90, 69, 0.12);
    font-size: 0.85rem;
    color: rgba(43, 39, 36, 0.75);
    display: none;
}

.calendar-note.is-visible {
    display: block;
}

.footer {
    padding: 50px 0 70px;
    background: #efe6da;
}

.footer-content {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(240px, 1fr);
    gap: 40px;
    align-items: start;
}

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

.footer-branding p {
    margin-bottom: 12px;
}

.footer-links {
    display: grid;
    gap: 18px;
}

.footer-panel {
    background: #fffaf2;
    border-radius: 24px;
    padding: 20px 22px;
    border: 1px solid rgba(74, 90, 69, 0.12);
    box-shadow: 0 18px 40px rgba(38, 32, 27, 0.14);
    display: grid;
    gap: 16px;
}

.footer-panel-section {
    display: grid;
    gap: 10px;
}

.footer-label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
    color: rgba(43, 39, 36, 0.7);
}

.footer-divider {
    height: 1px;
    background: rgba(74, 90, 69, 0.12);
}

.footer-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2f2a25;
}

.footer-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(74, 90, 69, 0.12);
    background: #fff;
    font-weight: 600;
    color: #2f2a25;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-chip:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(38, 32, 27, 0.16);
}

.icon-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(242, 196, 123, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5a4634;
}

.icon-circle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.7;
}

.icon-circle .dot {
    fill: currentColor;
    stroke: none;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .nav {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: var(--radius-md);
        gap: 12px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        padding-left: 18px;
        margin-left: 32px;
    }

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

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

    .footer-contact,
    .footer-chip {
        width: fit-content;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .nav {
        padding: 12px 14px;
        gap: 10px;
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 8px;
        align-items: center;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 0.85rem;
        grid-column: 2;
        justify-self: end;
    }

    .nav-links {
        display: flex;
        order: 3;
        width: 100%;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 6px;
        margin-top: 6px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        border: 1px solid rgba(255, 255, 255, 0.2);
        font-size: 0.78rem;
        white-space: nowrap;
    }

    .nav-links a::after {
        display: none;
    }

    .brand {
        grid-column: 1;
    }

    .nav-links {
        grid-column: 1 / -1;
    }

    .hero {
        min-height: 100svh;
        padding: calc(120px + env(safe-area-inset-top)) 0 60px;
        background-position: center 20%;
    }

    .hero-content {
        border-left: none;
        padding: 20px;
        padding-left: 20px;
        text-align: center;
        margin-left: 0;
        background: rgba(20, 18, 16, 0.78);
        border-radius: 20px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
        max-width: 92vw;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 7vw, 2.8rem);
    }

    .hero-highlights {
        letter-spacing: 0.14em;
    }

    .calendar-toolbar {
        justify-content: center;
    }

    .booking {
        padding: 28px;
    }

    .gallery img {
        height: 220px;
    }

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

    .gallery {
        grid-auto-flow: column;
        grid-auto-columns: 82%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .gallery figure {
        scroll-snap-align: start;
    }

    .map-frame {
        aspect-ratio: 4 / 3;
    }

    .amenity-list {
        column-width: auto;
        column-count: 1;
    }

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

    .story-card {
        padding: 20px;
    }

    .lightbox-content {
        padding: 18px 16px 14px;
    }

    .lightbox-nav {
        padding: 8px 10px;
    }

    .lightbox-nav.prev {
        left: 8px;
    }

    .lightbox-nav.next {
        right: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
