/* Explain: Styles for UI components, animations, and layout helpers. - */
.site-header {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--border-color);
}

/* Set dark theme variables for the footer to contrast with deep purple bg */
footer {
    --text-color: #FBF9F6;
    --text-muted: #B3ABC0;
    --border-color: rgba(212, 175, 55, 0.2);
    --glass-border: rgba(212, 175, 55, 0.2);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--accent-color);
    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: var(--surface-color);
    box-shadow: var(--shadow-soft);
    border-radius: 0.75rem !important; /* Classic rectangular look */
}

.btn {
    border-radius: 0.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.vlog-series-filter.is-active {
    border-color: var(--button-color) !important;
    background: var(--button-color) !important;
    color: #150a21 !important;
}

.vlog-series-group[hidden] {
    display: none !important;
}

.btn-circle, .rounded-full.w-11, .rounded-full.w-12 {
    border-radius: 50% !important;
}

.arch-frame, .amenity-image-wrap {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    border-radius: 0.5rem !important;
}

.arch-frame::after {
    position: absolute;
    inset: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: inherit;
    content: "";
    pointer-events: none;
    opacity: 0.5;
}

.arch-frame-large {
    height: min(74vh, 720px);
    min-height: 500px;
}

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
}

.amenity-image-wrap {
    height: 660px;
}

.floating-note {
    position: absolute;
    right: -1.5rem;
    bottom: 4rem;
    display: flex;
    max-width: 250px;
    align-items: center;
    gap: 0.85rem;
    border-radius: 0.5rem;
    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: 0.5rem;
    padding: 1.5rem;
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    background: var(--surface-color);
    padding: 1.25rem;
    box-shadow: var(--shadow-soft);
}

.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 {
    min-height: 360px;
    border-radius: 0.75rem !important;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 15px 45px rgba(42, 23, 68, 0.08);
    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: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

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

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

/* Form inputs classic reset */
.input, .textarea {
    border-radius: 0.25rem !important;
}

.form-status.success {
    color: #059669;
}

.form-status.error {
    color: #DC2626;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(251, 249, 246, 0.95);
    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(42, 23, 68, 0.4);
    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(42, 23, 68, 0.3);
}

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

    .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);
    }
}

/* Scroll Animations */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}