/* Explain: Styles for various website components, including header, glass panels, and form elements. - */
.site-header {
    background: linear-gradient(180deg, rgba(253, 251, 248, 0.86), rgba(253, 251, 248, 0.52));
    backdrop-filter: blur(18px);
}

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

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(253, 251, 248, 0.78), rgba(255, 255, 255, 0.48));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

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

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

.arch-frame-large {
    height: min(58vh, 520px);
    min-height: 380px;
    border-radius: 999px 999px 2.5rem 2.5rem;
}

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

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 999px;
    padding: 1rem 1.2rem;
    color: var(--text-color);
    font-size: 0.82rem;
    font-weight: 600;
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    border-radius: 2rem;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(253, 251, 248, 0.58);
    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;
}

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

.class-card:hover {
    border-color: rgba(184, 144, 91, 0.58);
    box-shadow: 0 26px 80px rgba(43, 32, 18, 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(--primary-soft);
}

.amenity-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.booking-form {
    border-radius: 1.75rem;
    padding: 1.35rem 1.5rem;
    scroll-margin-top: clamp(120px, 15vh, 180px);
}

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

.booking-form input,
.booking-form textarea,
.booking-overlay-panel input,
.booking-overlay-panel textarea {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    letter-spacing: 0.01em;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder,
.booking-overlay-panel input::placeholder,
.booking-overlay-panel textarea::placeholder {
    font-family: var(--font-heading);
    font-style: normal;
    opacity: 0.65;
}

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

.form-status.success {
    color: #5C4326;
}

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

@keyframes ctaPulseFlash {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(184, 144, 91, 0.65), 0 16px 36px rgba(184, 144, 91, 0.25);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(184, 144, 91, 0), 0 20px 42px rgba(184, 144, 91, 0.45);
        transform: scale(1.025);
    }
}

@keyframes flashShimmer {
    0%, 30% {
        left: -120%;
    }
    70%, 100% {
        left: 140%;
    }
}

.btn-flash {
    animation: ctaPulseFlash 2.2s infinite cubic-bezier(0.4, 0, 0.6, 1);
    position: relative;
    overflow: hidden;
}

.btn-flash::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: skewX(-22deg);
    animation: flashShimmer 2.4s infinite;
    pointer-events: none;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(253, 251, 248, 0.86);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(43, 32, 18, 0.32);
    padding: 1rem;
}

.booking-overlay.is-open {
    display: block;
}

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
    box-shadow: 0 30px 90px rgba(43, 32, 18, 0.22);
}

@media (max-width: 767px) {
    .arch-frame-large,
    .arch-frame-medium,
    .amenity-image-wrap {
        height: 510px;
        min-height: 0;
    }

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

    .floating-note,
    .story-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -2.5rem auto 0;
    }

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