/* Global Layout */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
}
.home-page .logo-link { color: #fff; } /* White on hero */

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.main-navigation a:hover { color: var(--color-brand-orange); }

.menu-toggle { display: none; }

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    background: #333; /* fallback */
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
}

.hero-content {
    text-align: center;
    z-index: 2;
    padding-top: 4rem;
}

.hero-meta-bar {
    display: inline-block;
    background: rgba(242, 101, 34, 0.2);
    color: var(--color-brand-orange);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(242, 101, 34, 0.4);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.9);
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 3rem;
    color: #fff;
}

.time-block {
    text-align: center;
}

.time-block .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.time-block .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    letter-spacing: 1px;
}

/* More Than A Challenge */
.section-values {
    padding: 6rem 0;
    text-align: center;
    background: #FAFAFA;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: #fff;
    padding: 2.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: transform 0.3s;
}
.value-card:hover { transform: translateY(-5px); }

.icon-circle {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    color: var(--color-brand-orange);
    background: rgba(242, 101, 34, 0.1);
    border-radius: 50%;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-brand-dark);
}

.value-card p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin: 0;
}

/* Mission Section */
.section-mission {
    padding: 6rem 0;
}

.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.mission-text .h3-title {
    color: var(--color-brand-orange);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #eee;
    border-radius: 12px;
    background-image: url('placeholders/mission.jpg'); /* placeholder */
    background-size: cover;
}

/* Event Highlights */
.section-highlights {
    padding: 6rem 0;
    background: #F9F9FB;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.highlight-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #f0f0f0;
}

.hl-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-brand-orange);
}

.highlight-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hl-main {
    font-weight: 600;
    color: var(--color-text-main);
    margin: 0 0 0.3rem;
}

.hl-sub {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin: 0;
}

/* The Route */
.section-route {
    padding: 6rem 0;
}

.route-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.map-placeholder {
    width: 100%;
    height: 600px;
    background: #EFEFEF;
    border-radius: 12px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('placeholders/map.jpg');
    background-size: cover;
}

.map-label {
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-size: 0.85rem;
    font-weight: 600;
}

.route-list-wrapper h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.route-list {
    list-style: none;
    padding: 0;
    margin: 0 0 3rem;
}

.route-list li {
    display: flex;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: var(--color-brand-dark);
}

.step-num {
    background: #FDF1E8;
    color: var(--color-brand-orange);
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 1rem;
}

.check {
    margin-left: auto;
    color: #ccc;
    font-size: 0.8rem;
}

.route-note {
    background: #FAFAFA;
    padding: 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Gallery */
.section-gallery {
    padding: 6rem 0;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item:nth-child(1) { grid-column: span 1; }
.gallery-item:nth-child(2) { grid-column: span 1; }
.gallery-item:nth-child(3) { grid-column: span 1; }
.gallery-item:nth-child(4) { grid-column: span 1; }
.gallery-item:nth-child(5) { grid-column: span 1; }
.gallery-item:nth-child(6) { grid-column: span 1; }

.hashtag-note {
    font-size: 0.85rem;
    color: var(--color-brand-orange);
    font-weight: 600;
    margin-top: 1rem;
    text-transform: uppercase;
}

/* Partners */
.section-partners {
    padding: 6rem 0;
    background: #fff;
    text-align: center;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.partner-card {
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}
.partner-initial {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ddd;
    margin-bottom: 0.5rem;
}
.partner-tier {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 0.5rem;
}

/* Footer CTA */
.section-cta-footer {
    background: linear-gradient(135deg, #d35400, #F26522);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-sub {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.cta-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-white {
    background: #fff;
    color: var(--color-brand-orange);
}
.btn-outline-white {
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
}

.footer-note {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Site Footer */
.site-footer {
    background: #fff;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.footer-col h4 { font-size: 0.95rem; text-transform: uppercase; margin-bottom: 1.5rem; color: #333; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }

.footer-copy {
    text-align: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 2rem;
}
.small { font-size: 0.75rem; color: #aaa; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .header-cta { display: none; }
    .hero-title { font-size: 3.5rem; }
    .values-grid, .highlights-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .route-layout, .mission-layout, .footer-grid { grid-template-columns: 1fr; }
    
    .main-navigation { 
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1D1D1F;
        padding: 2rem 0;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .main-navigation.active { display: block; }
    .main-navigation ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    .main-navigation a {
        font-size: 1.1rem;
        color: #fff;
    }

    .menu-toggle { 
        display: block; 
        width: 30px; 
        height: 24px; 
        position: relative; 
        background: none; 
        border: none; 
        cursor: pointer;
        z-index: 101;
    }
    .menu-toggle span { 
        display: block; 
        width: 100%; 
        height: 2px; 
        background: #fff; 
        position: absolute;
        transition: 0.3s;
    }
    .menu-toggle span:nth-child(1) { top: 0; }
    .menu-toggle span:nth-child(2) { top: 10px; }
    .menu-toggle span:nth-child(3) { top: 20px; }
}

@media (max-width: 768px) {
    .hero-section { height: auto; min-height: 100vh; padding-bottom: 4rem; }
    .hero-title { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.4rem; }
    
    .countdown-timer { gap: 1.5rem; }
    .time-block .number { font-size: 2rem; }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item {
        min-height: 250px;
    }
    
    .footer-grid { gap: 2rem; }
}

@media (max-width: 480px) {
    .container { width: calc(100% - 2rem); }
    
    .hero-title { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; margin-bottom: 2rem; }
    
    .hero-stats-row { 
        flex-direction: row; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 1rem;
    }
    .stat-item { flex: 0 0 auto; }
    
    .hero-actions { flex-direction: column; width: 100%; gap: 1rem; }
    .hero-actions .btn { width: 100%; }

    .countdown-timer { 
        padding: 1rem;
        background: rgba(0,0,0,0.3);
        border-radius: 8px;
        justify-content: space-around;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    .time-block { min-width: 60px; }
    .time-block .number { font-size: 1.5rem; }
    .time-block .label { font-size: 0.6rem; }
    
    .values-grid, .highlights-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    
    .cta-buttons { flex-direction: column; }
    .section-title { font-size: 2rem; }
}
