* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    position: relative;
    z-index: 100;
}

.fixed-top-left {
    position: fixed;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0.75rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.fixed-top-left:hover {
    background: rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.fixed-top-right {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 6rem 1rem 2rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem 0;
    align-items: start;
}

.gallery-item {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%) brightness(0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    filter: grayscale(0%) brightness(1.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8);
    z-index: 10;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    font-weight: 200;
    transition: all 0.3s ease;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    line-height: 1;
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: #ffffff;
    cursor: pointer;
    padding: 1rem 2rem;
    user-select: none;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.prev {
    left: 2rem;
}

.next {
    right: 2rem;
}

footer {
    padding: 2rem;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .fixed-top-left {
        font-size: 0.65rem;
        padding: 0.5rem 0.75rem;
        top: 0.5rem;
        left: 0.5rem;
        letter-spacing: 1px;
    }

    .container {
        padding: 4rem 0.5rem 1rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }

    .lightbox-content {
        max-width: 95%;
        max-height: 80vh;
    }

    .close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }

    .nav {
        font-size: 2rem;
        padding: 0.75rem 1.25rem;
    }

    .prev {
        left: 1rem;
    }

    .next {
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.5rem;
    }
}