
:root {

    --gold: #fab517;
    --gold-dark: #fab517;
    --gold-light: #fab517;

    --navy: #10283a;
    --navy-2: #10283a;
    --navy-3: #10283a;

    --text: #273746;
    --muted: #10283a;

    --white: #ffffff;

    --soft: #f7f7f5;
    --soft-2: #fbfbfa;

    --border: #e4e6e5;

    --container: 1280px;
}


/* =====================================================
   RESET
===================================================== */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    overflow-x: hidden;

    color: var(--text);

    background: white;

    font-family: var(--sans);

}


body.lightbox-open {

    overflow: hidden;

}


button {

    font-family: inherit;

}


a {

    text-decoration: none;

    color: inherit;

}


/* =====================================================
   CONTAINER
===================================================== */

.container {

    width:
        min(
            calc(100% - 80px),
            var(--container)
        );

    margin: auto;

}

.gallery-hero-image {
    position: absolute;
    inset: 0;
    background-image: url(../images/interior/interior-banner.jpg);
    background-size: cover;
    background-position: center;
    animation: interiorZoom 13s ease-in-out infinite alternate;
}
.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .91) 32%, rgba(255, 255, 255, .42) 58%, rgba(255, 255, 255, .05) 100%);
}
/* =====================================================
   HERO
===================================================== */

.gallery-hero {

    position: relative;

    min-height: 320px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #f8f7f3,
            #ffffff
        );

    border-bottom:
        1px solid
        var(--border);

}


.gallery-hero::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: 0;

    width: 55%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );

}


.gallery-hero-content {

    position: relative;

    z-index: 5;

    max-width: 720px;

    padding: 0px 0;

}


.eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--gold-dark);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 3px;

}


.eyebrow i {

    width: 40px;

    height: 1px;

    background: var(--gold);

}


.gallery-hero h1 {

    margin-top: 15px;

    color: var(--navy);

    font-family: var(--serif);

    font-size:
       clamp(42px, 4vw, 52px);

    font-weight: 400;

    line-height: .98;

    letter-spacing: -2px;

}


.gallery-hero h1 span {

    display: block;

    color: var(--gold);

    font-style: normal;

}


.gallery-hero p {

    max-width: 590px;

    margin-top: 20px;

    color:#333;

    font-size: 14px;

    line-height: 1.9;

}


.hero-meta {display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--navy);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

}


.hero-meta b {

    color:#d71920;

}


.hero-index {

    position: absolute;

    right: 60px;

    bottom: 34px;

    color: var(--navy);

    font-family: var(--serif);

    font-size: 12px;

}


.hero-index span {

    padding: 0 6px;

    color: var(--gold);

}


/* =====================================================
   HERO ORBITS
===================================================== */

.hero-orbit {

    position: absolute;

    border:
        1px solid
        rgba(229,162,26,.12);

    border-radius: 50%;

}


.orbit-one {

    width: 620px;

    height: 620px;

    right: -260px;

    top: -260px;

}


.orbit-two {

    width: 450px;

    height: 450px;

    right: -175px;

    top: -175px;

    border-color:
        rgba(20,37,54,.07);

}


.orbit-three {

    width: 280px;

    height: 280px;

    right: -90px;

    top: -90px;

    border-color:
        rgba(229,162,26,.14);

}


.orbit-one::after {

    content: "";

    position: absolute;

    width: 8px;

    height: 8px;

    top: 145px;

    left: 70px;

    background: var(--gold);

    border-radius: 50%;

    box-shadow:
        0 0 0 7px
        rgba(229,162,26,.09);

}


/* =====================================================
   GALLERY SECTION
===================================================== */

.gallery-section {

    padding: 110px 0 120px;

    background: white;

}


.gallery-heading {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: end;

}


.section-label {

       display: inline-block;
    color: #d71920;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    position: relative;
}

.section-label:after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #d71920;
    position: absolute;
    right: -50px;
    top: 9px;
}



.gallery-heading h2 {

    margin-top: 15px;

    color: var(--navy);

    font-family: var(--serif);

    font-size: 44px;

    font-weight: 400;

    line-height: 1;

}


.gallery-heading h2 span {

    color: var(--gold-dark);

    font-style: normal;

}


.gallery-heading > p {

    max-width: 500px;

    justify-self: end;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.9;

}


/* =====================================================
   FILTER
===================================================== */

.gallery-filter {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 55px;

    padding-bottom: 18px;

    border-bottom:
        1px solid
        var(--border);

}


.filter-btn {

    position: relative;

    padding: 12px 17px;

    border: none;

    color: #333;

    background: transparent;

    cursor: pointer;

    font-size: 14px;
        text-transform: uppercase;

    font-weight: 700;

    letter-spacing: 1px;

    transition:
        color .3s ease;

}


.filter-btn::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -19px;

    width: 0;

    height: 2px;

    background: var(--gold);

    transform:
        translateX(-50%);

    transition:
        width .3s ease;

}


.filter-btn:hover {

    color: var(--navy);

}


.filter-btn.active {

    color: var(--navy);

}


.filter-btn.active::after {

    width: 100%;

}


/* =====================================================
   GALLERY GRID
===================================================== */

.gallery-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 48px 24px;

    margin-top: 50px;

}


/* =====================================================
   CARD
===================================================== */

.gallery-card {

    position: relative;

    cursor: pointer;

    transition:
        opacity .4s ease,
        transform .4s ease;

}


.gallery-card.hidden {

    display: none;

}


.gallery-card.filter-show {

    animation:
        galleryAppear .45s ease both;

}


@keyframes galleryAppear {

    from {

        opacity: 0;

        transform:
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =====================================================
   IMAGE
===================================================== */

.gallery-image {

    position: relative;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eeeeeb;

}


.gallery-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1),
        filter .5s ease;

}


.gallery-card:hover
.gallery-image img {

    transform:
        scale(1.07);

    filter:
        brightness(.78);

}


/* =====================================================
   IMAGE OVERLAY
===================================================== */

.image-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(12,27,39,.82)
        );

    opacity: 0;

    transition:
        opacity .4s ease;

}


.gallery-card:hover
.image-overlay {

    opacity: 1;

}


.image-overlay span {
display:none;  
    color: white;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.view-btn {

    width: 42px;

    height: 42px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255,255,255,.45);

    color: white;

    background:
        rgba(255,255,255,.08);

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    transition:
        all .3s ease;

}


.view-btn:hover {

    color: var(--navy);

    background: var(--gold);

    border-color: var(--gold);

}


/* =====================================================
   CAPTION
===================================================== */

.gallery-caption {

    position: relative;

    display: grid;

    grid-template-columns:
        35px 1fr;

    padding-top: 18px;

}


.gallery-caption > span {

    color: var(--gold-dark);

    font-family: var(--serif);

    font-size: 11px;

}


.gallery-caption h3 {

    color: var(--navy);

    font-family: var(--serif);

    font-size: 20px;

    font-weight: 400;

    line-height: 1.2;

}


.gallery-caption p {

    grid-column: 2;

    margin-top: 6px;

    color: #92999d;

    font-size: 9px;

    line-height: 1.5;

}


/* =====================================================
   GOLD LINE
===================================================== */

.gallery-card::after {
display:none;
    content: "";

    position: absolute;

    left: 35px;

    bottom: -20px;

    width: 0;

    height: 1px;

    background: var(--gold);

    transition:
        width .4s ease;

}


.gallery-card:hover::after {

    width: 55px;

}


/* =====================================================
   CTA
===================================================== */

.gallery-cta {

    position: relative;

    overflow: hidden;

    padding: 105px 0;

    text-align: center;

    background: var(--navy);

}


.gallery-cta::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            120deg,
            transparent 25%,
            rgba(229,162,26,.05),
            transparent 70%
        );

}


.cta-ring {

    position: absolute;

    width: 550px;

    height: 550px;

    right: -280px;

    top: -260px;

    border:
        1px solid
        rgba(229,162,26,.13);

    border-radius: 50%;

}


.cta-content {

    position: relative;

    z-index: 2;

}


.gallery-cta .section-label {

    color: var(--gold-light);

}


.cta-content h2 {

    margin-top: 17px;

    color: white;

    font-family: var(--serif);

    font-size:
        clamp(
            43px,
            5vw,
            62px
        );

    font-weight: 400;

    line-height: 1.05;

}


.cta-content h2 span {

    color: var(--gold);

    font-style: italic;

}


.cta-content p {

    max-width: 560px;

    margin: 20px auto 0;

    color:
        rgba(255,255,255,.62);

    font-size: 12px;

    line-height: 1.8;

}


.cta-btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    margin-top: 32px;

    padding: 16px 24px;

    color: var(--navy);

    background: var(--gold);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1.4px;

    transition:
        all .35s ease;

}


.cta-btn i {

    transition:
        transform .3s ease;

}


.cta-btn:hover {

    color: var(--navy);

    background: white;

    transform:
        translateY(-3px);

}


.cta-btn:hover i {

    transform:
        translateX(6px);

}


/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {


        z-index: 99999;

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px;

    background:
        rgba(7,17,25,.94);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .35s ease,
        visibility .35s ease;

}


.lightbox.open {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.lightbox-content {

    width:
        min(
            1000px,
            90vw
        );

}


.lightbox-content img {

    display: block;

    width: 100%;

    max-height: 72vh;

    object-fit: contain;

    background: #111;

}


.lightbox-info {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 18px;

    color: white;

}


.lightbox-info span {

    display: block;

    color: var(--gold);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.lightbox-info h3 {

    margin-top: 5px;

    color: white;

    font-family: var(--serif);

    font-size: 22px;

    font-weight: 400;

}


.lightbox-counter {

    color:
        rgba(255,255,255,.55);

    font-family: var(--serif);

    font-size: 13px;

}


/* =====================================================
   LIGHTBOX BUTTONS
===================================================== */

.lightbox-close,
.lightbox-prev,
.lightbox-next {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        rgba(255,255,255,.06);

    border:
        1px solid
        rgba(255,255,255,.2);

    cursor: pointer;

    transition:
        all .3s ease;

}


.lightbox-close {

    top: 25px;

    right: 30px;

    width: 45px;

    height: 45px;

}


.lightbox-prev,
.lightbox-next {

    top: 50%;

    width: 50px;

    height: 50px;

    transform:
        translateY(-50%);

}


.lightbox-prev {

    left: 25px;

}


.lightbox-next {

    right: 25px;

}


.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {

    color: var(--navy);

    background: var(--gold);

    border-color: var(--gold);

}



/* =====================================================
   REVEAL
===================================================== */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}


.reveal.active {

    opacity: 1;

    transform:
        translateY(0);

}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .container {

        width:
            calc(100% - 50px);

    }


    .gallery-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .gallery-heading {

        gap: 40px;

    }

}


@media (max-width: 750px) {

    .gallery-heading {

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .gallery-heading > p {

        justify-self: start;

    }


    .gallery-filter {

        gap: 3px;

    }


    .filter-btn {

        padding: 10px 12px;

    }


    .filter-btn::after {

        bottom: 0px;

    }


    .lightbox {

        padding: 25px;

    }


    .lightbox-prev {

        left: 10px;

    }


    .lightbox-next {

        right: 10px;

    }

}


@media (max-width: 600px) {

    .container {

        width:
            calc(100% - 32px);

    }


    .gallery-hero {

        min-height: 300px;

    }


    .gallery-hero-content {

        padding: 0px 0;

    }


    .gallery-hero h1 {

        font-size: 50px;

    }


    .gallery-heading h2 {

        font-size: 40px;

    }


    .gallery-section {

        padding: 75px 0;

    }


    .gallery-filter {

        margin-top: 20px;

    }


    .gallery-grid {

        grid-template-columns: 1fr;

        gap: 25px;

        margin-top: 35px;

    }


    .gallery-caption h3 {

        font-size: 19px;

    }


    .gallery-cta {

        padding: 80px 0;

    }


    .cta-content h2 {

        font-size: 42px;

    }


    .lightbox {

        padding:
            65px 15px
            25px;

    }


    .lightbox-content {

        width: 100%;

    }


    .lightbox-content img {

        max-height: 65vh;

    }


    .lightbox-info {

        align-items: flex-start;

    }


    .lightbox-info h3 {

        font-size: 18px;

    }


    .lightbox-counter {

        font-size: 11px;

    }


    .lightbox-prev,
    .lightbox-next {

        top: auto;

        bottom: 20px;

        width: 42px;

        height: 42px;

        transform: none;

    }


    .lightbox-prev {

        left: 25px;

    }


    .lightbox-next {

        right: 25px;

    }

}


@media (max-width: 420px) {

    .gallery-hero h1 {

        font-size: 43px;

    }


    .hero-meta {

        flex-wrap: wrap;

    }


    .gallery-heading h2 {

        font-size: 36px;

    }


    .filter-btn {

             font-size: 12px;
        padding: 10px 10px;

    }

}


.gallery-popup-open {
    overflow: hidden;
}

.gallery-popup {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, .92);
}

.gallery-popup.is-open {
    display: flex;
}

.gallery-popup-content {
    position: relative;
    width: min(1200px, 94vw);
    height: min(90vh, 850px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-popup-image {
    display: block;
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.gallery-popup-close,
.gallery-popup-prev,
.gallery-popup-next {
    position: absolute;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(8px);
    transition: .2s ease;
}

.gallery-popup-close:hover,
.gallery-popup-prev:hover,
.gallery-popup-next:hover {
    background: rgba(255,255,255,.28);
    transform: scale(1.05);
}

.gallery-popup-close {
    top: 0;
    right: 0;
    font-size: 20px;
}

.gallery-popup-prev,
.gallery-popup-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
}

.gallery-popup-prev {
    left: -70px;
}

.gallery-popup-next {
    right: -70px;
}

.gallery-popup-prev:hover,
.gallery-popup-next:hover {
    transform: translateY(-50%) scale(1.05);
}

.gallery-popup-counter {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    color: #fff;
    font-size: 14px;
    letter-spacing: .08em;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(0,0,0,.45);
}

.gallery-popup-title {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);

    padding: 10px 22px;

    color: #fff;
    background: rgba(0, 0, 0, 0.65);

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 30px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;

    text-align: center;
    white-space: nowrap;

    z-index: 10;
}

.gallery-card .gallery-image img {
    cursor: pointer;
}

@media (max-width: 768px) {
    .gallery-popup {
        padding: 15px;
    }

    .gallery-popup-content {
        width: 100%;
        height: 92vh;
    }

    .gallery-popup-image {
        max-width: 100%;
        max-height: 82vh;
    }

    .gallery-popup-prev,
    .gallery-popup-next {
        top: auto;
        bottom: 12px;
        transform: none;
        width: 44px;
        height: 44px;
    }

    .gallery-popup-prev {
        left: 15px;
    }

    .gallery-popup-next {
        right: 15px;
    }

    .gallery-popup-prev:hover,
    .gallery-popup-next:hover {
        transform: scale(1.05);
    }

    .gallery-popup-close {
        top: 8px;
        right: 8px;
    }

    .gallery-popup-title {
        bottom: 68px;
        font-size: 12px;
    }

    .gallery-popup-counter {
        bottom: 15px;
    }
}


