/* ========================================
   GALLERY HERO
======================================== */

.gallery-hero {
    text-align: center;
    padding: 70px 10% 40px;
    background: linear-gradient(135deg, #0c1b2e, #081422);
    color: #ffffff;
}

.gallery-hero h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 12px;
}

.gallery-hero p {
    font-size: 16px;
    color: #cbd8e6;
}

/* ========================================
   GALLERY GRID
======================================== */

.gallery-container {
    padding: 50px 10%;
    background: linear-gradient(180deg, #081422, #0c1b2e);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

/* CARD STYLE */
.gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(63,224,255,0.15);
    transition: 0.4s ease;
}

.gallery-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease;
}

/* Professional Hover Effect */
.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(63,224,255,0.25);
}

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

/* ========================================
   MODAL
======================================== */

.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 15, 25, 0.96);
    backdrop-filter: blur(8px);
    padding-top: 80px;
}

.modal-image {
    display: block;
    margin: auto;
    max-width: 85%;
    max-height: 80vh;
    border-radius: 12px;
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 40px;
    font-size: 38px;
    color: #3fe0ff;
    cursor: pointer;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

    .gallery-hero h1 {
        font-size: 26px;
    }

    .gallery-container {
        padding: 40px 6%;
        gap: 20px;
    }

    .modal-image {
        max-width: 95%;
    }
}
