@charset "utf-8";

/* ======================================
   GALLERY HERO
====================================== */

.gallery-hero{
    position:relative;

    min-height:92vh;

    display:flex;
    align-items:center;
    justify-content:center;

    background:
        url('../images/gallery-hero.webp')
        center center / cover no-repeat;

    overflow:hidden;
}

/* OVERLAY */

.gallery-hero-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(15,20,15,.30) 0%,
            rgba(15,20,15,.42) 50%,
            rgba(15,20,15,.55) 100%
        );
}

/* CONTENT */

.gallery-hero-content{
    position:relative;
    z-index:2;

    max-width:780px;
    margin:0 auto;

    text-align:center;
    color:#fff;
}

.gallery-hero-content .hero-label{
    display:inline-block;

    margin-bottom:24px;

    font-size:12px;
    font-weight:500;
    letter-spacing:4px;

    text-transform:uppercase;

    color:rgba(255,255,255,.88);
}

.gallery-hero-content h1{
    margin:0 0 25px;

    font-family:'Cormorant Garamond',serif;
    font-size:68px;
    font-weight:500;
    line-height:1.05;

    color:#fff;
}

.gallery-hero-content p{
    max-width:650px;
    margin:0 auto 38px;

    font-size:18px;
    line-height:1.8;

    color:rgba(255,255,255,.90);
}

/* GALLERY BUTTON */

.gallery-hero-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    padding:15px 25px;

    border:1px solid rgba(255,255,255,.55);
    border-radius:50px;

    background:rgba(255,255,255,.10);

    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);

    color:#fff;

    font-size:14px;
    font-weight:500;

    text-decoration:none;

    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;
}

.gallery-hero-button:hover{
    background:#fff;
    border-color:#fff;

    color:var(--primary-color);

    transform:translateY(-3px);
}

.gallery-hero-button i{
    font-size:12px;
    transition:transform .3s ease;
}

.gallery-hero-button:hover i{
    transform:translateY(3px);
}


/* ======================================
   TABLET
====================================== */

@media(max-width:992px){

    .gallery-hero{
        min-height:68vh;
    }

    .gallery-hero-content h1{
        font-size:56px;
    }

}


/* ======================================
   MOBILE
====================================== */

@media(max-width:768px){

    .gallery-hero{
        min-height:70svh;
        padding:130px 0 70px;
    }

    .gallery-hero-content{
        max-width:92%;
    }

    .gallery-hero-content .hero-label{
        margin-bottom:20px;

        font-size:11px;
        letter-spacing:3px;
    }

    .gallery-hero-content h1{
        font-size:44px;
        line-height:1.05;

        margin-bottom:20px;
    }

    .gallery-hero-content p{
        max-width:500px;

        font-size:16px;
        line-height:1.75;

        margin-bottom:32px;
    }

}




/* =========================================================
LUXURY GALLERY GRID
========================================================= */

.gallery-masonry{

display:grid;

grid-template-columns:
repeat(3,1fr);

gap:24px;

max-width:1400px;

margin:auto;
}

.gallery-section{
    padding:0 24px 120px;
    background:#fff;
}

/* IMAGE CARD */

.gallery-item{

position:relative;

overflow:hidden;

border-radius:28px;

display:block;

height:100%;

background:#ddd;
}

/* NORMAL */

.gallery-item img{

width:100%;

height:100%;

display:block;

object-fit:cover;

transition:0.7s ease;
}

/* DIFFERENT HEIGHTS */

.gallery-item.tall{

grid-row:span 2;

height:744px;
}

.gallery-item.wide{

height:360px;
}

.gallery-item:not(.tall):not(.wide){

height:360px;
}

/* HOVER */

.gallery-item:hover img{

transform:scale(1.04);
}

@media(max-width:992px){

.gallery-masonry{

grid-template-columns:
repeat(2,1fr);
}

.gallery-item.tall{

height:620px;
}

}

@media(max-width:768px){

.gallery-masonry{

grid-template-columns:1fr;

gap:18px;
}
	
.gallery-section{
        padding:0 16px 75px;
    }

.gallery-item,
.gallery-item.tall,
.gallery-item.wide{

height:auto;
}

.gallery-item img{

aspect-ratio:4/5;
}
}

/* =========================================================
GALLERY OVERLAY
========================================================= */

.gallery-overlay{

position:absolute;

inset:0;

display:flex;

align-items:flex-end;

padding:26px;

background:
linear-gradient(
to top,
rgba(15,12,10,0.42),
rgba(0,0,0,0.05)
);

opacity:0;

transition:0.4s ease;

z-index:2;
}

.gallery-item:hover .gallery-overlay{

opacity:1;
}

.gallery-overlay span{

color:white;

font-size:22px;

font-family:'Cormorant Garamond',serif;

letter-spacing:.3px;

line-height:1.2;

text-shadow:
0 2px 10px rgba(0,0,0,.35);
}

@media(max-width:768px){

.gallery-overlay{

opacity:1;

padding:22px;
}

.gallery-overlay span{

font-size:20px;
}

}

/* ======================================
   GALLERY LIGHTBOX
====================================== */

.lightbox{
    position:fixed;
    inset:0;

    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:30px;

    background:rgba(8,12,9,.94);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


/* ACTIVE */

.lightbox.active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}


/* INNER */

.lightbox-inner{
    position:relative;

    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;
}


/* IMAGE */

.lightbox-img,
#lightbox-img{
    display:block;

    max-width:90vw;
    max-height:88vh;

    width:auto;
    height:auto;

    object-fit:contain;

    border-radius:8px;

    box-shadow:
        0 25px 70px rgba(0,0,0,.45);
}


/* CLOSE BUTTON */

.lightbox-close{
    position:fixed;
    top:25px;
    right:30px;

    z-index:3;

    width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:0;
    border-radius:50%;

    background:rgba(255,255,255,.10);

    color:#fff;

    font-size:34px;
    font-weight:300;
    line-height:1;

    cursor:pointer;

    transition:
        background .3s ease,
        transform .3s ease;
}

.lightbox-close:hover{
    background:rgba(255,255,255,.20);
    transform:rotate(90deg);
}


/* PREVIOUS + NEXT */

.lightbox-prev,
.lightbox-next{
    position:fixed;
    top:50%;

    z-index:3;

    width:52px;
    height:52px;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:0;

    border:0;
    border-radius:50%;

    background:rgba(255,255,255,.10);

    color:#fff;

    font-size:24px;
    line-height:1;

    cursor:pointer;

    transform:translateY(-50%);

    transition:
        background .3s ease;
}


.lightbox-prev{
    left:30px;
}


.lightbox-next{
    right:30px;
}


.lightbox-prev:hover,
.lightbox-next:hover{
    background:rgba(255,255,255,.22);
}


/* ======================================
   LIGHTBOX MOBILE
====================================== */

@media(max-width:768px){

    .lightbox{
        padding:15px;
    }

    .lightbox-img,
    #lightbox-img{
        max-width:94vw;
        max-height:82vh;

        border-radius:6px;
    }

    .lightbox-close{
        top:15px;
        right:15px;

        width:44px;
        height:44px;

        font-size:30px;
    }

    .lightbox-prev,
    .lightbox-next{
        width:44px;
        height:44px;

        font-size:20px;

        background:rgba(0,0,0,.40);
    }

    .lightbox-prev{
        left:12px;
    }

    .lightbox-next{
        right:12px;
    }

}

/* ======================================
   EXPLORE OUR VILLAS
====================================== */

.gallery-villas{
    padding:120px 0;
    background:#fff;
}


/* HEADER */

.gallery-villas-header{
    max-width:760px;
    margin:0 auto 60px;

    text-align:center;
}

.gallery-villas-header .section-label{
    display:inline-block;
    margin-bottom:18px;
}

.gallery-villas-header h2{
    margin:0 0 20px;

    font-family:'Cormorant Garamond',serif;
    font-size:54px;
    font-weight:500;
    line-height:1.08;

    color:var(--primary-color);
}

.gallery-villas-header p{
    max-width:600px;
    margin:0 auto;

    font-size:17px;
    line-height:1.8;

    color:#666;
}


/* ======================================
   VILLA GRID
====================================== */

.gallery-villas-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:24px;
}


/* ======================================
   VILLA CARD
====================================== */

.gallery-villa-card{
    position:relative;

    min-height:620px;

    display:flex;
    align-items:flex-end;

    overflow:hidden;

    border-radius:28px;

    text-decoration:none;

    background:#183622;
}


/* IMAGE */

.gallery-villa-card > img{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    transition:
        transform .9s cubic-bezier(.2,.6,.3,1);
}

.gallery-villa-card:hover > img{
    transform:scale(1.055);
}


/* GRADIENT */

.gallery-villa-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            180deg,
            rgba(10,18,12,.02) 15%,
            rgba(10,18,12,.18) 45%,
            rgba(10,18,12,.88) 100%
        );
}


/* ======================================
   CARD CONTENT
====================================== */

.gallery-villa-content{
    position:relative;
    z-index:2;

    width:100%;

    padding:45px;

    color:#fff;
}

.gallery-villa-label{
    display:inline-block;

    margin-bottom:18px;

    font-size:11px;
    font-weight:500;
    letter-spacing:3px;

    color:rgba(255,255,255,.78);
}

.gallery-villa-content h3{
    max-width:500px;

    margin:0 0 15px;

    font-family:'Cormorant Garamond',serif;
    font-size:42px;
    font-weight:500;
    line-height:1.08;

    color:#fff;
}

.gallery-villa-content p{
    max-width:500px;

    margin:0 0 25px;

    font-size:15px;
    line-height:1.75;

    color:rgba(255,255,255,.82);
}


/* ======================================
   VILLA DETAILS
====================================== */

.gallery-villa-meta{
    display:flex;
    flex-wrap:wrap;

    gap:10px 22px;

    margin-bottom:30px;
}

.gallery-villa-meta span{
    display:inline-flex;
    align-items:center;
    gap:8px;

    font-size:13px;

    color:rgba(255,255,255,.86);
}

.gallery-villa-meta i{
    font-size:12px;
    color:#d8b67b;
}


/* ======================================
   EXPLORE LINK
====================================== */

.gallery-villa-link{
    display:inline-flex;
    align-items:center;
    gap:12px;

    padding-bottom:7px;

    border-bottom:
        1px solid rgba(255,255,255,.55);

    font-size:13px;
    font-weight:500;
    letter-spacing:1px;

    color:#fff;
}

.gallery-villa-link i{
    font-size:11px;

    transition:transform .3s ease;
}

.gallery-villa-card:hover
.gallery-villa-link i{
    transform:translateX(5px);
}


/* ======================================
   TABLET
====================================== */

@media(max-width:992px){

    .gallery-villas{
        padding:100px 0;
    }

    .gallery-villas-header h2{
        font-size:48px;
    }

    .gallery-villa-card{
        min-height:560px;
    }

    .gallery-villa-content{
        padding:35px;
    }

    .gallery-villa-content h3{
        font-size:36px;
    }

}


/* ======================================
   MOBILE
====================================== */

@media(max-width:768px){

    .gallery-villas{
        padding:75px 0;
    }

    .gallery-villas-header{
        margin-bottom:40px;
    }

    .gallery-villas-header h2{
        font-size:38px;
    }

    .gallery-villas-header p{
        font-size:15px;
    }

    .gallery-villas-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .gallery-villa-card{
        min-height:520px;
        border-radius:22px;
    }

    .gallery-villa-content{
        padding:28px;
    }

    .gallery-villa-content h3{
        font-size:34px;
    }

    .gallery-villa-meta{
        gap:10px 16px;
    }

}


/* SMALL MOBILE */

@media(max-width:480px){

    .gallery-villa-card{
        min-height:500px;
    }

    .gallery-villa-content{
        padding:24px;
    }

    .gallery-villa-content h3{
        font-size:31px;
    }

    .gallery-villa-meta{
        margin-bottom:25px;
    }

}/* ======================================
   GALLERY FINAL CTA
====================================== */

.gallery-final-cta{
    position:relative;

    padding:120px 0;

    overflow:hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,.05),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(216,182,123,.08),
            transparent 30%
        ),
        #173b2a;
}


/* SUBTLE DECORATIVE BORDER */

.gallery-final-cta::before{
    content:"";

    position:absolute;
    inset:22px;

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:30px;

    pointer-events:none;
}


/* ======================================
   CTA CONTENT
====================================== */

.gallery-cta-content{
    position:relative;
    z-index:2;

    max-width:820px;
    margin:0 auto;

    text-align:center;

    color:#fff;
}


/* LABEL */

.gallery-cta-content .section-label{
    display:inline-block;

    margin-bottom:24px;

    color:#d8b67b;
}


/* HEADING */

.gallery-cta-content h2{
    max-width:760px;
    margin:0 auto 24px;

    font-family:
        'Cormorant Garamond',
        serif;

    font-size:60px;
    font-weight:500;
    line-height:1.05;

    color:#fff;
}


/* TEXT */

.gallery-cta-content > p{
    max-width:610px;

    margin:0 auto 38px;

    font-size:17px;
    line-height:1.8;

    color:
        rgba(255,255,255,.78);
}


/* ======================================
   CTA BUTTONS
====================================== */

.gallery-cta-buttons{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;

    gap:14px;

    margin-bottom:42px;
}


/* PRIMARY BUTTON */

.gallery-cta-primary,
.gallery-cta-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:12px;

    min-width:210px;

    padding:16px 25px;

    border-radius:50px;

    font-size:13px;
    font-weight:500;
    letter-spacing:.8px;

    text-decoration:none;

    transition:
        transform .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}


.gallery-cta-primary{
    background:#f19e00;
    border:1px solid #fff;

    color:var(--primary-color);
}


.gallery-cta-primary:hover{
    transform:translateY(-3px);

    background:#567c51;
    border-color:#f3eee4;
}


/* SECONDARY BUTTON */

.gallery-cta-secondary{
    background:transparent;

    border:
        1px solid rgba(255,255,255,.45);

    color:#fff;
}


.gallery-cta-secondary:hover{
    transform:translateY(-3px);

    background:
        rgba(255,255,255,.10);

    border-color:#fff;

    color:#fff;
}


/* ARROWS */

.gallery-cta-buttons i{
    font-size:11px;

    transition:transform .3s ease;
}


.gallery-cta-buttons a:hover i{
    transform:translateX(5px);
}


/* ======================================
   TRUST POINTS
====================================== */

.gallery-cta-trust{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;

    gap:15px 32px;
}


.gallery-cta-trust span{
    display:inline-flex;
    align-items:center;

    gap:9px;

    font-size:13px;

    color:
        rgba(255,255,255,.72);
}


.gallery-cta-trust i{
    font-size:12px;

    color:#d8b67b;
}


/* ======================================
   TABLET
====================================== */

@media(max-width:992px){

    .gallery-final-cta{
        padding:100px 0;
    }

    .gallery-cta-content h2{
        font-size:52px;
    }

}


/* ======================================
   MOBILE
====================================== */

@media(max-width:768px){

    .gallery-final-cta{
        padding:80px 0;
    }

    .gallery-final-cta::before{
        inset:12px;

        border-radius:22px;
    }

    .gallery-cta-content{
        max-width:90%;
    }

    .gallery-cta-content h2{
        font-size:40px;
        line-height:1.08;
    }

    .gallery-cta-content > p{
        font-size:15px;
        line-height:1.75;
    }

    .gallery-cta-buttons{
        flex-direction:column;
        align-items:stretch;

        max-width:320px;
        margin:0 auto 38px;
    }

    .gallery-cta-primary,
    .gallery-cta-secondary{
        width:100%;
    }

    .gallery-cta-trust{
        flex-direction:column;

        gap:14px;
    }

}