/* Explain: Styling for page sections like hero, info blocks, and galleries. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.62));
    backdrop-filter: blur(18px);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.4rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(250, 249, 246, 0.8), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(88, 129, 87, 0.38);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.arch-frame::after {
    position: absolute;
    inset: 1.1rem;
    border: 1px solid rgba(250, 249, 246, 0.62);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.arch-frame-large {
    height: min(70vh, 680px);
    min-height: 440px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

.arch-frame-medium {
    height: 560px;
    max-width: 460px;
    border-radius: 999px 999px 2.1rem 2.1rem;
}

.floating-note {
    position: absolute;
    right: 0.9rem;
    bottom: 2rem;
    display: flex;
    max-width: 240px;
    align-items: center;
    gap: 0.7rem;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.5;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.room-card {
    border-radius: 2.2rem;
    padding: 1.5rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.room-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
}

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

.amenity-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem;
    box-shadow: var(--shadow-soft);
}

.experience-card {
    border-radius: 1.9rem;
    padding: 1.6rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.experience-card:hover {
    border-color: rgba(88, 129, 87, 0.58);
    box-shadow: 0 22px 60px rgba(31, 46, 35, 0.09);
    transform: translateY(-4px);
}

.experience-icon {
    display: inline-flex;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.05rem;
}

.gallery-tile {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: var(--surface-color);
    padding: 0;
    box-shadow: var(--shadow-soft);
}

.gallery-tile img {
    transition: transform 500ms ease;
}

.gallery-tile:hover img {
    transform: scale(1.06);
}

.gallery-zoom {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    display: inline-flex;
    width: 2.4rem;
    height: 2.4rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.88);
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0;
    transition: opacity 300ms ease;
}

.gallery-tile:hover .gallery-zoom,
.gallery-tile:focus-visible .gallery-zoom {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(31, 46, 35, 0.86);
    backdrop-filter: blur(6px);
}

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

.lightbox-figure {
    position: relative;
    display: flex;
    max-width: min(1100px, 100%);
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    display: none;
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    border-radius: 1.25rem;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

.lightbox-image.is-visible {
    display: block;
}

.lightbox-spinner {
    display: flex;
    width: 10rem;
    height: 10rem;
    align-items: center;
    justify-content: center;
    color: rgba(250, 249, 246, 0.9);
    font-size: 1.6rem;
}

.lightbox-spinner.is-hidden {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: inline-flex;
    width: 2.9rem;
    height: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 246, 0.4);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.14);
    color: #FAF9F6;
    font-size: 1.05rem;
    transition: background 200ms ease;
}

.lightbox-close:hover {
    background: rgba(250, 249, 246, 0.28);
}

.booking-form {
    border-radius: 2.4rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-color);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: #4A6B53;
}

.form-status.error {
    color: #9B4A3D;
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .arch-frame-large,
    .arch-frame-medium {
        height: 430px;
        min-height: 0;
    }

    .arch-frame-large,
    .arch-frame-medium {
        margin-right: auto;
        margin-left: auto;
        width: min(100%, 430px);
    }

    .amenity-image-wrap {
        border-radius: 2rem;
    }

    .floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2rem auto 0;
        max-width: 100%;
        border-radius: 1.4rem;
    }
}

.page-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(163, 177, 138, 0.22), transparent 24rem),
        linear-gradient(180deg, var(--background-color), var(--surface-color));
}

.info-block {
    border: 1px solid var(--glass-border);
    border-radius: 1.8rem;
    background: rgba(250, 249, 246, 0.68);
    padding: clamp(1.4rem, 3vw, 2rem);
    box-shadow: var(--shadow-soft);
}

.info-block h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-color);
}

.info-block h2 i {
    color: var(--accent-color);
}

.info-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    padding: 0;
    list-style: none;
}

.info-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.info-list li::before {
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--accent-color);
    content: "";
}

.room-gallery {
    position: relative;
    margin-bottom: 1.5rem;
}

.room-gallery-track {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: var(--surface-color);
    aspect-ratio: 4 / 3;
}

.room-gallery-slide {
    position: absolute;
    inset: 0;
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-gallery-slide.is-active {
    display: block;
}

.room-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    width: 2.75rem;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 246, 0.5);
    border-radius: 999px;
    background: rgba(31, 46, 35, 0.45);
    color: #FAF9F6;
    font-size: 0.85rem;
    transform: translateY(-50%);
    transition: background 200ms ease;
}

.room-gallery-nav:hover,
.room-gallery-nav:focus-visible {
    background: rgba(31, 46, 35, 0.72);
}

.room-gallery-prev {
    left: 0.7rem;
}

.room-gallery-next {
    right: 0.7rem;
}

.room-gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(31, 46, 35, 0.35);
    transform: translateX(-50%);
    backdrop-filter: blur(6px);
}

.room-gallery-dot {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.55);
    transition: background 200ms ease, transform 200ms ease;
}

.room-gallery-dot.is-active {
    background: var(--button-color);
    transform: scale(1.25);
}