body, html {
    margin: 0;
    padding: 0;
    position: relative;
    color: #d4af37;
    background-color: black;
}



/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bungee', sans-serif;
}

@font-face {
    font-family: 'Bungee';
    src: url('../fonts/Bungee-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Header */
header {
    width: 100%;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
}

/* Navigation */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.nav-list li a {
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    color: #FEF8AC;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: rgb(255, 0, 0);
}

/* Updated Background Section */
.background-section {
    /*background-image: url('../photos/background-1.jpg');  Absolute path from public_html */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Fixes the background image */
    position: relative; /* Allows text overlay */
    min-height: 100vh; /* Ensure it fills the viewport */
    padding-top: 12px; /* Pushes content below the navbar */
}

.background-section h1 {
    margin-top: 0px;
    font-size: 3em;
    color: #f6f2f2;
    font-family: 'Bungee', sans-serif;
    text-align: center;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.background-section {
    background-color: #0f0f0f;
    border-radius: 10px;
    padding: 40px;
}


/* Gallery Dropdown Selector */
.gallery-dropdown {
    text-align: center;
    margin-bottom: 40px;
}

#gallerySelector {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #1a1a1a;
    color: #e5e5e5;
    border: 2px solid #2a2a2a;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

#gallerySelector:hover {
    background-color: #2a2a2a;
    border-color: #3a3a3a;
}

#gallerySelector:focus {
    outline: none;
    border-color: #4a4a4a;
}

/* Gallery Container Layout */
.gallery-container {
    display: flex;
    gap: 20px;
    width: 100%;
}

.gallery-left {
    flex: 3;
}

.gallery-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Photos Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
}

/* Gallery Items - CONSISTENT SIZING */
.gallery-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s;
}

.gallery-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
    transition: transform 0.2s;
    display: block;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Right Column Vertical Photos - Taller Size */
.gallery-right .gallery-item {
    height: 400px;
}

/* Videos Container */
#videos-container {
    width: 100%;
}

.video-section {
    margin-bottom: 40px;
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 10px;
}

.video-section h2 {
    color: #e5e5e5;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.video-item {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.video-item video {
    width: 100%;
    border-radius: 8px;
    background-color: #000;
}

/* Fade Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.fade-out {
    animation: fadeOut 0.5s ease-out;
}

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

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

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-container {
        flex-direction: column;
    }
    
    .gallery-right {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .gallery-right .gallery-item {
        height: 300px;
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .background-section {
        padding: 20px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-right .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 250px;
    }
}