/* ==========================================================================
   CSS Variables
   ========================================================================== */
:root {
    --primary-gold: #027dc3;
    --primary-gold-hover: #b8860b;
    --dark-bg: #1a1a1a;
    --dark-text: #000000;
	--gray-bg: #f2f2f2;
    --light-text: #000000;
    --white: #ffffff;
    --border-light: #e0e0e0;
}

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

body {
	font-family: 'Nunito Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================================================
   Top Contact Bar
   ========================================================================== */
.top-contact-bar {
    background: var(--gray-bg);
    color: var(--white);
    padding: 0px 0;
    font-size: 13px;
}

.top-contact-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.contact-link {
    color: var(--dark-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    font-size: 16px;
}

.contact-link:hover {
    opacity: 0.8;
}

.contact-icon {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.contact-icon svg {
    width: 14px;
    height: 14px;
}

.directory-link {
    background: var(--primary-gold);
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 0px;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.directory-link:hover {
    background: var(--primary-gold);
}

/* ==========================================================================
   Main Header Navigation
   ========================================================================== */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    position: relative;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 400;
    font-size: 17px;
    padding: 5px 8px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-gold);
}

.nav-separator {
    color: var(--light-text);
    font-weight: normal;
    font-size: 13px;
    margin: 0 2px;
    user-select: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
}

.lang-option {
    cursor: pointer;
    transition: color 0.3s ease;
    color: var(--dark-text);
    padding: 2px 4px;
    font-size: 17px;
}

.lang-option.active {
    color: #027dc3;
    font-weight: 600;
}

.lang-option:hover:not(.active) {
    color: var(--primary-gold);
}

.separator {
    color: var(--light-text);
    margin: 0 0px;
}

/* ==========================================================================
   Golden Line Below Navigation
   ========================================================================== */
.main-nav {
    position: relative;
}

.golden-line {
    position: absolute;
    left: 0;
    right: 150px; /* Leave space for language toggle */
    bottom: -1px;
    height: 1px;
    background: #027dc3;
    z-index: 1;
}

/* Position the line to align with nav-links specifically */
.nav-links {
    position: relative;
}

.nav-links::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px; /* Adjust based on nav padding */
    height: 1px;
    background: linear-gradient(90deg, var(--dark-bg) 0%, #027dc3 50%, var(--dark-bg) 100%);
    z-index: 1;
}

/* Hide the original golden-line div since we're using pseudo-element */
.golden-line {
    display: none;
}

/* Responsive adjustments for golden line */
@media (max-width: 1024px) {
    .nav-links::after {
        display: none; /* Hide on mobile when using hamburger menu */
    }
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark-text);
    border-radius: 3px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* ==========================================================================
   Event Date Styling
   ========================================================================== */
.EventDate {
	color: var(--dark-text);	
	font-weight: 600px;
	font-size: 24px;
}

/* ==========================================================================
   Hero Logo Section
   ========================================================================== */
.hero-logo-section {
    padding: 15px 0;
    text-align: center;
}

.hero-logo img {
    max-width: 100%;
    width: 1000px;
    height: 225px;
    object-fit: fit;
}

/* ==========================================================================
   Hero Slider Styles
   ========================================================================== */
.hero-slider-section {
    background: #ffffff;
    padding: 0;
    position: relative;
}

.hero-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 500px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.1);
}

.dot.active {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Golden Line Above Hero Banner */
.hero-golden-line {
    width: 100%;
    max-width: 1200px;
    height: 1px;
    background: var(--primary-gold);
    margin: 0 auto 30px auto;
}

/* ==========================================================================
   Timer Section
   ========================================================================== */
.timer-section {
    background: var(--bg-light);
    padding: 10px 0;
    text-align: center;
}

.timer-content p {
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.countdown {
    font-size: 18px;
    color: var(--dark-text);
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    background: var(--white);
    padding: 10px 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-icon {
    margin: 0 auto 15px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Icon styling for all three libraries */
.stat-icon .material-icons,
.stat-icon .fas,
.stat-icon .las {
    font-size: 32px;
    line-height: 1;
    vertical-align: middle;
    display: block;
}

.stat-item h3 {
    font-size: 30px;
    font-weight: 600;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    color: var(--light-text);
    font-weight: 500;
}

/* Animation Classes */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ==========================================================================
   Mobile Responsive Design
   ========================================================================== */

/* Tablet and below - Hide top contact bar */
@media (max-width: 1024px) {
    .top-contact-bar {
        display: none;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        transition: left 0.3s ease;
        z-index: 1000;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        padding-top: 80px;
        padding-bottom: 40px;
        overflow-y: auto;
    }
    
    .nav-links.mobile-active {
        left: 0;
    }
    
    .nav-links li {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 16px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 12px 20px;
        width: 100%;
        display: block;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a:hover {
        background: #f8f9fa;
        color: var(--primary-gold);
        transform: translateX(5px);
    }
    
    .nav-separator {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero Logo Section - Large Tablet */
    .hero-logo-section {
        padding: 20px 0 15px;
    }
    
    .hero-logo img {
        width: 900px;
        height: 200px;
        max-width: 95%;
    }
    
    .EventDate {
        font-size: 22px;
        font-weight: 600;
        margin-top: 15px;
        padding: 0 20px;
    }
    
    /* Hero Slider adjustments */
    .slider-container {
        height: 400px;
    }
    
    .slider-dots {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    /* Hero Golden Line */
    .hero-golden-line {
        max-width: 95%;
    }
    
    /* Stats adjustments */
    .stats-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* Top Contact Bar Mobile */
    .top-contact-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .contact-link {
        font-size: 12px;
    }
    
    .directory-link {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Main Nav Mobile */
    .main-nav {
        padding: 8px 0;
    }
    
    .language-toggle {
        font-size: 12px;
    }
    
    .nav-links {
        gap: 6px;
        padding-top: 70px;
        padding-bottom: 30px;
    }
    
    .nav-links a {
        font-size: 15px;
        padding: 10px 20px;
        letter-spacing: 0.3px;
    }
    
    /* Hero Logo Section - Tablet */
    .hero-logo-section {
        padding: 15px 0 12px;
    }
    
    .hero-logo img {
        width: 700px;
        height: 150px;
        max-width: 90%;
    }
    
    .EventDate {
        font-size: 20px;
        font-weight: 600;
        margin-top: 12px;
        padding: 0 15px;
        line-height: 1.3;
    }
    
    /* Hero Slider - Tablet */
    .hero-slider {
        max-width: 600px;
    }
    
    .slider-container {
        height: 350px;
    }
    
    .hero-golden-line {
        max-width: 98%;
        margin-bottom: 20px;
    }
    
    /* Stats - Tablet */
    .stats-grid {
        gap: 20px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .stat-item {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    /* Top Contact Bar - Mobile */
    .contact-info {
        gap: 10px;
    }
    
    .contact-link {
        font-size: 11px;
        gap: 6px;
    }
    
    .contact-icon {
        font-size: 12px;
    }
    
    .directory-link {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    /* Navigation - Mobile */
    .nav-links {
        gap: 4px;
        padding-top: 60px;
        padding-bottom: 20px;
    }
    
    .nav-links a {
        font-size: 14px;
        padding: 8px 15px;
        letter-spacing: 0.2px;
    }
    
    /* Hero Logo Section - Mobile */
    .hero-logo-section {
        padding: 12px 0 10px;
    }
    
    .hero-logo img {
        width: 450px;
        height: 100px;
        max-width: 85%;
    }
    
    .EventDate {
        font-size: 18px;
        font-weight: 600;
        margin-top: 10px;
        padding: 0 10px;
        line-height: 1.2;
    }
    
    /* Hero Slider - Mobile */
    .hero-slider {
        max-width: 400px;
    }
    
    .slider-container {
        height: 280px;
    }
    
    .slider-dots {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-golden-line {
        margin-bottom: 15px;
    }
    
    /* Stats - Mobile */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 300px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .stat-item h3 {
        font-size: 20px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    /* Navigation - Small Mobile */
    .nav-links {
        gap: 2px;
        padding-top: 50px;
        padding-bottom: 15px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 10px;
        letter-spacing: 0.1px;
    }
    
    /* Hero Logo Section - Small Mobile */
    .hero-logo-section {
        padding: 10px 0 8px;
    }
    
    .hero-logo img {
        width: 320px;
        height: 75px;
        max-width: 80%;
    }
    
    .EventDate {
        font-size: 16px;
        font-weight: 600;
        margin-top: 8px;
        padding: 0 8px;
        line-height: 1.1;
    }
}

@media (max-width: 320px) {
    /* Hero Logo Section - Very Small Mobile */
    .hero-logo-section {
        padding: 8px 0 6px;
    }
    
    .hero-logo img {
        width: 280px;
        height: 65px;
        max-width: 75%;
    }
    
    .EventDate {
        font-size: 14px;
        font-weight: 600;
        margin-top: 6px;
        padding: 0 5px;
        line-height: 1.1;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-logo-section {
        padding: 8px 0 6px;
    }
    
    .hero-logo img {
        height: 80px;
        max-width: 70%;
    }
    
    .EventDate {
        font-size: 16px;
        margin-top: 6px;
    }
    
    .nav-links {
        gap: 2px;
        padding-top: 40px;
        padding-bottom: 15px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 6px 15px;
    }
}

/* Mobile menu animations */
@media (max-width: 1024px) {
    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-links.mobile-active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Staggered animation for menu items */
    .nav-links.mobile-active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.mobile-active li:nth-child(2) { transition-delay: 0.15s; }
    .nav-links.mobile-active li:nth-child(3) { transition-delay: 0.2s; }
    .nav-links.mobile-active li:nth-child(4) { transition-delay: 0.25s; }
    .nav-links.mobile-active li:nth-child(5) { transition-delay: 0.3s; }
    .nav-links.mobile-active li:nth-child(6) { transition-delay: 0.35s; }
    .nav-links.mobile-active li:nth-child(7) { transition-delay: 0.4s; }
    .nav-links.mobile-active li:nth-child(8) { transition-delay: 0.45s; }
    .nav-links.mobile-active li:nth-child(9) { transition-delay: 0.5s; }
}

/* High DPI displays (Retina) adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-logo img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}