/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", Arial, sans-serif;
}

/* BODY */
body {
    background: #eaf8ff;
}

/* BACK BUTTON */
.back-btn {
    display: inline-block;
    margin: 20px;
    padding: 10px 20px;
    background: #ff7a00;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.back-btn:hover {
    background: #e56b00;
    transform: translateY(-2px);
}

/* TITLE */
.network-title {
    text-align: center;
    font-size: 42px;
    color: #1f3c88;
    margin: 10px 0 30px;
    font-weight: 800;
}

/* GALLERY GRID */
.network-gallery {
    max-width: 1200px;
    margin: auto;
    padding: 20px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* IMAGE CARD */
.network-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;

    border-radius: 12px;
    cursor: pointer;

    box-shadow: 0 8px 20px rgba(0,0,0,0.12);

    transition: all 0.3s ease;
}

/* HOVER EFFECT (professional feel) */
.network-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* OPTIONAL: subtle zoom-in animation on load */
.network-gallery img {
    animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .network-title {
        font-size: 26px;
    }

    .network-gallery img {
        height: 160px;
    }
}

/* LIGHTBOX BACKDROP */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

/* IMAGE */
.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* CLOSE BUTTON */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* ARROWS */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: white;
    padding: 10px;
    user-select: none;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover, .next:hover, .close:hover {
    color: #ff7a00;
}
