/* =========================================
   GALLERY HERO
========================================= */

.gallery-hero {
    position: relative;

    padding: 90px 0 50px;

    background: var(--bg);

    overflow: hidden;
}


/* =========================================
   DECORATIONS
========================================= */

.gallery-hero-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.gallery-hero-decoration-one {
    width: 520px;
    height: 520px;

    top: -260px;
    right: -190px;

    background: rgba(210, 165, 91, 0.10);
}


.gallery-hero-decoration-two {
    width: 360px;
    height: 360px;

    bottom: -210px;
    left: -170px;

    background: rgba(161, 74, 42, 0.055);
}


/* =========================================
   CONTAINER
========================================= */

.gallery-hero-container {
    position: relative;

    z-index: 2;

    width: min(1400px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 90px;
}


/* =========================================
   CONTENT
========================================= */

.gallery-hero-content .section-tag {
    display: inline-block;

    padding: 8px 18px;

    background: rgba(210, 165, 91, 0.18);

    color: var(--primary);

    border-radius: 50px;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 1px;
}


.gallery-hero-content h1 {
    margin: 22px 0 25px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(3.6rem, 5vw, 5.2rem);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.gallery-hero-content h1 em {
    display: block;

    color: var(--primary);

    font-weight: 500;

    font-style: normal;
}


.gallery-hero-description {
    max-width: 610px;

    margin: 0;

    color: var(--text-light);

    font-size: 1.05rem;

    line-height: 1.9;
}


/* =========================================
   HIGHLIGHTS
========================================= */

.gallery-hero-highlights {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 25px;

    margin-top: 38px;
}


.gallery-hero-highlight {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: 0.82rem;

    font-weight: 600;
}


.gallery-highlight-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--white);

    color: var(--primary);

    font-size: 0.85rem;

    box-shadow:
        0 8px 20px rgba(61, 49, 40, 0.08);
}


/* =========================================
   VISUAL
========================================= */

.gallery-hero-visual {
    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    min-height: 570px;
}


/* =========================================
   DECORATIVE FRAMES
========================================= */

.gallery-hero-frame {
    position: absolute;

    border: 1px solid var(--secondary);

    border-radius: 20px;

    pointer-events: none;
}


.gallery-hero-frame-one {
    width: 75%;

    height: 82%;

    top: 5%;

    left: 7%;

    transform: rotate(-5deg);

    opacity: 0.65;
}


.gallery-hero-frame-two {
    width: 75%;

    height: 82%;

    top: 8%;

    left: 10%;

    transform: rotate(4deg);

    border-color: rgba(161, 74, 42, 0.35);

    opacity: 0.55;
}


/* =========================================
   MAIN IMAGE
========================================= */

.gallery-hero-main-image {
    position: relative;

    z-index: 2;

    width: 78%;

    height: 530px;

    overflow: hidden;

    border-radius: 18px;

    box-shadow:
        0 25px 60px rgba(61, 49, 40, 0.14);
}


.gallery-hero-main-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(180deg,
            transparent 55%,
            rgba(61, 49, 40, 0.12));

    pointer-events: none;
}


.gallery-hero-main-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 1s ease;
}


.gallery-hero-main-image:hover img {
    transform: scale(1.04);
}


/* =========================================
   FLOATING CARD
========================================= */

.gallery-hero-floating-card {
    position: absolute;

    z-index: 4;

    right: 0;

    bottom: 35px;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 15px 18px;

    background: var(--white);

    border-radius: 12px;

    box-shadow:
        0 15px 35px rgba(61, 49, 40, 0.12);
}


.gallery-floating-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(210, 165, 91, 0.16);

    color: var(--primary);

    font-size: 0.85rem;
}


.gallery-floating-content {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.gallery-floating-content strong {
    color: var(--text);

    font-size: 0.84rem;

    font-weight: 700;
}


.gallery-floating-content span {
    color: var(--text-light);

    font-size: 0.72rem;
}


/* =========================================
   SCROLL INDICATOR
========================================= */

.gallery-scroll-indicator {
    position: relative;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 9px;

    margin-top: 45px;

    color: var(--text-light);

    font-size: 0.68rem;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.gallery-scroll-indicator i {
    color: var(--primary);

    font-size: 0.7rem;

    animation: galleryScrollBounce 2s ease-in-out infinite;
}


@keyframes galleryScrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }

}


/* =========================================
   REVEAL ANIMATIONS
========================================= */

.gallery-reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(.2, .7, .2, 1);
}


.gallery-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


.gallery-reveal-right {
    opacity: 0;

    transform: translateX(45px) scale(0.98);

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.2, .7, .2, 1);
}


.gallery-reveal-right.is-visible {
    opacity: 1;

    transform: translateX(0) scale(1);
}


.gallery-reveal-delay-1 {
    transition-delay: 0.1s;
}


.gallery-reveal-delay-2 {
    transition-delay: 0.2s;
}


.gallery-reveal-delay-3 {
    transition-delay: 0.3s;
}


.gallery-reveal-delay-4 {
    transition-delay: 0.4s;
}


.gallery-reveal-delay-5 {
    transition-delay: 0.5s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .gallery-hero-container {
        gap: 55px;
    }


    .gallery-hero-content h1 {
        font-size: 4.1rem;
    }


    .gallery-hero-visual {
        min-height: 520px;
    }


    .gallery-hero-main-image {
        width: 80%;

        height: 480px;
    }


    .gallery-hero-floating-card {
        right: -5px;
    }

}


/* =========================================
   TABLET / SMALL LAPTOP
========================================= */

@media (max-width: 900px) {

    .gallery-hero-container {
        grid-template-columns: 1fr;

        gap: 70px;

        text-align: center;
    }


    .gallery-hero-content {
        max-width: 700px;

        margin: auto;
    }


    .gallery-hero-description {
        margin: auto;
    }


    .gallery-hero-highlights {
        justify-content: center;
    }


    .gallery-hero-visual {
        min-height: 520px;
    }


    .gallery-hero-main-image {
        width: 78%;
    }


    .gallery-hero-floating-card {
        right: 8%;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .gallery-hero {
        padding: 110px 0 80px;
    }


    .gallery-hero-container {
        width: 90%;

        gap: 55px;
    }


    .gallery-hero-content h1 {
        font-size: 3.2rem;

        line-height: 1;
    }


    .gallery-hero-description {
        font-size: 0.95rem;

        line-height: 1.8;
    }


    .gallery-hero-highlights {
        display: none;
    }


    .gallery-hero-visual {
        min-height: 450px;
    }


    .gallery-hero-main-image {
        width: 87%;

        height: 430px;
    }


    .gallery-hero-frame-one {
        width: 82%;

        height: 90%;

        left: 3%;
    }


    .gallery-hero-frame-two {
        width: 82%;

        height: 90%;

        left: 6%;
    }


    .gallery-hero-floating-card {
        right: 13px;

        bottom: 20px;

        padding: 13px 17px;
    }


    .gallery-floating-icon {
        width: 38px;

        height: 38px;
    }


    .gallery-scroll-indicator {
        margin-top: 45px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .gallery-hero-content h1 {
        font-size: 2.85rem;
    }


    .gallery-hero-main-image {
        height: 390px;
    }


    .gallery-hero-visual {
        min-height: 415px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-reveal,
    .gallery-reveal-right {

        opacity: 1;

        transform: none;

        transition: none;
    }


    .gallery-hero-main-image img {
        transition: none;
    }


    .gallery-scroll-indicator i {
        animation: none;
    }

}





/* =========================================
   FEATURED MOMENTS
========================================= */

.gallery-featured {
    padding: 70px 0;

    background: var(--white);
    border-radius: 25px;

    overflow: hidden;
}


.gallery-featured-container {
    width: min(1400px, 92%);

    margin: auto;
}


/* =========================================
   HEADING
========================================= */

.gallery-featured-heading {
    max-width: 720px;

    margin: 0 auto 55px;

    text-align: center;
}


.gallery-featured-heading h2 {
    margin: 22px 0 22px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.gallery-featured-heading h2 em {
    display: block;

    color: var(--primary);

    font-weight: 500;
}


.gallery-featured-heading p {
    max-width: 650px;

    margin: auto;

    color: var(--text-light);

    font-size: 0.98rem;

    line-height: 1.85;
}


/* =========================================
   COLLAGE
========================================= */

.gallery-featured-grid {
    display: grid;

    grid-template-columns: 1.35fr 0.65fr;

    grid-template-rows: 1fr 1fr;

    gap: 22px;

    height: 680px;
}


/* =========================================
   MAIN IMAGE
========================================= */

.gallery-featured-main {
    grid-row: 1 / 3;
}


/* =========================================
   IMAGE ITEM
========================================= */

.gallery-featured-item {
    position: relative;

    overflow: hidden;

    border-radius: 18px;

    background: var(--bg-alt);

    cursor: pointer;
}


.gallery-featured-image {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.gallery-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 1s cubic-bezier(.2, .7, .2, 1);
}


.gallery-featured-item:hover .gallery-featured-image img {
    transform: scale(1.06);
}


/* =========================================
   IMAGE OVERLAY
========================================= */

.gallery-featured-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 25px;

    background:
        linear-gradient(180deg,
            rgba(61, 49, 40, 0.18),
            transparent 35%,
            rgba(61, 49, 40, 0.68));

    transition: background 0.4s ease;
}


.gallery-featured-item:hover .gallery-featured-overlay {
    background:
        linear-gradient(180deg,
            rgba(61, 49, 40, 0.22),
            transparent 30%,
            rgba(61, 49, 40, 0.74));
}


/* =========================================
   NUMBER
========================================= */

.gallery-featured-number {
    align-self: flex-end;

    color: rgba(255, 255, 255, 0.8);

    font-family: 'Cormorant Garamond', serif;

    font-size: 2.2rem;

    line-height: 1;

    font-weight: 500;
}


/* =========================================
   CAPTION
========================================= */

.gallery-featured-caption {
    color: var(--white);
}


.gallery-featured-caption>span {
    display: block;

    margin-bottom: 7px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.gallery-featured-caption h3 {
    margin: 0;

    font-family: 'Cormorant Garamond', serif;

    font-size: 2rem;

    line-height: 1;

    font-weight: 600;

    color: var(--white);
}


/* =========================================
   SMALL CAPTIONS
========================================= */

.gallery-featured-small .gallery-featured-caption h3 {
    font-size: 1.65rem;
}


/* =========================================
   BOTTOM STATEMENT
========================================= */

.gallery-featured-bottom {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    max-width: 1000px;

    margin: 45px auto 0;

    text-align: center;
}


.gallery-featured-bottom p {
    max-width: 700px;

    margin: 0;

    color: var(--text-light);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.35rem;

    line-height: 1.4;

    font-style: italic;
}


.gallery-featured-line {
    flex: 1;

    max-width: 80px;

    height: 1px;

    background: var(--secondary);

    opacity: 0.7;
}


/* =========================================
   REVEAL ANIMATIONS
========================================= */

.gallery-featured .gallery-reveal,
.gallery-featured .gallery-reveal-left,
.gallery-featured .gallery-reveal-right {
    opacity: 0;

    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.2, .7, .2, 1);
}


.gallery-featured .gallery-reveal {
    transform: translateY(35px);
}


.gallery-featured .gallery-reveal-left {
    transform: translateX(-50px);
}


.gallery-featured .gallery-reveal-right {
    transform: translateX(50px);
}


.gallery-featured .gallery-reveal.is-visible,
.gallery-featured .gallery-reveal-left.is-visible,
.gallery-featured .gallery-reveal-right.is-visible {
    opacity: 1;

    transform: translate(0);
}


.gallery-featured .gallery-reveal-delay-1 {
    transition-delay: 0.12s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .gallery-featured-grid {
        height: 600px;

        gap: 18px;
    }


    .gallery-featured-caption h3 {
        font-size: 1.7rem;
    }


    .gallery-featured-small .gallery-featured-caption h3 {
        font-size: 1.4rem;
    }

}


/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 750px) {

    .gallery-featured {
        padding: 65px 0 75px;
    }


    .gallery-featured-heading {
        margin-bottom: 40px;
    }


    .gallery-featured-heading h2 {
        font-size: 3.1rem;
    }


    .gallery-featured-heading p {
        font-size: 0.9rem;

        line-height: 1.8;
    }


    .gallery-featured-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 1fr 1fr;

        height: 600px;

        gap: 12px;
    }


    .gallery-featured-main {
        grid-column: 1 / 3;

        grid-row: 1;

        min-height: 350px;
    }


    .gallery-featured-small {
        grid-row: 2;
    }


    .gallery-featured-overlay {
        padding: 18px;
    }


    .gallery-featured-number {
        font-size: 1.7rem;
    }


    .gallery-featured-caption h3 {
        font-size: 1.55rem;
    }


    .gallery-featured-small .gallery-featured-caption h3 {
        font-size: 1.3rem;
    }


    .gallery-featured-bottom {
        margin-top: 35px;

        gap: 12px;
    }


    .gallery-featured-bottom p {
        font-size: 1.15rem;
    }


    .gallery-featured-line {
        max-width: 35px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .gallery-featured {
        padding: 60px 0 65px;
    }


    .gallery-featured-container {
        width: 90%;
    }


    .gallery-featured-heading h2 {
        font-size: 2.8rem;
    }


    .gallery-featured-grid {
        display: flex;

        flex-direction: column;

        height: auto;

        gap: 12px;
    }


    .gallery-featured-main,
    .gallery-featured-small {
        grid-column: auto;

        grid-row: auto;

        height: 330px;

        min-height: 330px;
    }


    .gallery-featured-small .gallery-featured-caption h3,
    .gallery-featured-caption h3 {
        font-size: 1.6rem;
    }


    .gallery-featured-bottom {
        display: block;

        margin-top: 30px;
    }


    .gallery-featured-line {
        display: block;

        width: 45px;

        margin: 0 auto 18px;
    }


    .gallery-featured-line:last-child {
        margin: 18px auto 0;
    }


    .gallery-featured-bottom p {
        font-size: 1.1rem;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-featured .gallery-reveal,
    .gallery-featured .gallery-reveal-left,
    .gallery-featured .gallery-reveal-right {

        opacity: 1;

        transform: none;

        transition: none;
    }


    .gallery-featured-image img,
    .gallery-featured-overlay {
        transition: none;
    }

}






/* =========================================
   GALLERY COLLECTION
========================================= */

.gallery-collection {
    padding: 70px 0;

    background: var(--bg);

    overflow: hidden;
}


.gallery-collection-container {
    width: min(1400px, 92%);

    margin: auto;
}


/* =========================================
   SECTION HEADING
========================================= */

.gallery-collection .section-heading {
    max-width: 720px;

    margin: 0 auto 40px;

    text-align: center;
}


.gallery-collection .section-heading h2 {
    margin: 22px 0 22px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.gallery-collection .section-heading h2 em {
    display: block;

    color: var(--primary);

    font-weight: 500;
}


.gallery-collection .section-heading p {
    max-width: 650px;

    margin: auto;

    color: var(--text-light);

    font-size: 0.98rem;

    line-height: 1.85;
}


/* =========================================
   FILTER
========================================= */

.gallery-filter {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 45px;
}


.gallery-filter-button {
    padding: 9px 18px;

    border: 1px solid var(--border);

    border-radius: 50px;

    background: transparent;

    color: var(--text-light);

    font-family: 'Inter', sans-serif;

    font-size: 0.76rem;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}


.gallery-filter-button:hover {
    border-color: var(--secondary);

    color: var(--primary);

    transform: translateY(-2px);
}


.gallery-filter-button.active {
    border-color: var(--primary);

    background: var(--primary);

    color: var(--white);
}


/* =========================================
   GALLERY GRID
========================================= */

.gallery-collection-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}


/* =========================================
   GALLERY ITEM
========================================= */

.gallery-item {
    position: relative;

    width: 100%;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    border-radius: 16px;

    background: var(--bg-alt);

    cursor: pointer;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}


.gallery-item:hover {
    transform: translateY(-4px);

    box-shadow:
        0 18px 40px rgba(61, 49, 40, 0.12);
}


/* =========================================
   IMAGE
========================================= */

.gallery-item-image {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;
}


.gallery-item-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.9s cubic-bezier(.2, .7, .2, 1);
}


.gallery-item:hover .gallery-item-image img {
    transform: scale(1.06);
}


/* =========================================
   OVERLAY
========================================= */

.gallery-item-overlay {
    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(61, 49, 40, 0.15),
            transparent 40%,
            rgba(61, 49, 40, 0.75)
        );

    opacity: 0;

    transition: opacity 0.4s ease;
}


.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}


/* =========================================
   NUMBER
========================================= */

.gallery-item-number {
    align-self: flex-end;

    color: rgba(255, 255, 255, 0.85);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.7rem;

    line-height: 1;

    font-weight: 500;
}


/* =========================================
   INFO
========================================= */

.gallery-item-info {
    color: var(--white);
}


.gallery-item-info > span {
    display: block;

    margin-bottom: 6px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.61rem;

    font-weight: 700;

    letter-spacing: 1.4px;
}


.gallery-item-info h3 {
    margin: 0;

    padding-right: 40px;

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.55rem;

    line-height: 1;

    font-weight: 600;

    color: var(--white);
}


.gallery-item-info > i {
    position: absolute;

    right: 20px;

    bottom: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 34px;

    height: 34px;

    border: 1px solid rgba(255, 255, 255, 0.4);

    border-radius: 50%;

    color: var(--white);

    font-size: 0.7rem;
}


/* =========================================
   CORNER INDICATOR
========================================= */

.gallery-item::after {
    content: "";

    position: absolute;

    right: 15px;

    top: 15px;

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--secondary);

    opacity: 0.9;

    transition: opacity 0.3s ease;
}


.gallery-item:hover::after {
    opacity: 0;
}


/* =========================================
   HIDDEN FILTER ITEMS
========================================= */

.gallery-item.gallery-hidden {
    display: none;
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.gallery-collection .gallery-reveal {
    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(.2, .7, .2, 1);
}


.gallery-collection .gallery-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


.gallery-collection .gallery-reveal-delay-1 {
    transition-delay: 0.1s;
}


.gallery-collection .gallery-reveal-delay-2 {
    transition-delay: 0.2s;
}


.gallery-collection .gallery-reveal-delay-3 {
    transition-delay: 0.3s;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .gallery-collection-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 16px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .gallery-collection {
        padding: 60px 0 70px;
    }


    .gallery-collection-container {
        width: 90%;
    }


    .gallery-collection .section-heading {
        margin-bottom: 35px;
    }


    .gallery-collection .section-heading h2 {
        font-size: 2.8rem;
    }


    .gallery-collection .section-heading p {
        font-size: 0.9rem;

        line-height: 1.8;
    }


    .gallery-filter {
        gap: 7px;

        margin-bottom: 30px;
    }


    .gallery-filter-button {
        padding: 8px 13px;

        font-size: 0.68rem;
    }


    .gallery-collection-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .gallery-item {
        aspect-ratio: 4 / 3;

        border-radius: 14px;
    }


    .gallery-item-overlay {
        opacity: 1;

        padding: 16px;

        background:
            linear-gradient(
                180deg,
                transparent 35%,
                rgba(61, 49, 40, 0.72)
            );
    }


    .gallery-item-number {
        font-size: 1.5rem;
    }


    .gallery-item-info h3 {
        font-size: 1.4rem;
    }


    .gallery-item-info > i {
        right: 16px;

        bottom: 16px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-collection .gallery-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .gallery-item,
    .gallery-item-image img,
    .gallery-item-overlay,
    .gallery-filter-button {
        transition: none;
    }

}


/* =========================================
   GALLERY LIGHTBOX
========================================= */

.gallery-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 25px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}


.gallery-lightbox.is-open {
    visibility: visible;

    opacity: 1;

    pointer-events: auto;
}


/* =========================================
   LIGHTBOX OVERLAY
========================================= */

.gallery-lightbox-overlay {
    position: absolute;

    inset: 0;

    background: rgba(30, 23, 18, 0.90);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}


/* =========================================
   LIGHTBOX CONTAINER
========================================= */

.gallery-lightbox-container {
    position: relative;

    z-index: 2;

    width: min(1200px, 100%);

    height: min(90vh, 850px);

    display: flex;

    align-items: center;

    justify-content: center;

    transform: scale(0.96);

    transition:
        transform 0.4s cubic-bezier(.2, .7, .2, 1);
}


.gallery-lightbox.is-open
.gallery-lightbox-container {
    transform: scale(1);
}


/* =========================================
   LIGHTBOX IMAGE
========================================= */

.gallery-lightbox-image-wrapper {
    width: 100%;

    height: calc(100% - 75px);

    display: flex;

    align-items: center;

    justify-content: center;
}


.gallery-lightbox-image-wrapper img {
    max-width: 100%;

    max-height: 100%;

    width: auto;

    height: auto;

    display: block;

    object-fit: contain;

    border-radius: 5px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35);
}


/* =========================================
   LIGHTBOX CLOSE
========================================= */

.gallery-lightbox-close {
    position: absolute;

    z-index: 5;

    top: 0;

    right: 0;

    width: 44px;

    height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    font-size: 0.85rem;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.gallery-lightbox-close:hover {
    background: var(--primary);

    transform: rotate(90deg);
}


/* =========================================
   LIGHTBOX NAVIGATION
========================================= */

.gallery-lightbox-nav {
    position: absolute;

    z-index: 5;

    top: 50%;

    transform: translateY(-50%);

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.08);

    color: var(--white);

    font-size: 0.75rem;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}


.gallery-lightbox-previous {
    left: 0;
}


.gallery-lightbox-next {
    right: 0;
}


.gallery-lightbox-previous:hover {
    background: var(--primary);

    transform:
        translateY(-50%)
        translateX(-3px);
}


.gallery-lightbox-next:hover {
    background: var(--primary);

    transform:
        translateY(-50%)
        translateX(3px);
}


/* =========================================
   LIGHTBOX INFO
========================================= */

.gallery-lightbox-info {
    position: absolute;

    left: 0;

    right: 0;

    bottom: 0;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    padding-top: 18px;
}


.gallery-lightbox-info > div:first-child {
    min-width: 0;
}


.gallery-lightbox-info > div:first-child > span {
    color: var(--secondary);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 1.5px;
}


.gallery-lightbox-info h3 {
    margin: 6px 0 0;

    color: var(--white);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.8rem;

    line-height: 1;

    font-weight: 500;
}


/* =========================================
   LIGHTBOX COUNTER
========================================= */

.gallery-lightbox-counter {
    display: flex;

    align-items: baseline;

    gap: 7px;

    flex-shrink: 0;

    color: rgba(255, 255, 255, 0.5);

    font-family: 'Cormorant Garamond', serif;

    font-size: 1.2rem;
}


.gallery-lightbox-counter strong {
    color: var(--white);

    font-size: 1.7rem;

    font-weight: 500;
}


/* =========================================
   LIGHTBOX TABLET
========================================= */

@media (max-width: 800px) {

    .gallery-lightbox {
        padding: 20px;
    }


    .gallery-lightbox-container {
        height: 88vh;
    }


    .gallery-lightbox-previous {
        left: 10px;
    }


    .gallery-lightbox-next {
        right: 10px;
    }

}


/* =========================================
   LIGHTBOX MOBILE
========================================= */

@media (max-width: 600px) {

    .gallery-lightbox {
        padding: 15px;
    }


    .gallery-lightbox-container {
        height: 90vh;
    }


    .gallery-lightbox-image-wrapper {
        height: calc(100% - 90px);

        padding: 0 8px;
    }


    .gallery-lightbox-image-wrapper img {
        max-width: 100%;

        max-height: 100%;
    }


    .gallery-lightbox-close {
        width: 38px;

        height: 38px;

        top: 0;

        right: 0;
    }


    .gallery-lightbox-nav {
        width: 40px;

        height: 40px;
    }


    .gallery-lightbox-previous {
        left: 5px;
    }


    .gallery-lightbox-next {
        right: 5px;
    }


    .gallery-lightbox-info {
        padding-top: 12px;

        gap: 15px;
    }


    .gallery-lightbox-info h3 {
        font-size: 1.4rem;
    }


    .gallery-lightbox-counter {
        font-size: 0.95rem;
    }


    .gallery-lightbox-counter strong {
        font-size: 1.3rem;
    }

}


/* =========================================
   LIGHTBOX REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-lightbox,
    .gallery-lightbox-container,
    .gallery-lightbox-close,
    .gallery-lightbox-nav {
        transition: none;
    }

}






/* =========================================
   GALLERY CLOSING CTA
========================================= */

.gallery-cta {
    position: relative;

    margin: 20px;

    padding: 70px 0;

    background: var(--bg);

    border: 1px solid var(--border);

    border-radius: 30px;

    overflow: hidden;
}


/* =========================================
   CONTAINER
========================================= */

.gallery-cta-container {
    position: relative;

    z-index: 2;

    width: min(1200px, 90%);

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 70px;
}


/* =========================================
   CONTENT
========================================= */

.gallery-cta-content {
    max-width: 780px;
}


.gallery-cta-content .section-tag {
    display: inline-block;

    padding: 8px 18px;

    background: rgba(210, 165, 91, 0.18);

    color: var(--primary);

    border-radius: 50px;

    font-size: 0.82rem;

    font-weight: 600;

    letter-spacing: 1px;
}


.gallery-cta-content h2 {
    margin: 22px 0 22px;

    font-family: 'Cormorant Garamond', serif;

    font-size: clamp(46px, 5vw, 68px);

    line-height: 0.98;

    font-weight: 500;

    color: var(--text);
}


.gallery-cta-content h2 em {
    display: block;

    color: var(--primary);

    font-weight: 500;

    font-style: normal;
}


.gallery-cta-content p {
    max-width: 700px;

    margin: 0;

    color: var(--text-light);

    font-size: 1rem;

    line-height: 1.9;
}


/* =========================================
   ACTIONS
========================================= */

.gallery-cta-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 25px;

    margin-top: 32px;
}


.gallery-cta-actions .btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;
}


.gallery-cta-actions .btn i {
    font-size: 0.75rem;

    transition: transform 0.3s ease;
}


.gallery-cta-actions .btn:hover i {
    transform: translateX(4px);
}


.gallery-cta-secondary {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--text);

    font-size: 0.85rem;

    font-weight: 600;

    text-decoration: none;

    transition: color 0.3s ease;
}


.gallery-cta-secondary i {
    color: var(--primary);

    font-size: 0.7rem;

    transition: transform 0.3s ease;
}


.gallery-cta-secondary:hover {
    color: var(--primary);
}


.gallery-cta-secondary:hover i {
    transform: translateX(4px);
}


/* =========================================
   SYMBOL
========================================= */

.gallery-cta-symbol {
    position: relative;

    flex-shrink: 0;

    width: 190px;

    height: 190px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.gallery-cta-symbol-ring {
    position: absolute;

    inset: 0;

    border: 1px solid var(--secondary);

    border-radius: 50%;

    opacity: 0.65;

    animation: galleryCtaRotate 18s linear infinite;
}


.gallery-cta-symbol-ring::before,
.gallery-cta-symbol-ring::after {
    content: "";

    position: absolute;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--secondary);
}


.gallery-cta-symbol-ring::before {
    top: 15px;

    left: 50%;

    transform: translateX(-50%);
}


.gallery-cta-symbol-ring::after {
    bottom: 15px;

    left: 50%;

    transform: translateX(-50%);
}


.gallery-cta-symbol-icon {
    width: 82px;

    height: 82px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--primary);

    color: var(--white);

    font-size: 1.5rem;

    box-shadow:
        0 15px 35px rgba(161, 74, 42, 0.22);
}


/* =========================================
   DECORATIVE ELEMENTS
========================================= */

.gallery-cta-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.gallery-cta-decoration-one {
    width: 280px;

    height: 280px;

    top: -150px;

    right: 120px;

    border: 1px solid rgba(210, 165, 91, 0.22);
}


.gallery-cta-decoration-two {
    width: 180px;

    height: 180px;

    bottom: -100px;

    left: 8%;

    background: rgba(161, 74, 42, 0.04);
}


/* =========================================
   REVEAL ANIMATION
========================================= */

.gallery-cta .gallery-reveal {
    opacity: 0;

    transform: translateY(30px);

    transition:
        opacity 0.85s ease,
        transform 0.85s cubic-bezier(.2, .7, .2, 1);
}


.gallery-cta .gallery-reveal.is-visible {
    opacity: 1;

    transform: translateY(0);
}


.gallery-cta .gallery-reveal-delay-1 {
    transition-delay: 0.1s;
}


.gallery-cta .gallery-reveal-delay-2 {
    transition-delay: 0.2s;
}


.gallery-cta .gallery-reveal-delay-3 {
    transition-delay: 0.3s;
}


.gallery-cta .gallery-reveal-delay-4 {
    transition-delay: 0.4s;
}


/* =========================================
   ROTATION
========================================= */

@keyframes galleryCtaRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .gallery-cta-container {
        gap: 50px;
    }


    .gallery-cta-content h2 {
        font-size: 4rem;
    }


    .gallery-cta-symbol {
        width: 160px;

        height: 160px;
    }


    .gallery-cta-symbol-icon {
        width: 72px;

        height: 72px;

        font-size: 1.3rem;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .gallery-cta {
        margin: 15px;

        padding: 60px 0;

        border-radius: 24px;
    }


    .gallery-cta-container {
        width: 90%;

        flex-direction: column;

        align-items: flex-start;

        gap: 45px;
    }


    .gallery-cta-content {
        max-width: 100%;
    }


    .gallery-cta-content h2 {
        font-size: 3.4rem;
    }


    .gallery-cta-content p {
        font-size: 0.93rem;

        line-height: 1.8;
    }


    .gallery-cta-actions {
        gap: 18px;

        margin-top: 28px;
    }


    .gallery-cta-symbol {
        width: 130px;

        height: 130px;

        align-self: center;
    }


    .gallery-cta-symbol-icon {
        width: 62px;

        height: 62px;

        font-size: 1.15rem;
    }


    .gallery-cta-decoration-one {
        right: -100px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 450px) {

    .gallery-cta {
        margin: 10px;

        padding: 50px 0;

        border-radius: 20px;
    }


    .gallery-cta-content h2 {
        font-size: 2.9rem;
    }


    .gallery-cta-actions {
        flex-direction: row;

        align-items: center;

        width: 100%;
    }

    .gallery-cta-actions .btn {
        width: 100%;
        text-align: center;
    }

    .gallery-cta-symbol {
        width: 115px;

        height: 115px;
    }


    .gallery-cta-symbol-icon {
        width: 56px;

        height: 56px;
    }

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

    .gallery-cta .gallery-reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .gallery-cta-symbol-ring {
        animation: none;
    }


    .gallery-cta-actions .btn i,
    .gallery-cta-secondary i {
        transition: none;
    }

}