/* ===== VARIABLES ===== */
:root {
    --color-bg: #0a0a0a;
    --color-bg-alt: #111111;
    --color-bg-card: #1a1a1a;
    --color-gold: #d4a844;
    --color-gold-light: #e8c36a;
    --color-gold-dark: #b8922e;
    --color-text: #e0e0e0;
    --color-text-muted: #999;
    --color-border: #333;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --nav-height: 70px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-gold-light);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    border-bottom-color: var(--color-gold-dark);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--nav-height);
}

.nav-logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav-menu a {
    display: block;
    padding: 8px 16px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text);
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    color: var(--color-gold);
    background: rgba(212, 168, 68, 0.1);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-gold);
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-bg);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 90% 45% at 50% 78%,
            rgba(212, 168, 68, 0.12) 0%,
            rgba(212, 168, 68, 0.08) 20%,
            rgba(212, 168, 68, 0.04) 40%,
            rgba(212, 168, 68, 0.015) 60%,
            transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.hero-logo {
    max-width: 380px;
    width: 65vw;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 15px 35px rgba(212, 168, 68, 0.2));
}

.hero-welcome {
    font-family: 'Rye', cursive;
    font-size: clamp(1.8rem, 5vw, 3rem);
    color: #fff;
    letter-spacing: 4px;
    margin-top: 10px;
    text-shadow: 0 0 30px rgba(212, 168, 68, 0.2);
}

/* ===== HERO ANIMATIONS ===== */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: drop-shadow(0 15px 35px rgba(212, 168, 68, 0)) blur(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: drop-shadow(0 15px 35px rgba(212, 168, 68, 0.2)) blur(0);
    }
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        letter-spacing: 20px;
        filter: blur(8px);
    }
    to {
        opacity: 1;
        letter-spacing: 4px;
        filter: blur(0);
    }
}

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

.hero-logo {
    animation: heroFadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-welcome {
    animation: heroTextReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

.hero-overlay {
    animation: glowPulse 2s ease 0.6s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-bg);
    background: var(--color-gold);
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: transparent;
    color: var(--color-gold);
}

.btn-outline {
    background: transparent;
    color: var(--color-gold);
    margin-top: 20px;
}

.btn-outline:hover {
    background: var(--color-gold);
    color: var(--color-bg);
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin: 12px auto 0;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px;
    color: var(--color-text-muted);
}

.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-light);
    margin: 40px 0 8px;
}

.subsection-info {
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

/* ===== INFO SECTION ===== */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.info-text p {
    margin-bottom: 16px;
}

.info-text strong {
    color: var(--color-gold);
}

.contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.contact-email,
.contact-location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.contact-email svg,
.contact-location svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

/* ===== EVENTS TABLE ===== */
.events-table-wrapper {
    overflow-x: auto;
    margin-bottom: 20px;
}

.events-table {
    width: 100%;
    border-collapse: collapse;
}

.events-table th {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--color-gold-dark);
    font-size: 0.9rem;
}

.events-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.events-table tbody tr:hover {
    background: rgba(212, 168, 68, 0.05);
}

.events-table .event-highlight td {
    color: var(--color-gold);
    font-weight: 600;
    background: rgba(212, 168, 68, 0.08);
}

/* ===== ALBUM GALLERY ===== */
.gallery-toggle {
    cursor: pointer;
    user-select: none;
    transition: color 0.3s;
}

.gallery-toggle:hover {
    color: var(--color-gold-light);
}

.gallery-toggle-icon {
    font-size: 0.6em;
    display: inline-block;
    transition: transform 0.3s;
    margin-left: 8px;
    vertical-align: middle;
}

.gallery-toggle.open .gallery-toggle-icon {
    transform: rotate(180deg);
}

.album-grid.collapsed {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
}

.album-grid {
    transition: max-height 0.6s ease, opacity 0.4s ease;
    max-height: 3000px;
    opacity: 1;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.album-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.album-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 168, 68, 0.15);
}

.album-cover {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #151515;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.album-info {
    padding: 14px 16px;
}

.album-info h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gold);
    margin-bottom: 4px;
    line-height: 1.3;
}

.album-info span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Album Detail */
.album-back {
    background: none;
    border: 1px solid var(--color-border);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.album-back:hover {
    border-color: var(--color-gold);
    background: rgba(212, 168, 68, 0.1);
}

.album-detail-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold-light);
    margin-bottom: 24px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.photo-thumb {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.photo-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(212, 168, 68, 0.2);
}

.photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
    line-height: 1;
}

.lightbox-close:hover {
    color: var(--color-gold);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.8rem;
    padding: 16px 12px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(212, 168, 68, 0.3);
    color: var(--color-gold);
}

.lightbox-caption {
    color: var(--color-text);
    font-family: var(--font-heading);
    margin-top: 12px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-counter {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* ===== LINKS SECTION ===== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.link-card {
    display: block;
    padding: 16px 20px;
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold) !important;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-bg-card);
    transition: all 0.3s;
}

.link-card:hover {
    border-color: var(--color-gold);
    background: rgba(212, 168, 68, 0.1);
    transform: translateY(-2px);
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.sponsor-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s;
}

.sponsor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 168, 68, 0.2);
}

.sponsor-card img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* ===== FOOTER ===== */
.footer {
    background: #050505;
    border-top: 1px solid var(--color-border);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
    width: auto;
    border-radius: 4px;
}

.footer-info p {
    margin-bottom: 4px;
}

.footer-info strong {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
        border-bottom: 1px solid var(--color-gold-dark);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-menu a {
        padding: 12px 16px;
        font-size: 1.1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }

    .events-table th,
    .events-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        letter-spacing: 2px;
    }

    .hero-subtitle {
        letter-spacing: 4px;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }
}
