/* Explain: Styles for site header, footer, and various UI components, including logo and brand elements. - */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(18px);
}

.brand-logo-frame {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo-image {
    width: auto;
    object-fit: contain;
}

.brand-logo-frame-header .brand-logo-image {
    height: 5rem;
    max-width: 17rem;
}

.brand-logo-frame-mobile .brand-logo-image {
    height: 3.5rem;
    max-width: 13rem;
}

.brand-logo-frame-footer .brand-logo-image {
    height: 6rem;
    max-width: 18rem;
}

@media (max-width: 480px) {
    .brand-logo-frame-header .brand-logo-image {
        height: 3.8rem;
        max-width: 13rem;
    }
    .brand-logo-frame-footer .brand-logo-image {
        height: 4.6rem;
        max-width: 13.5rem;
    }
}

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

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

.glass-panel {
    border: 1px solid var(--glass-border);
    background: var(--background-color);
    box-shadow: var(--shadow-soft);
}

/* Premium Card Replacements */
.premium-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.premium-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.quiet-detail,
.amenity-row {
    border-left: 3px solid var(--accent-color);
    background: var(--surface-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border-radius: 0 8px 8px 0;
}

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

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

.class-card {
    border-radius: 8px;
    padding: 2rem;
    transition: all 400ms ease;
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

.class-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-4px);
}

.amenity-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left-width: 4px;
}

.booking-form,
.booking-overlay-panel {
    border-radius: 12px;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--background-color);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-status.success { color: #166534; }
.form-status.error { color: #991b1b; }

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.8);
    padding: 1rem;
    backdrop-filter: blur(4px);
}

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

.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--background-color);
}