/* Explain: Styles for page components, including header, sections, cards, and buttons. - */
.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}

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

.section-kicker::before, .section-kicker::after {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-gradient);
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 1), rgba(250, 250, 250, 0.8));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
}

/* Elegant rounded frames */
.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    border-radius: 2rem;
    padding: 0.5rem;
}

.arch-frame img {
    border-radius: 1.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arch-frame-large, .arch-frame-medium {
    aspect-ratio: 4/5;
    max-width: 500px;
    height: auto;
    margin: 0 auto;
}

.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.5rem;
    background: var(--glass-bg);
    padding: 1.5rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.9rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.6rem;
    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: 1.5rem;
    padding: 2rem;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
    transform: translateY(-5px);
}

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

.amenity-dot {
    width: 1rem;
    height: 1rem;
    margin-top: 0.3rem;
    border-radius: 999px;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.amenity-image-wrap {
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
    background: var(--surface-color);
}

.amenity-image-wrap img {
    border-radius: 1.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2rem;
    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-status.success { color: #4A6B53; }
.form-status.error { color: #9B4A3D; }

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 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(0, 0, 0, 0.4);
    padding: 1rem;
    backdrop-filter: blur(5px);
}

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

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

/* Festive Gold Button Style */
.btn-gold {
    background: var(--gold-gradient) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: var(--shadow-button) !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4) !important;
    filter: brightness(1.05);
}

@media (max-width: 767px) {
    .section-kicker::before, .section-kicker::after {
        width: 20px;
    }
    .arch-frame-large, .arch-frame-medium, .amenity-image-wrap {
        height: auto;
        min-height: 400px;
    }
}