/* =========================================
   CSS VARIABLES & PRESETS
========================================= */
:root {
    --clr-black: #0a0a0a;
    --clr-dark: #121212;
    --clr-darker: #0d0d0d;
    --clr-orange: #e28723; /* Based on the logo */
    --clr-orange-hover: #c9751a;
    --clr-yellow: #f2ba32; /* Based on the grunge bg */
    --clr-white: #f5f5f5;
    --clr-gray: #aaaaaa;

    --font-heading: 'Bebas Neue', display;
    --font-body: 'Montserrat', sans-serif;

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-dark);
    color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography classes */
.highlight { color: var(--clr-orange); }
.text-orange { color: var(--clr-orange); }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    letter-spacing: 1px;
    line-height: 1.1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

/* =========================================
   COMPONENTS
========================================= */
.btn-primary, .btn-primary-sm {
    display: inline-block;
    background-color: var(--clr-orange);
    color: var(--clr-black);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    border: 2px solid var(--clr-orange);
    box-shadow: 0 4px 15px rgba(226, 135, 35, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:hover, .btn-primary-sm:hover {
    background-color: transparent;
    color: var(--clr-orange);
    box-shadow: 0 6px 20px rgba(226, 135, 35, 0.4);
    transform: translateY(-3px);
}

.btn-primary-sm {
    font-size: 1.2rem;
    padding: 8px 24px;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-primary-sm) {
    color: var(--clr-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn-primary-sm):hover {
    color: var(--clr-orange);
}

.nav-links a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--clr-orange);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background-color: var(--clr-black);
    /* In case user adds background image */
    background-image: url('assets/bg-grunge.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.8) 50%, rgba(10,10,10,0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--clr-gray);
    margin-bottom: 5px;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px rgba(0,0,0,0.5);
    line-height: 0.9;
}

.hero-date {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: var(--clr-orange);
    margin-bottom: 5px;
}

.hero-location {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--clr-white);
    border-left: 3px solid var(--clr-orange);
    padding-left: 15px;
}

.main-logo {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 0 20px rgba(226, 135, 35, 0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Countdown */
.countdown {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.cd-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    min-width: 80px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.cd-box span {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--clr-orange);
    line-height: 1;
}

.cd-box p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-gray);
    margin-top: 5px;
}

.hero-bottom-decoration {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.crowd-silhouette {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 200px;
    opacity: 0.8;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about {
    background-color: var(--clr-darker);
    position: relative;
    border-top: 5px solid var(--clr-orange);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ccc;
}

.about-text strong {
    color: var(--clr-white);
}

.grunge-box {
    background: var(--clr-yellow) url('assets/bg-grunge.png') center/cover;
    height: 400px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 15px 15px 0px var(--clr-orange);
    transform: rotate(3deg);
    transition: var(--transition);
}

.grunge-box:hover {
    transform: rotate(0deg) scale(1.02);
}

.grunge-box h3 {
    color: var(--clr-black);
    font-size: 3rem;
    text-align: center;
    text-transform: uppercase;
    mix-blend-mode: overlay;
    transform: rotate(-5deg);
}

/* =========================================
   INFO SECTION
========================================= */
.info {
    background-color: var(--clr-dark);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-10px);
    border-color: var(--clr-orange);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 2rem;
    color: var(--clr-orange);
    margin-bottom: 15px;
}

.info-card p {
    color: #bbb;
    font-size: 1.1rem;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background-color: var(--clr-black);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-org p {
    color: var(--clr-gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.jci-logo {
    height: 60px;
    filter: invert(1); /* Makes the black logo white for dark theme */
    opacity: 0.8;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: var(--clr-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* =========================================
   ANIMATIONS (Scroll Reveal)
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.fade-left {
    transform: translateX(50px);
}

.reveal.fade-right {
    transform: translateX(-50px);
}

.reveal.fade-up {
    transform: translateY(50px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .hero-content, .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.9) 100%);
    }

    .hero-text-wrapper {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-location {
        border-left: none;
        padding-left: 0;
    }

    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple mobile approach */
    }
    
    .hero-title {
        font-size: 4rem;
    }

    .countdown {
        gap: 10px;
    }

    .cd-box {
        min-width: 65px;
        padding: 10px;
    }

    .cd-box span {
        font-size: 1.8rem;
    }
    
    .grunge-box {
        height: 250px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}
