/**
 * Holden Villa — Gallery Page
 * Hero with photo background (matches About page style)
 */

body.page-gallery {
    --hg-gold: #f5c518;
    --hg-gold-bright: #ffd54f;
    --hg-font: 'Outfit', 'DM Sans', sans-serif;
    --hg-display: 'Cinzel', 'Fraunces', Georgia, serif;
    color: #c8d0e0;
}

body.page-gallery section {
    background: transparent !important;
}

body.page-gallery .hg-page-hero,
body.page-gallery .hv-gallery {
    background: transparent !important;
}

body.page-gallery .hg-page-hero__bg {
    background:
        linear-gradient(180deg, rgba(6, 4, 20, 0.78) 0%, rgba(10, 14, 32, 0.52) 48%, rgba(10, 22, 40, 0.9) 100%),
        url('../img/gallery/gallery-hero-patio.png') center center / cover no-repeat !important;
}

/* ─── Page Hero ─── */
.hg-page-hero {
    position: relative;
    padding: calc(var(--hv-header-h) + 72px) 0 72px;
    text-align: center;
    overflow: hidden;
    min-height: clamp(300px, 38vw, 460px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hg-page-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 4, 20, 0.78) 0%, rgba(10, 14, 32, 0.52) 48%, rgba(10, 22, 40, 0.9) 100%),
        url('../img/gallery/gallery-hero-patio.png') center center / cover no-repeat;
    z-index: 0;
}

.hg-page-hero .hv-container {
    position: relative;
    z-index: 1;
}

.hg-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--hg-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--hg-gold-bright);
    margin-bottom: 18px;
}

.hg-kicker__line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: rgba(245, 197, 24, 0.55);
}

.hg-kicker__star {
    font-size: 9px;
    color: var(--hg-gold);
}

.hg-hero__title {
    font-family: var(--hg-display) !important;
    font-size: clamp(2.2rem, 5.5vw, 3.6rem);
    color: #fff;
    margin: 0 0 16px;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.04em;
}

.hg-hero__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--hg-gold);
    font-size: 10px;
    margin: 0 0 20px;
}

.hg-hero__divider span {
    display: inline-block;
    width: 60px;
    height: 1px;
    background: rgba(245, 197, 24, 0.5);
}

.hg-hero__desc {
    max-width: 640px;
    margin: 0 auto;
    font-family: var(--hg-font);
    font-size: 15px;
    line-height: 1.75;
    color: rgba(200, 208, 224, 0.82);
}

@media (max-width: 767.98px) {
    body.page-gallery .hg-page-hero {
        position: relative;
        z-index: 2;
        min-height: 0;
        padding: calc(var(--hv-header-h, 72px) + 20px) 0 24px;
        overflow: visible;
    }

    body.page-gallery .hg-page-hero .hv-container {
        position: relative;
        z-index: 2;
    }

    body.page-gallery .hg-page-hero__bg {
        display: none !important;
    }

    body.page-gallery .hg-kicker,
    body.page-gallery .hg-hero__title,
    body.page-gallery .hg-hero__divider,
    body.page-gallery .hg-hero__desc {
        opacity: 1;
        visibility: visible;
    }

    body.page-gallery .hg-hero__title {
        color: #fff;
    }

    body.page-gallery .hg-hero__desc {
        font-size: 14px;
        padding: 0 8px;
        color: rgba(200, 208, 224, 0.82);
    }

    body.page-gallery .hv-gallery__board,
    body.page-gallery .hv-gallery__board.hv-reveal {
        opacity: 1;
        transform: none;
    }
}
