/*==========================
Google Font
==========================*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root{
    --primary:#111111;
    --gold:#B68D40;
    --white:#ffffff;
    --light:#f8f8f8;
    --text:#666;
    --shadow:0 10px 35px rgba(0,0,0,.12);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:#111;
}

/*==========================
Hero
==========================*/

.gallery-hero{
    height:45vh;
    background:url("images/banner.jpg") center center/cover no-repeat;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
    text-align:center;
    color:#fff;
}

.hero-content h4{
    color:var(--gold);
    letter-spacing:3px;
    margin-bottom:10px;
    text-transform:uppercase;
}

.hero-content h1{
    font-family:'Cormorant Garamond',serif;
    font-size:58px;
    margin-bottom:20px;
}

.hero-content p{
    max-width:650px;
    margin:auto;
    line-height:1.8;
}

/*==========================
Section
==========================*/

.gallery-section{
    width:90%;
    max-width:1400px;
    margin:90px auto;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:48px;
    font-family:'Cormorant Garamond',serif;
}

.section-title p{
    color:var(--text);
    margin-top:10px;
}

/*==========================
Filter Buttons
==========================*/

.filter-buttons{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:60px;
}

.filter-buttons button{
    border:none;
    background:#f5f5f5;
    padding:14px 28px;
    cursor:pointer;
    border-radius:50px;
    transition:.4s;
    font-size:15px;
}

.filter-buttons button:hover,
.filter-buttons button.active{
    background:var(--gold);
    color:#fff;
}

/*==========================
Gallery
==========================*/

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:30px;
}

.gallery-item{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    cursor:pointer;
    box-shadow:var(--shadow);
}

.gallery-item img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:.6s;
    display:block;
}

/*==========================
Overlay
==========================*/

.content{
    position:absolute;
    inset:0;
    background:linear-gradient(to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.15));
    display:flex;
    justify-content:flex-end;
    align-items:center;
    flex-direction:column;
    opacity:0;
    transition:.4s;
    padding-bottom:35px;
}

.content h3{
    color:#fff;
    font-size:28px;
    font-family:'Cormorant Garamond',serif;
    letter-spacing:1px;
}

.gallery-item:hover img{
    transform:scale(1.12);
}

.gallery-item:hover .content{
    opacity:1;
}

/*==========================
Lightbox
==========================*/

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
}

.close{
    position:absolute;
    top:30px;
    right:40px;
    font-size:45px;
    color:#fff;
    cursor:pointer;
}

/*==========================
Animation
==========================*/

.gallery-item{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/*==========================
Responsive
==========================*/

@media(max-width:992px){

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

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

}

@media(max-width:768px){

.gallery-grid{
grid-template-columns:1fr;
}

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

.section-title h2{
font-size:38px;
}

.filter-buttons{
gap:10px;
}

.filter-buttons button{
padding:10px 18px;
font-size:14px;
}

.gallery-item img{
height:280px;
}

}







