* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(to right, #f4f7fb, #e9f0f8);
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #003366, #00509e);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* GALLERY GRID */
.gallery {
    padding: 70px 8%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* IMAGE BLOCK */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(2);
}

/* Overlay Effect */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 80, 158, 0.3);
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Footer */
footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 25px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero {
        padding: 50px 15px;
    }
    
    .gallery {
        padding: 50px 5%;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 30px 15px;
    }
    
    .hero h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .gallery {
        padding: 20px 3%;
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .gallery-item {
        border-radius: 10px;
    }
    
    .gallery-item img {
        height: 180px;
    }
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.lightbox-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 95vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #ffcc00;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
