/* Explain: Component styles for layout, animations, and UI elements. - */
@keyframes move-back {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(6px); }
}

.animate-move-back {
    animation: move-back 4s ease-in-out infinite;
}

.site-header {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
}

.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.25em;
    text-transform: uppercase;
}

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

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

.arch-frame {
    position: relative;
    overflow: hidden;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    border-radius: 0.25rem;
}

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

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

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

.floating-note {
    position: absolute;
    right: -2rem;
    bottom: 4rem;
    display: flex;
    max-width: 280px;
    align-items: center;
    gap: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 1.25rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 4px solid var(--accent-color);
    box-shadow: var(--shadow-soft);
}

.story-card {
    position: absolute;
    right: 0;
    bottom: 2.5rem;
    max-width: 290px;
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-bottom: 4px solid var(--accent-color);
}

.quiet-detail,
.amenity-row,
.contact-note {
    border: 1px solid var(--border-color);
    border-radius: 0.25rem;
    background: var(--background-color);
    padding: 1.5rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 1rem;
    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 {
    min-height: 360px;
    border-radius: 0.25rem;
    padding: 2.5rem;
    transition: transform 400ms ease, border-color 400ms ease, box-shadow 400ms ease;
    border: 1px solid var(--border-color);
    background: var(--background-color);
}

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

.amenity-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    border: none;
    padding: 0;
    background: transparent;
}

.amenity-dot {
    width: 2.5rem;
    height: 2px;
    margin-top: 0.6rem;
    background: var(--accent-color);
}

.amenity-image-wrap {
    height: 660px;
    overflow: hidden;
    border-radius: 0.25rem;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 0.5rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    background: var(--background-color);
    border: 1px solid var(--border-color);
}

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.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: 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(10, 17, 40, 0.8);
    padding: 1rem;
    backdrop-filter: blur(8px);
}

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

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

    .arch-frame-large,
    .arch-frame-medium,
    .amenity-image-wrap {
        height: 480px;
        min-height: 0;
    }

    .arch-frame-large {
        margin-right: auto;
        margin-left: auto;
        width: 100%;
    }

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

/* Buttons */
.btn {
    border-radius: 0.25rem !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hide Google Translate UI Elements */
.goog-te-banner-frame.skiptranslate { display: none !important; }
body { top: 0px !important; }
#google_translate_element { display: none !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; border: none !important; box-shadow: none !important; }