/* ==========================================
   GALLERY PAGE CSS
========================================== */

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

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f7f9fc;
    color:#333;
}

/* ---------- Header ---------- */
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    padding:18px 5%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 12px rgba(0,0,0,.1);
    z-index:1000;
}

.logo{
    font-size:28px;
    font-weight:700;
    color:#d62828;
}

/* ---------- Navigation Buttons ---------- */

nav{
    display:flex;
    gap:15px;
    align-items:center;
    flex-wrap:wrap;
}

nav a{
    text-decoration:none;
    color:#fff;
    background:linear-gradient(45deg,#e53935,#ff6b6b);
    padding:10px 22px;
    border-radius:30px;
    font-size:16px;
    font-weight:600;
    transition:all .3s ease;
    display:inline-block;
}

nav a:hover{
    background:linear-gradient(45deg,#c62828,#e53935);
    transform:translateY(-4px);
    box-shadow:0 10px 25px rgba(229,57,53,.4);
}


/* ---------- Hero ---------- */

.hero{
    height:60vh;
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRvBssSVLVNIkHloKhBcJewJBA7oOXujYOWQ4are-tV5Q&s=10") center/cover no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:#fff;
    padding:20px;
}

.hero-content{
    max-width:700px;
}

.hero h1{
    font-size:55px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
}

/* ---------- Gallery ---------- */

.gallery{
    padding:90px 8%;
}

.gallery h2{
    text-align:center;
    font-size:40px;
    color:#d62828;
    margin-bottom:50px;
}

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

.gallery-item{
    overflow:hidden;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);
    transition:.3s;
    background:#fff;
}

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

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

.gallery-item:hover{
    box-shadow:0 15px 30px rgba(0,0,0,.2);
}

/* ---------- Quote ---------- */

.quote{
    background:#d62828;
    color:white;
    text-align:center;
    padding:70px 10%;
}

.quote h2{
    font-size:34px;
    line-height:1.5;
}

/* ---------- Footer ---------- */

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:40px 20px;
}

footer h3{
    margin-bottom:15px;
}

footer p{
    margin-bottom:10px;
}

.social{
    margin:20px 0;
}

.social i{
    font-size:28px;
    margin:0 12px;
    cursor:pointer;
    transition:.3s;
}

.social i:hover{
    color:#ff4d4d;
}

.copy{
    color:#ccc;
    font-size:14px;
}

/* ---------- Responsive ---------- */

@media(max-width:992px){

    header{
        flex-direction:column;
        padding:15px;
    }

    nav{
        margin-top:15px;
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

}

@media(max-width:768px){

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:17px;
    }

    .gallery{
        padding:70px 6%;
    }

    .gallery h2{
        font-size:32px;
    }

    .quote h2{
        font-size:26px;
    }

}

@media(max-width:480px){

    .logo{
        font-size:22px;
    }

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:15px;
    }

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

}