/* =========================================================
   ENDE HOLIDAYS — GALLERY
   Premium Gallery Page
   ========================================================= */

:root {
    --gallery-gold: #E99F24;
    --gallery-gold-light: #F0B84D;
    --gallery-gold-dark: #CB981F;

    --gallery-dark: #241A10;
    --gallery-brown: #3A2818;
    --gallery-beige: #F5EAD7;
    --gallery-cream: #FBF7F0;

    --gallery-text: #30251B;
    --gallery-muted: #75685A;

    --gallery-radius: 22px;
    --gallery-shadow: 0 18px 50px rgba(36, 26, 16, .12);
}


/* =========================================================
   BASE
   ========================================================= */

.gallery-page {
    position: relative;

    background: var(--gallery-cream);
    color: var(--gallery-text);

    overflow: visible;
}

.gallery-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HERO
   ========================================================= */

.gallery-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gallery-dark);
}

.gallery-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(36, 26, 16, .25) 0%,
            rgba(36, 26, 16, .50) 55%,
            rgba(36, 26, 16, .82) 100%
        );
}

.gallery-hero-content {
    position: relative;
    z-index: 2;

    width: min(900px, calc(100% - 40px));

    text-align: center;
    color: #fff;

    padding: 90px 0 75px;
}

.gallery-eyebrow {
    display: inline-block;
    margin-bottom: 18px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;

    color: var(--gallery-gold-light);
}

.gallery-hero h1 {
    margin: 0;

    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -.025em;
}

.gallery-hero-line {
    width: 58px;
    height: 3px;
    margin: 25px auto 22px;

    background: var(--gallery-gold);
    border-radius: 50px;
}

.gallery-hero-content p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}


/* =========================================================
   INTRO
   ========================================================= */

.gallery-intro {
    padding: 95px 0 80px;
    background: var(--gallery-cream);
}

.gallery-intro-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.gallery-section-label {
    display: inline-block;

    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;

    color: var(--gallery-gold-dark);
}

.gallery-intro h2,
.gallery-section-heading h2 {
    margin: 0;

    color: var(--gallery-dark);

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.gallery-intro-content,
.gallery-intro-inner > p {
    max-width: 720px;
    margin: 24px auto 0;

    color: var(--gallery-muted);

    font-size: 16px;
    line-height: 1.85;
}

.gallery-intro-content p {
    margin: 0 0 14px;
}

.gallery-intro-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LOCATIONS SECTION
   ========================================================= */

.gallery-locations {
    padding: 25px 0 105px;
    background: var(--gallery-cream);
}

.gallery-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;

    margin-bottom: 42px;
}

.gallery-section-heading > div {
    flex: 1;
}

.gallery-section-heading > p {
    max-width: 420px;
    margin: 0;

    color: var(--gallery-muted);

    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   LOCATION GRID
   ========================================================= */

.gallery-location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   LOCATION CARD
   ========================================================= */

.gallery-location-card {
    min-width: 0;
}

.gallery-location-link {
    display: block;

    color: inherit;
    text-decoration: none;

    border-radius: var(--gallery-radius);

    overflow: hidden;

    background: #fff;

    box-shadow: 0 8px 28px rgba(36, 26, 16, .08);

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.gallery-location-image {
    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: var(--gallery-brown);
}

.gallery-location-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .65s cubic-bezier(.2, .7, .2, 1),
        filter .45s ease;
}


/* =========================================================
   IMAGE OVERLAY
   ========================================================= */

.gallery-location-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(36, 26, 16, 0) 25%,
            rgba(36, 26, 16, .15) 45%,
            rgba(36, 26, 16, .86) 100%
        );

    transition: background .4s ease;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.gallery-location-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    padding: 28px 28px 25px;

    color: #fff;
}

.gallery-location-label {
    display: block;

    margin-bottom: 7px;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;

    color: var(--gallery-gold-light);
}

.gallery-location-content h3 {
    margin: 0;

    font-size: 25px;
    line-height: 1.15;
    font-weight: 650;
}

.gallery-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 15px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;

    color: rgba(255, 255, 255, .86);

    transition:
        color .3s ease,
        gap .3s ease;
}


/* =========================================================
   HOVER
   ========================================================= */

.gallery-location-link:hover {
    transform: translateY(-7px);

    box-shadow:
        0 20px 45px rgba(36, 26, 16, .17),
        0 0 0 1px rgba(233, 159, 36, .55);
}

.gallery-location-link:hover img {
    transform: scale(1.07);
    filter: saturate(1.06);
}

.gallery-location-link:hover .gallery-location-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(36, 26, 16, .03) 20%,
            rgba(36, 26, 16, .20) 45%,
            rgba(36, 26, 16, .91) 100%
        );
}

.gallery-location-link:hover .gallery-view {
    gap: 13px;
    color: var(--gallery-gold-light);
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.gallery-image-placeholder {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            var(--gallery-brown),
            var(--gallery-dark)
        );

    color: rgba(255, 255, 255, .55);

    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   EMPTY
   ========================================================= */

.gallery-empty {
    padding: 70px 30px;

    text-align: center;

    border: 1px solid rgba(58, 40, 24, .10);
    border-radius: var(--gallery-radius);

    background: #fff;
}

.gallery-empty h3 {
    margin: 0 0 10px;

    color: var(--gallery-dark);

    font-size: 25px;
}

.gallery-empty p {
    margin: 0;

    color: var(--gallery-muted);
}


/* =========================================================
   CTA
   ========================================================= */


.gallery-cta {
    position: relative;

    padding: 105px 0 110px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(233, 159, 36, .13),
            transparent 48%
        ),
        var(--gallery-beige);

    color: var(--gallery-dark);

    border-top: 1px solid rgba(58, 40, 24, .07);
}


/* Decorative gold line */

.gallery-cta::before {
    content: "";

    position: absolute;
    top: 0;
    left: 50%;

    width: 70px;
    height: 3px;

    transform: translateX(-50%);

    background: var(--gallery-gold);

    border-radius: 0 0 10px 10px;
}


.gallery-cta-inner {
    position: relative;

    max-width: 760px;
    margin: 0 auto;

    text-align: center;
}


/* Small label */

.gallery-cta .gallery-section-label {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--gallery-gold-dark);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .24em;
    text-transform: uppercase;
}


/* Heading */

.gallery-cta h2 {
    margin: 0;

    color: var(--gallery-dark);

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -.025em;
}


/* Description */

.gallery-cta p {
    max-width: 600px;

    margin: 20px auto 32px;

    color: var(--gallery-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* Button */

.gallery-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 25px;

    border: 1px solid var(--gallery-gold);
    border-radius: 999px;

    background: var(--gallery-gold);

    color: var(--gallery-dark);

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: .02em;

    box-shadow:
        0 8px 22px rgba(233, 159, 36, .16);

    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}


.gallery-cta-button:hover {
    transform: translateY(-3px);

    background: var(--gallery-gold-light);

    color: var(--gallery-dark);

    box-shadow:
        0 13px 30px rgba(233, 159, 36, .24);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .gallery-location-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .gallery-section-heading > p {
        max-width: 650px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

    .gallery-container {
        width: min(100% - 28px, 1180px);
    }

    .gallery-hero {
        min-height: 450px;
    }

    .gallery-hero-content {
        padding: 65px 0 55px;
    }

    .gallery-hero h1 {
        font-size: 42px;
    }

    .gallery-hero-content p {
        font-size: 14px;
    }

    .gallery-intro {
        padding: 70px 0 55px;
    }

    .gallery-intro h2,
    .gallery-section-heading h2 {
        font-size: 31px;
    }

    .gallery-locations {
        padding: 10px 0 75px;
    }

    .gallery-location-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .gallery-location-image {
        aspect-ratio: 4 / 3;
    }

    .gallery-location-content {
        padding: 25px 23px 22px;
    }

    .gallery-location-content h3 {
        font-size: 23px;
    }

    .gallery-cta {
        padding: 75px 0 80px;
    }

    .gallery-cta h2 {
        font-size: 31px;
    }

    .gallery-cta p {
        font-size: 14px;
    }

    .gallery-cta-button {
        padding: 13px 22px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-location-link,
    .gallery-location-image img,
    .gallery-location-overlay,
    .gallery-view,
    .gallery-cta-button {
        transition: none;
    }
}
/* =========================================================
   GALLERY — TEXT COLOR OVERRIDE
   ========================================================= */

/* Hero */
.gallery-page .gallery-hero-content,
.gallery-page .gallery-hero-content h1,
.gallery-page .gallery-hero-content p,
.gallery-page .gallery-hero-content span {
    color: #fff;
}

.gallery-page .gallery-hero-content .gallery-eyebrow {
    color: var(--gallery-gold-light);
}


/* Location cards */
.gallery-page .gallery-location-content,
.gallery-page .gallery-location-content h3,
.gallery-page .gallery-location-content .gallery-view {
    color: #fff;
}

.gallery-page .gallery-location-content .gallery-location-label {
    color: var(--gallery-gold-light);
}


/* CTA */
.gallery-page .gallery-cta,
.gallery-page .gallery-cta h2 {
    color: var(--gallery-dark);
}

.gallery-page .gallery-cta p {
    color: var(--gallery-muted);
}

.gallery-page .gallery-cta .gallery-section-label {
    color: var(--gallery-gold-dark);
}


/* CTA button */
.gallery-page .gallery-cta-button {
    color: var(--gallery-dark);
}

.gallery-page .gallery-cta-button:hover {
    color: var(--gallery-dark);
}
/* Prevent global link styles from changing gallery card text */

.gallery-page .gallery-location-link,
.gallery-page .gallery-location-link:hover,
.gallery-page .gallery-location-link:focus,
.gallery-page .gallery-location-link:visited {
    color: #fff;
    text-decoration: none;
}

.gallery-page .gallery-location-link h3 {
    color: #fff;
}

/* =========================================================
   GALLERY HERO — BREADCRUMB
   Premium overlay version
========================================================= */

.gallery-page .gallery-breadcrumb {
    display: block;

    width: 100%;
    margin: 28px 0 0;
    padding: 0;

    position: relative;
    z-index: 5;

    background: transparent;
    border: 0;

    text-align: center;
}


/* LIST */

.gallery-page .gallery-breadcrumb-list {
    display: flex;

    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ITEM */

.gallery-page .gallery-breadcrumb-item {
    display: inline-flex;

    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;

    color: rgba(255, 255, 255, .78);

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 400;

    line-height: 1.5;
}


/* REMOVE GLOBAL MARKERS */

.gallery-page .gallery-breadcrumb-item::before,
.gallery-page .gallery-breadcrumb-item::after {
    content: none;
    display: none;
}


/* HOME */

.gallery-page .gallery-breadcrumb-item a {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: rgba(255, 255, 255, .78);

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;

    line-height: 1.5;

    text-decoration: none;

    transition:
        color .25s ease;
}


.gallery-page .gallery-breadcrumb-item a:hover {
    color: var(--gallery-gold-light);
}


/* SEPARATOR */

.gallery-page .gallery-breadcrumb-separator {
    display: inline-block;

    margin: 0 10px;

    color: rgba(255, 255, 255, .42);

    font-size: 11px;
    line-height: 1.5;
}


/* CURRENT */

.gallery-page .gallery-breadcrumb-current {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: var(--gallery-gold-light);

    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;

    line-height: 1.5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    .gallery-page .gallery-breadcrumb {
        margin-top: 23px;
    }

    .gallery-page .gallery-breadcrumb-item,
    .gallery-page .gallery-breadcrumb-item a,
    .gallery-page .gallery-breadcrumb-current {
        font-size: 11px;
    }

    .gallery-page .gallery-breadcrumb-separator {
        margin: 0 7px;
    }
}