/* ================= GALLERY PAGE ================= */

.gallery-hero{
    position:relative;
    min-height:824px;

    background:#F1FCFF;

    overflow:hidden;

    padding:54px 0 35px;
}

/* Ambient cyan glow from Figma */
.gallery-glow{
    position:absolute;

    width:900px;
    height:500px;

    left:50%;
    top:180px;

    transform:translateX(-50%);

    background:rgba(116,231,255,.30);

    filter:blur(120px);

    border-radius:50%;

    pointer-events:none;
}

/* Main content */
.gallery-container{
    position:relative;
    z-index:2;

    text-align:center;
}

/* ================= PILL ================= */

.gallery-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:40px;

    padding:0 22px;

    border-radius:999px;

    background:#FFFFFF;

    border:1px solid rgba(255,255,255,.8);

    box-shadow:0 5px 18px rgba(20,80,100,.05);

    font-family:"Manrope",sans-serif;
    font-size:14px;
    font-weight:500;
    line-height:20px;

    letter-spacing:1.4px;

    color:#0E7668;
}

/* ================= HEADING ================= */

.gallery-container h1{
    margin:26px auto 16px;

    font-family:"Manrope",sans-serif;

    font-size:44px;
    font-weight:600;

    line-height:54px;

    letter-spacing:-0.88px;

    color:#111111;
}

/* ================= SUBTITLE ================= */

.gallery-subtitle{
    margin:0 auto 16px;

    font-family:"Plus Jakarta Sans",sans-serif;

    font-size:16px;
    font-weight:400;

    line-height:24px;

    color:#4E5968;
}


/* ================= MAIN IMAGE ================= */

.gallery-main-image{
    width:1150px;
    height:479px;

    max-width:100%;

    margin:16px auto 0;

    border-radius:24px;

    overflow:hidden;

    background:#FFFFFF;

    box-shadow:
        0 12px 28px rgba(28,58,78,.10);
}

.gallery-main-image img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    object-position:center;
}


/* ================= RESPONSIVE ================= */

@media(max-width:1200px){

    .gallery-main-image{
        width:calc(100% - 40px);
    }

}

@media(max-width:768px){

    .gallery-hero{
        min-height:auto;
        padding:45px 0 50px;
    }

    .gallery-container h1{
        font-size:36px;
        line-height:44px;
        letter-spacing:-.7px;
    }

    .gallery-subtitle{
        padding:0 20px;
    }

    .gallery-main-image{
        width:calc(100% - 30px);
        height:380px;

        border-radius:20px;
    }

}

@media(max-width:480px){

    .gallery-container h1{
        font-size:30px;
        line-height:38px;
    }

    .gallery-pill{
        height:36px;
        padding:0 18px;
        font-size:12px;
    }

    .gallery-main-image{
        height:280px;
    }

}
/* ================= GALLERY SHOWCASE ================= */

.gallery-showcase{
    background:#FFFFFF;
    padding:55px 0 110px;
}


/* ================= HEADING ================= */

.showcase-heading{
    text-align:center;
    margin-bottom:48px;
}

.showcase-heading h2{
    margin:0 0 12px;

    font-family:"Manrope",sans-serif;
    font-size:40px;
    font-weight:500;
    line-height:48px;
    letter-spacing:-0.4px;

    color:#111111;
}

.showcase-heading p{
    margin:0;

    font-family:"Plus Jakarta Sans",sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:24px;

    color:#555D6B;
}


/* ================= FILTERS ================= */

.gallery-filters{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:26px;

    margin-bottom:76px;
}

.filter-btn{
    border:0;
    background:transparent;

    padding:10px 22px;

    border-radius:999px;

    font-family:"Plus Jakarta Sans",sans-serif;
    font-size:14px;
    font-weight:500;
    line-height:20px;

    color:#303642;

    cursor:pointer;

    transition:.25s ease;
}

.filter-btn.active{
    background:#DFF7FE;
    color:#279DC0;
}

.filter-btn:hover{
    color:#279DC0;
}


/* ================= EXACT FIGMA SHAPE ================= */

.gallery-columns{
    display:grid;

    /*
       Figma proportions:
       Left   ≈ 518
       Middle ≈ 410
       Right  ≈ 306
    */
    grid-template-columns:
        minmax(0, 1.70fr)
        minmax(0, 1.34fr)
        minmax(0, 1fr);

    gap:18px;

    align-items:start;
}


/* Each column is independent */

.gallery-column{
    display:flex;
    flex-direction:column;

    gap:14px;

    min-width:0;
}


/* ================= CARD ================= */

.gallery-card{
    position:relative;

    width:100%;

    overflow:hidden;

    border-radius:28px;

    background:#EEF2F5;

    transition:
        opacity .25s ease,
        transform .25s ease;
}


/*
    Exact Figma image proportions
*/


/* LEFT */

.gallery-left .gallery-card:nth-child(1){
    aspect-ratio:518 / 445;
}

.gallery-left .gallery-card:nth-child(2){
    aspect-ratio:518 / 412;
}

.gallery-left .gallery-card:nth-child(3){
    aspect-ratio:518 / 470;
}


/* MIDDLE */

.gallery-middle .gallery-card:nth-child(1){
    aspect-ratio:410 / 286;
}

.gallery-middle .gallery-card:nth-child(2){
    aspect-ratio:407 / 597;
}

.gallery-middle .gallery-card:nth-child(3){
    aspect-ratio:407 / 322;
}


/* RIGHT */

.gallery-right .gallery-card:nth-child(1){
    aspect-ratio:304 / 436;
}

.gallery-right .gallery-card:nth-child(2){
    aspect-ratio:306 / 442;
}

.gallery-right .gallery-card:nth-child(3){
    aspect-ratio:306 / 448;
}


/* ================= IMAGE ================= */

.gallery-card img{
    width:100%;
    height:100%;

    display:block;

    object-fit:cover;

    transition:transform .5s ease;
}

.gallery-card:hover img{
    transform:scale(1.035);
}


/* ================= LABEL ================= */

.gallery-label{
    position:absolute;

    left:20px;
    bottom:20px;

    display:flex;
    align-items:center;
    justify-content:center;

    min-height:44px;

    padding:0 24px;

    border-radius:999px;

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);

    font-family:"Manrope",sans-serif;
    font-size:14px;
    font-weight:600;
    line-height:20px;

    color:#08715F;

    white-space:nowrap;
}


/* ================= HIDDEN CARDS ================= */

.gallery-card.hide{
    display:none;
}


/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

    .gallery-columns{
        gap:14px;
    }

    .gallery-column{
        gap:12px;
    }

    .gallery-card{
        border-radius:22px;
    }

    .gallery-label{
        left:14px;
        bottom:14px;

        min-height:40px;
        padding:0 18px;

        font-size:12px;
    }

}


@media(max-width:760px){

    .gallery-showcase{
        padding:55px 0 80px;
    }

    .showcase-heading h2{
        font-size:32px;
        line-height:40px;
    }

    .gallery-filters{
        flex-wrap:wrap;
        gap:8px;
        margin-bottom:40px;
    }

    /*
       On mobile, keep the same 3-column
       composition but scale it down.
    */
    .gallery-columns{
        grid-template-columns:
            1.70fr
            1.34fr
            1fr;

        gap:8px;
    }

    .gallery-column{
        gap:8px;
    }

    .gallery-card{
        border-radius:16px;
    }

    .gallery-label{
        left:8px;
        bottom:8px;

        min-height:28px;
        padding:0 10px;

        font-size:8px;
        line-height:12px;
    }

}


@media(max-width:480px){

    .gallery-filters{
        gap:5px;
    }

    .filter-btn{
        padding:8px 12px;
        font-size:12px;
    }

}
/* ================= VISIT CTA ================= */

.gallery-visit{
    background:#FFFFFF;

    padding:70px 0 100px;
}


/* Main card */

.gallery-visit-card{
    width:100%;
    max-width:1152px;

    min-height:276px;

    margin:0 auto;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    background:#EAFBFF;

    border-radius:24px;

    box-shadow:
        0 16px 40px rgba(35,94,112,.08);

    position:relative;
    overflow:hidden;
}


/* Soft cyan ambient effect */

.gallery-visit-card::before{
    content:"";

    position:absolute;

    width:600px;
    height:220px;

    left:50%;
    top:50%;

    transform:translate(-50%,-50%);

    background:rgba(116,231,255,.20);

    filter:blur(80px);

    border-radius:50%;

    pointer-events:none;
}


/* Keep content above glow */

.gallery-visit-card h2,
.gallery-visit-card p,
.gallery-visit-buttons{
    position:relative;
    z-index:2;
}


/* ================= HEADING ================= */

.gallery-visit-card h2{
    margin:0 0 10px;

    font-family:"Manrope",sans-serif;

    font-size:28px;
    font-weight:500;

    line-height:36px;
    letter-spacing:-0.28px;

    color:#111111;
}


/* ================= DESCRIPTION ================= */

.gallery-visit-card p{
    margin:0 0 34px;

    font-family:"Plus Jakarta Sans",sans-serif;

    font-size:14px;
    font-weight:400;

    line-height:22px;

    color:#4F5867;
}


/* ================= BUTTONS ================= */

.gallery-visit-buttons{
    display:flex;
    align-items:center;
    justify-content:center;

    gap:12px;
}


/* Book */

.visit-book{
    width:121px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:999px;

    background:#3DA0C3;
    color:#FFFFFF;

    font-family:"Manrope",sans-serif;

    font-size:12px;
    font-weight:500;

    line-height:20px;

    text-decoration:none;

    transition:.25s ease;
}


/* Phone */

.visit-call{
    width:171px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    border-radius:999px;

    background:rgba(255,255,255,.45);

    border:1px solid #3DA0C3;

    color:#168EBA;

    font-family:"Manrope",sans-serif;

    font-size:12px;
    font-weight:500;

    line-height:20px;

    text-decoration:none;

    transition:.25s ease;
}


.visit-call img{
    width:14px;
    height:14px;

    object-fit:contain;
}


/* Hover */

.visit-book:hover{
    transform:translateY(-2px);
}

.visit-call:hover{
    background:#FFFFFF;
    transform:translateY(-2px);
}


/* ================= RESPONSIVE ================= */

@media(max-width:768px){

    .gallery-visit{
        padding:55px 0 80px;
    }

    .gallery-visit-card{
        min-height:250px;

        padding:40px 20px;

        border-radius:20px;
    }

    .gallery-visit-card h2{
        font-size:24px;
        line-height:32px;
    }

}


@media(max-width:500px){

    .gallery-visit-buttons{
        flex-direction:column;
        width:100%;
    }

    .visit-book,
    .visit-call{
        width:180px;
    }

}

/* ================= FILTERED GALLERY ================= */

.gallery-columns.filtered{
    align-items:start;
}


/* When filtered, make columns behave naturally */

.gallery-columns.filtered .gallery-column{
    min-height:0;
}


/* Filtered cards should not keep the
   original artificial column spacing */

.gallery-columns.filtered .gallery-card{
    width:100%;
}


/* ================= FILTERED RESPONSIVE ================= */

@media(max-width:760px){

    .gallery-columns.filtered{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:480px){

    .gallery-columns.filtered{
        grid-template-columns:1fr;
    }

}