/* Explain: Luxury yoga studio component styles and interactions. */
.site-header {
    background: linear-gradient(180deg, rgba(250, 249, 246, 0.92), rgba(250, 249, 246, 0.58));
    backdrop-filter: blur(18px);
}

.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(250, 249, 246, 0.82), rgba(255, 255, 255, 0.5));
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

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

.photo-frame::after {
    position: absolute;
    inset: 1rem;
    border: 1px solid rgba(250, 249, 246, 0.55);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.photo-frame img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.photo-frame-hero {
    height: min(72vh, 700px);
    min-height: 470px;
    border-radius: 3rem;
}

.photo-frame-tall {
    height: 620px;
    width: 100%;
    max-width: 460px;
    border-radius: 3rem;
}

.image-badge {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    border-radius: 1.5rem;
    padding: 1rem 1.25rem;
}

.info-card,
.amenity-row {
    border: 1px solid var(--glass-border);
    border-radius: 1.6rem;
    background: rgba(250, 249, 246, 0.6);
    padding: 1.35rem;
}

.info-card span {
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.space-card {
    border-radius: 2rem;
    padding: 1.5rem;
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.space-card:hover {
    border-color: rgba(88, 129, 87, 0.55);
    box-shadow: 0 26px 80px rgba(31, 46, 35, 0.11);
    transform: translateY(-6px);
}

.space-card img {
    transition: transform 600ms ease;
}

.space-card:hover img {
    transform: scale(1.04);
}

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

.amenity-dot {
    width: 0.8rem;
    height: 0.8rem;
    margin-top: 0.45rem;
    border-radius: 999px;
    background: var(--accent-color);
    box-shadow: 0 0 0 0.45rem var(--terracotta-soft);
}

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

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

.photo-tile {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.photo-tile img {
    transition: transform 600ms ease;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
    transform: scale(1.05);
}

.photo-tile-overlay {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    display: inline-flex;
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 46, 35, 0.55);
    color: var(--background-color);
    opacity: 0;
    transition: opacity 300ms ease;
}

.photo-tile:hover .photo-tile-overlay,
.photo-tile:focus-visible .photo-tile-overlay {
    opacity: 1;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 30, 23, 0.92);
    padding: 1rem;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-panel {
    display: flex;
    width: min(100%, 68rem);
    max-height: calc(100vh - 2rem);
    flex-direction: column;
    gap: 0.85rem;
}

.lightbox-stage {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: var(--surface-color);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
}

.lightbox-image {
    display: block;
    width: 100%;
    max-height: calc(100vh - 11rem);
    object-fit: contain;
    background: var(--surface-color);
}

.lightbox-loading {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(31, 46, 35, 0.55);
    color: var(--background-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.lightbox-stage.is-loading .lightbox-loading {
    display: flex;
}

.lightbox-caption {
    color: var(--background-color);
    font-size: 0.85rem;
    line-height: 1.6;
}

.lightbox-button {
    display: inline-flex;
    height: 2.9rem;
    width: 2.9rem;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 249, 246, 0.35);
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.12);
    color: var(--background-color);
    transition: background 300ms ease, color 300ms ease;
}

.lightbox-button:hover,
.lightbox-button:focus-visible {
    background: var(--background-color);
    color: var(--text-color);
    outline: none;
}

.contact-form {
    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.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: var(--primary-color);
}

.form-status.error {
    color: var(--logo-subtitle-color);
}

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

    .photo-frame-hero {
        height: 480px;
        min-height: 0;
    }

    .photo-frame-tall {
        height: 460px;
        max-width: 100%;
    }

    .amenity-image-wrap {
        height: 420px;
    }

    .image-badge {
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        padding: 0.85rem 1rem;
    }

    .lightbox-image {
        max-height: calc(100vh - 13rem);
    }
}