body {
    font-family: 'Segoe UI', sans-serif;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 100vh;

    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* 🔥 NEW */
    color: white;
}

.title {
    margin: 30px 0;
    font-size: 32px;
    letter-spacing: 2px;
}
.container {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
    padding: 25px;
    border-radius: 20px;
}
/* Gallery Grid */
.gallery {
    max-width: 1000px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery img {
    width: 100%;
    height: 150px;
    object-fit: cover;

    border-radius: 15px;
    cursor: pointer;

    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.gallery img:hover {
    transform: scale(1.08) rotate(1deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.9);

    justify-content: center;
    align-items: center;

    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal img {
    max-width: 80%;
    border-radius: 10px;
    animation: zoomIn 0.3s ease;
    backdrop-filter: blur(5px);
     box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    cursor: pointer;
    color: white;
}
/* Navigation buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    font-size: 40px;
    color: white;
    background: rgba(0,0,0,0.5);

    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.1);
}
.filters {
    margin-bottom: 20px;
}

.filters button {
    padding: 8px 15px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    color: white;
}

.filters button:hover {
    background: rgba(255,255,255,0.4);
}