/* Explain: Component styles for various UI elements including forms and cards. */
.site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.52));
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--primary-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(--glass-bg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

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

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

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 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: var(--glass-bg);
    padding: 1.25rem;
    backdrop-filter: blur(10px);
}

.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: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.class-card:hover {
    border-color: rgba(13, 71, 161, 0.4);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 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 {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

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

.booking-form-light {
    background: #FFFFFF;
    border: 1px solid rgba(13, 71, 161, 0.16);
    box-shadow: 0 30px 90px rgba(13, 71, 161, 0.18);
}

.booking-form-light .form-label {
    color: #0D47A1;
}

.booking-form-light .input,
.booking-form-light .textarea {
    background: #FFFFFF;
    border-color: rgba(13, 71, 161, 0.3);
    color: #0D47A1;
}

.booking-form-light .input::placeholder,
.booking-form-light .textarea::placeholder {
    color: rgba(13, 71, 161, 0.45);
}

.booking-form-light .input:focus,
.booking-form-light .textarea:focus {
    border-color: #0D47A1;
}

.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: #0D47A1;
}

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

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: var(--nav-bg);
    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(31, 46, 35, 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(31, 46, 35, 0.22);
}

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

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

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

.whatsapp-widget {
    position: fixed;
    right: 1.25rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .whatsapp-widget {
        bottom: 1.5rem;
    }
}

.whatsapp-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    border-radius: 999px;
    background: #25D366;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.4);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.whatsapp-toggle:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.5);
}

.whatsapp-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.whatsapp-menu {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 240px;
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: var(--nav-bg);
    padding: 0.75rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transform-origin: bottom right;
    animation: whatsapp-pop 200ms ease;
}

.whatsapp-menu.is-open {
    display: flex;
}

.whatsapp-menu-title {
    margin: 0 0 0.35rem;
    padding: 0 0.5rem;
    color: var(--text-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 0.9rem;
    padding: 0.7rem 0.75rem;
    color: var(--text-color);
    text-decoration: none;
    transition: background 250ms ease;
}

.whatsapp-option:hover {
    background: var(--surface-color);
}

.whatsapp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
}

.whatsapp-option-text {
    display: flex;
    flex-direction: column;
}

.whatsapp-option-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
}

.whatsapp-option-number {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.whatsapp-option .fa-whatsapp {
    margin-left: auto;
    color: #25D366;
    font-size: 1.35rem;
}

@keyframes whatsapp-pop {
    from {
        opacity: 0;
        transform: translateY(0.5rem) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
