/* ================= GLOBAL ================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#f5f5f5;
    overflow-x:hidden;
}

/* ================= HEADER ================= */

header{
    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 8%;

    background:#111;

    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:10px;
    color:white;
}
.logo-img{
    width:60px;
    height:60px;
}

/* NAV */

nav{
    display:flex;
    gap:20px;
}

nav a{
    text-decoration:none;
    color:white;

    padding:10px 18px;

    border-radius:6px;

    transition:0.3s;
}

nav a:hover,
nav a.active{
    background:#c89b3c;
}

/* ================= HERO ================= */

.hero{
    width:100%;
    height:60vh;

    background:url("images/con.jpg") center/cover no-repeat;

    position:relative;

    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-overlay{
    position:absolute;

    width:100%;
    height:100%;

    background:rgba(0,0,0,0.6);
}

.hero-content{
    position:relative;
    z-index:2;

    color:white;

    text-align:center;
}

.hero-content h1{
    font-size:70px;
    margin-bottom:15px;
}

.hero-content p{
    font-size:24px;
}

/* ================= GALLERY ================= */

.gallery-section{
    width:100%;
    padding:80px 8%;
}

.gallery-title{
    text-align:center;

    font-size:50px;

    margin-bottom:50px;

    color:#222;
}

/* GRID */

.gallery-container{
    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;
}

/* CARD */

.gallery-card{
    position:relative;

    overflow:hidden;

    border-radius:20px;

    box-shadow:0 10px 25px rgba(0,0,0,0.2);

    cursor:pointer;
}

/* IMAGE */

.gallery-card img{
    width:100%;
    height:350px;

    object-fit:cover;

    transition:0.5s;
}

/* OVERLAY */

.card-overlay{
    position:absolute;

    bottom:-100%;

    width:100%;

    background:rgba(0,0,0,0.7);

    color:white;

    padding:25px;

    transition:0.5s;
}

/* HOVER EFFECT */

.gallery-card:hover img{
    transform:scale(1.1);
}

.gallery-card:hover .card-overlay{
    bottom:0;
}

/* TEXT */

.card-overlay h3{
    font-size:28px;
    margin-bottom:10px;
}

.card-overlay p{
    font-size:17px;
}

/* ================= FOOTER ================= */

footer{
    background:#111;
    color:white;

    text-align:center;

    padding:20px;
}

/* ================= MOBILE ================= */

@media(max-width:768px){

    .hero-content h1{
        font-size:42px;
    }

    .hero-content p{
        font-size:18px;
    }

    header{
        flex-direction:column;
        gap:15px;
    }

    nav{
        flex-wrap:wrap;
        justify-content:center;
    }
}