/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    cursor: default;

    min-height: 100vh;

    padding: 30px;

    background:
        radial-gradient(circle at top left, #1f1f1f, #0f0f0f);

    color: white;

    overflow-x: hidden;
}

/* Hero Section */
.hero{

    text-align: center;

    margin-bottom: 70px;
}

.hero h1{

    font-size: 4rem;

    margin-bottom: 20px;

    line-height: 1.2;

    background: linear-gradient(to right, #00f5ff, #00ff95);
    background-clip: text;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;
}

.hero p{

    max-width: 700px;

    margin: auto;

    color: #bcbcbc;

    font-size: 1.1rem;

    line-height: 1.8;
}

/* Gallery Grid */
.gallery{

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;
}

/* Image Card */
.image-card{

    position: relative;

    overflow: hidden;

    border-radius: 28px;

    cursor: pointer;

    transform-style: preserve-3d;

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.35);

    background: #111;
}

/* Card Hover */
.image-card:hover{

    transform:
        translateY(-10px)
        scale(1.02);

    box-shadow:
        0 20px 45px rgba(0,255,255,0.15);
}

/* Images */
.image-card img{

    width: 100%;

    height: 280px;

    object-fit: cover;

    transition: 0.5s ease;

    display: block;
}

/* Image Zoom */
.image-card:hover img{

    transform: scale(1.05);
}

/* Overlay Text */
.image-card::before{

    content: "Explore";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-size: 1.3rem;

    font-weight: 600;

    letter-spacing: 2px;

    color: white;

    opacity: 0;

    z-index: 2;

    transition: 0.4s ease;
    pointer-events: none;
}

/* Dark Overlay */
.image-card::after{

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.75),
            rgba(0,0,0,0.2)
        );

    opacity: 0;

    transition: 0.4s ease;
    pointer-events: none;
}

/* Show Overlay */
.image-card:hover::before,
.image-card:hover::after{

    opacity: 1;
}

/* Lightbox */
.lightbox{

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.92);

    display: none;

    justify-content: center;
    align-items: center;

    z-index: 999;

    backdrop-filter: blur(8px);

    padding: 20px;
}

/* Lightbox Image */
.lightbox-img{

    width: 80%;

    max-width: 900px;

    max-height: 85vh;

    object-fit: contain;

    border-radius: 20px;

    animation: popup 0.4s ease;

    box-shadow:
        0 0 40px rgba(0,0,0,0.5);
}

/* Close Button */
/* Close Button */
.close{

    position: absolute;

    top: 25px;
    right: 30px;

    width: 50px;
    height: 50px;

    display: flex;

    justify-content: center;
    align-items: center;

    border-radius: 50%;

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    color: white;

    font-size: 2rem;

    cursor: pointer;

    transition: 0.3s ease;
}

/* Hover Effect */
.close:hover{

    transform: scale(1.1);

    background: rgba(0,255,255,0.2);

    color: #00f5ff;
}

/* Popup Animation */
@keyframes popup{

    from{

        opacity: 0;

        transform: scale(0.7);
    }

    to{

        opacity: 1;

        transform: scale(1);
    }

}

/* Responsive Design */
@media(max-width: 768px){

    body{
        padding: 18px;
    }

    .hero h1{
        font-size: 2.5rem;
    }

    .hero p{
        font-size: 1rem;
    }

    .lightbox-img{
        width: 100%;
    }

}