/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: white;
    background: linear-gradient(90deg, black, white);
    background-size: 200% 200%;
    animation: gradientFlow 10s infinite alternate;
    padding-top: 100px;
}

/* Gradient Animation */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

header .logo img {
    height: 60px;
}

header nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
    color: #9b59b6;
}

/* Gallery Section */
.gallery {
    text-align: center;
    padding: 50px 20px;
}

.gallery h1 {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

.grid-item img, .grid-item video {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item:hover img, .grid-item:hover video {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .gallery h1 {
        font-size: 2rem;
    }
}

/* Footer */
footer {
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 50;
    backdrop-filter: blur(5px);
}
