/* top of your CSS */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; } /* optional safety-net */
body {
    background-color: black;
    margin: 0;
    padding: 0;
 
    font-family: 'Montserrat', sans-serif;
}

/* ==============================
   HEADER / NAVBAR STYLING (MASTER COPY)
   ============================== */

/* 1. Header Container */
.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    padding: 10px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 75px; 
    position: static;
    z-index: 100;
}

/* 2. Logo Consistency */
.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-section img {
    height: 60px;
    width: auto;
    transform: scale(1.3);
    transform-origin: left center;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-section img:hover {
    transform: scale(1.4);
}

.logo-text {
    font-size: 22px;
    font-weight: 600;
    color: #f9c802; 
}

/* 3. Navigation Links (The Golden Glow) */
nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #fff;
    font-family: 'Open Sans', sans-serif; 
    font-size: 17px;  
    font-weight: 500; 
    position: relative;
    padding-bottom: 6px; 
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

/* The Golden Line (Center-out, Elegant) */
nav a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background-color: #f9c802;
    box-shadow: 
        0 0 8px rgba(249, 200, 2, 0.8), 
        0 0 16px rgba(249, 200, 2, 0.6);
    transition: width 0.4s ease-in-out; 
}

/* Hover & Active State */
nav a:hover,
nav a.active {
    color: #f9c802;
    text-shadow: 
        0 0 12px rgba(249, 200, 2, 0.6), 
        0 0 24px rgba(249, 200, 2, 0.4);
}

/* Smooth Expansion */
nav a:hover::after,
nav a.active::after {
    width: 100%;
}

/* HAMBURGER BUTTON (MOBILE) */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* MOBILE NAV MENU */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #000;
    text-align: center;
    padding: 20px;
    gap: 15px;
}

.mobile-nav a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.25s ease;
    font-family: 'Open Sans', sans-serif;
    padding: 10px 0;
}

.mobile-nav a:hover {
    color: #f9c802;
}

.mobile-nav.active {
    display: flex;
}

/* RESPONSIVE HEADER */
@media (max-width: 1024px) {
    nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .logo-section img {
        height: 55px;
        transform: scale(1.2);
    }

    .header-content {
        padding: 10px 25px;
        height: 70px;
    }
}

@media (max-width: 600px) {
    .logo-section img {
        height: 50px;
        transform: scale(1.1);
    }

    .header-content {
        padding: 10px 20px;
        height: 65px;
    }
}

/* --- REFACTORED Button Styles (Kept from your file) --- */
.register-btn,
.upcoming-heading {
    background-color: #FF0000;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: opacity 0.3s ease;
    font-size: 1em;
    text-shadow: none;
    display: inline-block;
}

.register-btn:hover,
.upcoming-heading:hover {
    opacity: 0.8;
}

.register-btn {
    clear: both;
    float: right;
    margin: 20px 50px 0 0;
}

.upcoming-heading {
    clear: both;
    float: left;
    margin: 40px 0 20px 50px;
}

/* --- MAIN HEADI
NG (Kept from your file) --- */
.page-title {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, #FFD700, #FFA500, #DAA520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.3));
    }

    to {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.6));
    }
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    border-radius: 2px;
}

/* --- GALLERY STYLES (Kept from your file) --- */
.gallery-wrapper {
    width: 100%;
    max-width: 420px;
    margin: 25px auto 40px auto;
    position: relative;
}

.main-image-display {
    position: relative;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: visible;
    aspect-ratio: 3 / 4;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        z-index 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.5);
    opacity: 0;
    z-index: 1;
}

.gallery-image.is-current {
    transform: scale(1);
    opacity: 1;
    z-index: 10;
}

.gallery-image.is-prev {
    transform: translateX(-60%) scale(0.7);
    opacity: 0.5;
    z-index: 5;
}

.gallery-image.is-next {
    transform: translateX(60%) scale(0.7);
    opacity: 0.5;
    z-index: 5;
}

/* Arrow Styles */
.nav-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    cursor: pointer;
    color: gold;
    background-color: transparent;
    font-size: 40px;
    font-weight: bold;
    padding: 10px 8px;
    user-select: none;
    transition: color 0.3s ease;
    border-radius: 3px;
    z-index: 10;
}

.nav-arrow:hover {
    background-color: transparent;
    color: white;
}

.prev-arrow {
    left: -85px;
}

.next-arrow {
    right: -85px;
}

/* Thumbnail Navigation */
.thumbnail-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 10px;
}

.thumbnail {
    width: 80px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #555;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
    flex-shrink: 0;
}

.thumbnail:hover {
    border-color: #999;
    opacity: 1;
}

.thumbnail.active {
    border-color: gold;
    opacity: 1;
    transform: scale(1.15);
}

/* --- FOOTER STYLES --- */
.footer-content {
    background-color: #000;
    color: #fff;
    padding: 60px 50px;
    border-radius: 16px 16px 0 0;
    font-family: 'Open Sans', sans-serif;
    clear: both;
    /* Ensure footer sits below everything */
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-section {
    flex: 1 1 300px;
}

.footer-logo-section img {
    width: 150px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.footer-logo-section p {
    font-size: 16px;
    line-height: 1.6;
}

.footer-links-section {
    flex: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: nowrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
    position: relative;
}

.footer-column a {
    text-decoration: none;
    color: #ddd;
    font-size: 16px;
    transition: color 0.25s ease;
    /* Reset from any global overrides */
    padding: 0;
    display: inline;
}

.footer-column a:hover {
    color: #f9c802;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-item img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: brightness(0) invert(1);
}

.social-item img:hover {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(81%) sepia(68%) saturate(727%) hue-rotate(7deg) brightness(103%) contrast(103%);
}

.social-item a {
    color: #ddd;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.25s ease;
    padding: 0;
}

.social-item img[alt="Twitter"] {
    /* Remove the harsh filter that works poorly on non-SVG/non-monochromatic PNGs */
    filter: none;

    /* Ensure the hover effect doesn't break it either */
    transition: transform 0.2s ease;
    /* Keep the transform */
}

.social-item img[alt="Twitter"]:hover {
    /* Set the filter back to 'none' on hover if you don't want the gold color */
    filter: none;
    transform: scale(1.1);
}

.social-item a:hover {
    color: #f9c802;
}

.footer-divider {
    width: 100%;
    height: 2px;
    background-color: #333;
    margin: 60px 0 20px;
    border-radius: 2px;
}

.copyright {
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    color: #bbb;
}

.gold {
    border-color: gold
}

/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 1200px) {
    .footer-links-section {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .footer-grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-links-section {
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-column {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .gallery-wrapper {
        max-width: 95%;
    }

    .thumbnail {
        width: 60px;
        height: 90px;
    }

    .nav-arrow {
        font-size: 30px;
    }

    .prev-arrow {
        left: -30px;
    }

    .next-arrow {
        right: -30px;
    }

    .register-btn,
    .upcoming-heading {
        float: none;
        display: block;
        width: 80%;
        margin: 20px auto;
        text-align: center;
    }

    .footer-content {
        padding: 40px 20px;
    }

    .footer-links-section {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@media (max-width: 550px) {
    .gallery-wrapper {
        max-width: 280px;
    }

    .prev-arrow {
        left: -10px;
    }

    .next-arrow {
        right: -10px;
    }

    .nav-arrow {
        font-size: 24px;
    }

    .upcoming-heading {
        text-align: center;
        margin-left: 0;
    }

    .footer-logo-section img {
        width: 100px;
    }

    .footer-content {
        padding: 35px 15px;
    }

    .footer-links-section {
        gap: 25px;
    }

    .footer-column a {
        font-size: 14px;
    }
}