/* =====================================================
   RESET AND BASE STYLES
   ===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0a;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    letter-spacing: 0.01em;
    overflow-x: hidden;
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(3rem, 12vw, 9rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    letter-spacing: 0.08em;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 0.08em;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #f5f5f5;
    text-decoration: none;
    transition: color 200ms ease;
}

a:hover {
    color: #d4af37;
}

/* =====================================================
   PROGRESS INDICATOR
   ===================================================== */

.progress-indicator {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 300ms ease;
}

.progress-indicator.visible {
    opacity: 1;
}

.progress-indicator::before {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background-color: #d4af37;
    margin-bottom: 8px;
}

.progress-indicator::after {
    content: '';
    display: block;
    width: 2px;
    height: 20px;
    background-color: #d4af37;
    margin-top: 8px;
}

.progress-indicator span {
    display: block;
    width: 2px;
    height: 8px;
    background-color: #707070;
    transition: background-color 200ms ease;
}

.progress-indicator span.active {
    background-color: #d4af37;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-title {
    color: #f5f5f5;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.12em;
    margin: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.05) 50%, transparent 100%);
    z-index: 1;
}

/* =====================================================
   KEYFRAME ANIMATIONS
   ===================================================== */

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =====================================================
   MAIN CONTENT
   ===================================================== */

main {
    width: 100%;
}

/* =====================================================
   ACCENT BARS
   ===================================================== */

.accent-bar {
    width: 100%;
    height: 2px;
    background-color: #d4af37;
    margin: 48px 0;
    animation: slideInLeft 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.accent-bar-full {
    width: 100vw;
    height: 4px;
    background-color: #d4af37;
    margin-left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
}

/* =====================================================
   SECTIONS
   ===================================================== */

.event-section {
    position: relative;
    width: 100vw;
    background-color: #1a1a1a;
    padding: 80px 0;
    margin-left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.event-section:nth-child(odd) {
    background-color: #0a0a0a;
}

.event-section:nth-child(even) {
    background-color: #1a1a1a;
}

.section-content {
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
}

.section-heading {
    text-align: center;
    margin-bottom: 32px;
    color: #f5f5f5;
}

/* =====================================================
   EVENT GRID
   ===================================================== */

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

@media (max-width: 1200px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   EVENT CARDS
   ===================================================== */

.event-card {
    background-color: #0a0a0a;
    border: 1px solid #d4af37;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    transition: all 200ms ease;
}

.event-card:hover {
    border-color: #0d5f6f;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.1);
    background-color: #151515;
}

.event-header {
    padding: 24px;
    border-bottom: 1px solid #707070;
}

.event-header.premium {
    border-bottom: 2px solid #d4af37;
}

.event-badge {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: #d4af37;
    margin-bottom: 12px;
    padding: 4px 8px;
    border: 1px solid #d4af37;
}

.event-title {
    margin: 0;
    color: #f5f5f5;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.event-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #a0a0a0;
    margin-top: 8px;
    letter-spacing: 0.04em;
}

.event-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-location {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9rem;
    color: #d4af37;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.event-description {
    color: #a0a0a0;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    margin: 8px 0;
    flex-grow: 1;
}

.event-capacity {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: #707070;
    margin-top: 12px;
}

.event-footer {
    padding: 24px;
    border-top: 1px solid #707070;
    display: flex;
    justify-content: center;
}

.event-cta {
    background-color: transparent;
    border: 1px solid #d4af37;
    color: #f5f5f5;
    padding: 12px 24px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    cursor: pointer;
    transition: all 200ms ease;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.event-cta:hover {
    background-color: #d4af37;
    color: #0a0a0a;
}

.event-cta:active {
    opacity: 0.3;
    transition: opacity 150ms ease;
}

.event-cta.premium {
    border-color: #0d5f6f;
    color: #f5f5f5;
}

.event-cta.premium:hover {
    background-color: #0d5f6f;
    color: #f5f5f5;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.about-block {
    padding: 24px;
    background-color: #0a0a0a;
    border-left: 2px solid #d4af37;
}

.about-title {
    color: #d4af37;
    margin-bottom: 16px;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.about-text {
    color: #a0a0a0;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    line-height: 1.8;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.contact-block {
    padding: 32px;
    background-color: #0a0a0a;
    border: 1px solid #d4af37;
    text-align: center;
}

.contact-title {
    color: #f5f5f5;
    margin-bottom: 12px;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
}

.contact-info {
    color: #a0a0a0;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    margin-bottom: 16px;
}

.contact-link {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: #d4af37;
    text-decoration: none;
    border-bottom: 1px solid #d4af37;
    transition: all 200ms ease;
    padding: 4px 0;
}

.contact-link:hover {
    padding-left: 4px;
    color: #f5f5f5;
    border-bottom-color: #f5f5f5;
}

/* =====================================================
   FOOTER
   ===================================================== */

.page-footer {
    width: 100vw;
    background-color: #0a0a0a;
    border-top: 1px solid #d4af37;
    padding: 40px 0;
    margin-left: 50%;
    transform: translateX(-50%);
}

.footer-content {
    max-width: 100%;
    padding: 0 40px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: #707070;
    font-size: clamp(0.85rem, 1vw, 0.95rem);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: #a0a0a0;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
    transition: color 200ms ease;
    text-decoration: none;
}

.footer-link:hover {
    color: #d4af37;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */

.event-section {
    opacity: 0;
    animation: none;
}

.event-section.in-view {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.event-card {
    opacity: 0;
    animation: none;
}

.event-card.in-view {
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.event-card:nth-child(2).in-view {
    animation-delay: 0.1s;
}

.event-card:nth-child(3).in-view {
    animation-delay: 0.2s;
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

@media (max-width: 1024px) {
    .section-content {
        padding: 0 32px;
    }

    .footer-content {
        padding: 0 32px;
    }
}

@media (max-width: 768px) {
    .event-section {
        padding: 60px 0;
    }

    .section-content {
        padding: 0 24px;
    }

    .footer-content {
        padding: 0 24px;
    }

    .about-block,
    .contact-block {
        padding: 20px;
    }

    .event-card {
        margin: 0;
    }

    .progress-indicator {
        display: none;
    }

    .footer-nav {
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 80vh;
    }

    .event-section {
        padding: 40px 0;
    }

    .section-content {
        padding: 0 16px;
    }

    .footer-content {
        padding: 0 16px;
    }

    .event-header,
    .event-body,
    .event-footer {
        padding: 16px;
    }

    .accent-bar {
        margin: 24px 0;
    }
}

/* =====================================================
   UTILITY CLASSES
   ===================================================== */

.featured {
    position: relative;
}

.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #d4af37;
}

/* =====================================================
   PRINT STYLES
   ===================================================== */

@media print {
    .progress-indicator {
        display: none;
    }

    body {
        background-color: white;
        color: black;
    }

    .event-section {
        background-color: white;
    }

    .event-card {
        border-color: black;
    }
}
