/* Explain: Styles for various UI components including sections, cards, forms, and galleries. */
.site-header {
    background: var(--background-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    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: linear-gradient(145deg, rgba(22, 40, 82, 0.82), rgba(10, 26, 61, 0.6));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.arch-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 74, 0.4);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

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

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

.arch-frame-medium {
    height: 620px;
    max-width: 450px;
    border-radius: 999px 999px 2.1rem 2.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,
.service-row,
.contact-note {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(22, 40, 82, 0.55);
    padding: 1.25rem;
}

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

.package-card {
    min-height: 360px;
    border-radius: 2.2rem;
    padding: 2rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.package-card:hover {
    border-color: rgba(201, 162, 74, 0.6);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.45);
    transform: translateY(-6px);
}

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

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

.service-image-wrap {
    height: 660px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 3rem 999px 999px 3rem;
    box-shadow: var(--shadow-soft);
}

.booking-form,
.booking-overlay-panel {
    border-radius: 2.4rem;
    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: #7FD6A4;
}

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

.mobile-book-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    border-top: 1px solid var(--glass-border);
    background: rgba(10, 26, 61, 0.94);
    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(4, 10, 24, 0.72);
    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(0, 0, 0, 0.5);
}

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

    .arch-frame-large,
    .arch-frame-medium,
    .service-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;
    }

    .service-image-wrap {
        border-radius: 999px 999px 2rem 2rem;
    }
}

.gallery-filter {
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.6rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.gallery-filter:hover {
    border-color: var(--accent-color);
    color: var(--text-color);
}

.gallery-filter.is-active {
    border-color: var(--button-color);
    background: var(--button-color);
    color: var(--button-text);
}

.gallery-item {
    display: flex;
    flex-direction: column;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-zoom {
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    color: var(--text-color);
    transition: color 300ms ease, border-color 300ms ease;
}

.gallery-zoom:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: none;
    overflow-y: auto;
    background: rgba(4, 10, 24, 0.88);
    padding: 1rem;
    backdrop-filter: blur(6px);
}

.gallery-lightbox.is-open {
    display: block;
}

.gallery-lightbox-panel {
    display: flex;
    min-height: calc(100vh - 2rem);
    flex-direction: column;
    gap: 1rem;
}

.gallery-lightbox-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.gallery-lightbox-caption {
    margin: 0;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 600;
}

.gallery-lightbox-stage {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox-image {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    object-fit: contain;
    transition: opacity 300ms ease;
}

.gallery-lightbox-spinner {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 2rem;
}

.gallery-lightbox-spinner.is-hidden {
    display: none;
}

.footer-white {
    background: var(--footer-surface);
    color: var(--footer-text);
}

.footer-logo-circle {
    display: flex;
    height: 16rem;
    width: 16rem;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: none;
    border-radius: 999px;
    background: var(--background-color);
    box-shadow: 0 22px 50px rgba(10, 27, 61, 0.22);
    padding: 0;
}

.footer-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid var(--footer-border);
    border-radius: 1.8rem;
    background: var(--footer-surface-soft);
    padding: 1.6rem 1.25rem;
    color: var(--footer-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-contact-card i {
    display: inline-flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--footer-accent);
    color: var(--background-color);
    font-size: 1.05rem;
}

.footer-contact-card p {
    margin: 0;
}

.footer-contact-card a {
    color: var(--footer-text);
    font-weight: 600;
    transition: color 300ms ease;
}

.footer-contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 639px) {
    .footer-logo-circle {
        height: 13.5rem;
        width: 13.5rem;
        padding: 0;
    }
}