body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.site-header {
    background-color: #e13018;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 0.5rem 0;
}

@media (min-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .site-header nav {
        gap: 1rem;
    }
}

.nav-button {
    padding: 0.5rem 1rem;
    background-color: #FBBF24;
    color: #000000;
    font-weight: 700;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease;
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .nav-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

.nav-button:hover {
    background-color: #FCD34D;
    transform: translateY(-2px);
}

.nav-button.active {
    background-color: #FCD34D;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.masonry-gallery {
    column-count: 1;
    column-gap: 0;
}

@media (min-width: 768px) {
    .masonry-gallery {
        column-gap: 1rem;
        column-count: 3;
    }
}

@media (min-width: 1024px) {
    .masonry-gallery {
        column-count: 4;
    }
}

@media (min-width: 1280px) {
    .masonry-gallery {
        column-count: 5;
    }
}

.gallery-item {
    margin-bottom: 0.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
        break-inside: avoid;
    }
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 15px rgba(255, 255, 255, 0.1);
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    background-color: #374151;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.gallery-item:hover .video-overlay {
    opacity: 1;
}

.play-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 15px rgba(0,0,0,0.7);
}

.lightbox-modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.4s;
}

.lightbox-modal.hidden {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.lightbox-content {
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-media-container img,
#lightbox-media-container video {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.3);
    margin: 0 auto;
    display: block;
}

.lightbox-youtube-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
.lightbox-youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #FBBF24;
    text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    border-radius: 0.5rem;
    z-index: 1001;
}

.lightbox-prev {
    left: 1rem;
}
.lightbox-next {
    right: 1rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(251, 191, 36, 0.3);
}
