/* Explain: Styles for components, including featured property advertisement thumbnails and lightbox. */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

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

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

.feature-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(31, 90, 148, 0.15);
    border-color: var(--primary-color);
}

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

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-status.success {
    color: #1F5A94;
}

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

/* Overlays */
.booking-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    overflow-y: auto;
    background: rgba(62, 74, 89, 0.5);
    padding: 1rem;
}
.booking-overlay.is-open {
    display: block;
}
.booking-overlay-panel {
    min-height: calc(100vh - 2rem);
    background: var(--surface-color);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 30px 90px rgba(62, 74, 89, 0.3);
}

/* Featured property advertisement thumbnails + lightbox */
.ad-thumb {
    cursor: pointer;
}

.ad-lightbox {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: none;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    background: rgba(18, 30, 46, 0.85);
    padding: 1rem;
}

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

.ad-lightbox-panel {
    position: relative;
    width: 100%;
    max-width: 52rem;
    margin: auto;
    background: var(--surface-color);
    border-radius: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    box-shadow: 0 30px 90px rgba(18, 30, 46, 0.45);
}

.ad-lightbox-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 1.1rem;
    box-shadow: var(--shadow-soft);
    transition: background 300ms ease, color 300ms ease;
}

.ad-lightbox-close:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.ad-lightbox-images {
    display: grid;
    gap: 1rem;
    margin-top: 1.25rem;
}

.ad-lightbox-frame {
    position: relative;
    min-height: 12rem;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--background-color);
}

.ad-lightbox-spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.ad-lightbox-frame.is-loaded .ad-lightbox-spinner {
    display: none;
}

.ad-lightbox-img {
    display: block;
    width: 100%;
    height: auto;
}
