/* ==============================
INDEX PAGE STYLES - EDITORIAL MAGAZINE DESIGN
============================== */

/* ==============================
 HERO SECTION
============================== */
.hero {
    min-height: 95vh;
    position: relative;
    padding: 8rem 4rem 6rem;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr auto;
    gap: 2.5rem;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(121, 44, 77, 0.12) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Hero content */
.hero-content {
    grid-column: 1 / 7;
    grid-row: 1;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.75;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    font-weight: 400;
}

.hero-title-line {
    display: block;
    font-size: clamp(4rem, 9vw, 10rem);
}

.hero-title-accent {
    color: var(--red-light);
    font-size: clamp(4rem, 9vw, 11rem);
    font-weight: 400;
    text-shadow: 0 6px 20px rgba(121, 44, 77, 0.4);
}

/* Main hero image */
.hero-image-main {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    position: relative;
    z-index: 1;
    height: 75vh;
    overflow: hidden;
    border-radius: 16px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(1, 74, 89, 0.2);
}

.hero-image-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 20, 30, 0.8) 0%, transparent 40%);
    z-index: 1;
    pointer-events: none;
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.08) brightness(0.9);
}


/* ==============================
 STATS STRIP
============================== */
.stats-strip {
    grid-column: 1 / 7;
    grid-row: 2;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    align-self: end;
}

.stats-strip-inner {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.stats-strip-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red-light);
    opacity: 0.95;
    white-space: nowrap;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    flex-shrink: 0;
}

.stats-strip-items {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.stats-strip-stat {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stats-strip-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    line-height: 0.88;
    letter-spacing: 0.04em;
    color: var(--text-primary);
    font-weight: 400;
}

.stats-strip-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-faint);
    line-height: 1.5;
}

/* ==============================
 CONTENT SECTIONS - MAGAZINE LAYOUT
============================== */
.section {
    padding: 8rem 4rem;
    position: relative;
}

.section-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 6rem;
    align-items: start;
}

.section-header {
    position: sticky;
    top: 8rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem;
    line-height: 1;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.08);
    position: relative;
    font-weight: 400;
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.5rem;
    line-height: 0.88;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    font-weight: 400;
}

.section-title-link {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    transition: color 0.3s ease;
}

.section-title-link:hover {
    color: var(--red-light);
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-content p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-muted);
    max-width: 70ch;
    font-weight: 300;
}

.section-link {
    display: inline-flex;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    background: var(--red-light);
    border: none;
    border-radius: 4px;
    transition: background 0.25s ease;
    width: fit-content;
}

.section-link:hover {
    background: var(--red-dark);
    color: var(--text-primary);
}

.section-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #0d1f2d;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.section-gallery-left {
    overflow: hidden;
    min-height: 0;
}

.section-gallery-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) brightness(0.95);
}

.section-gallery-right {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 3px;
    height: 100%;
    min-height: 0;
}

.section-gallery-right-top,
.section-gallery-right-bottom {
    overflow: hidden;
    min-height: 0;
}

.section-gallery-right-top img,
.section-gallery-right-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.05) brightness(0.95);
}

.section-gallery--reversed .section-gallery-right {
    order: -1;
}

.section-gallery--reversed .section-gallery-left {
    order: 1;
}

/* ==============================
 SPONSORS SECTION
============================== */

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-top: 3rem;
}

.sponsor-item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 1;
    background: #ffffff;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    overflow: hidden;
    position: relative;
}

.sponsor-logo--dark {
    background: #000000;
}

.sponsor-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.sponsor-logo img {
    max-width: 85%;
    max-height: 65%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    transform: scale(1.15);
}

.sponsor-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    text-align: center;
    line-height: 1.5;
}

.sponsor-logo-empty {
    opacity: 0.4;
    cursor: default;
}

.sponsor-logo-empty:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.sponsor-logo-empty::before {
    display: none;
}

.sponsor-placeholder {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-faint);
    position: relative;
    z-index: 1;
}

/* ==============================
 RESPONSIVE
============================== */
@media (max-width: 1400px) {
    .hero {
        padding: 6rem 3rem 3rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 5rem 2rem 4rem;
        gap: 2rem;
    }

    .hero-title-line {
        font-size: clamp(4rem, 9vw, 8rem);
    }

    .hero-title-accent {
        font-size: clamp(4rem, 9vw, 8.5rem);
    }

    .section {
        padding: 6rem 2rem;
    }

    .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-header {
        position: static;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 5rem 1.5rem 3rem;
        gap: 2rem;
        align-items: start;
    }

    .hero-content {
        grid-column: 1;
        grid-row: 1;
    }

    .hero-title-line {
        font-size: clamp(3.5rem, 12vw, 7rem);
    }

    .hero-title-accent {
        font-size: clamp(3.5rem, 12vw, 7.5rem);
    }

    .hero-image-main {
        grid-column: 1;
        grid-row: 2;
        height: 55vh;
    }

    .hero-image-caption {
        font-size: 0.6rem;
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-container {
        gap: 2rem;
    }

    .section-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-content p {
        font-size: 1rem;
    }

    .section-gallery {
        aspect-ratio: 4 / 3;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stats-strip {
        grid-column: 1;
        grid-row: 3;
        padding: 2rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        margin: 0 -1.5rem;
    }

    .stats-strip-inner {
        gap: 2rem;
    }

    .stats-strip-items {
        gap: 2.5rem;
    }

    .stats-strip-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 4.5rem 1.5rem 2.5rem;
        gap: 1.5rem;
    }

    .hero-title-line {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .hero-title-accent {
        font-size: clamp(2.8rem, 14vw, 4.5rem);
    }

    .hero-image-main {
        height: 45vh;
    }

    .section-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

    .stats-strip-eyebrow {
        display: none;
    }

    .stats-strip-items {
        gap: 1.5rem;
    }

    .stats-strip-number {
        font-size: 2.5rem;
    }

    .stats-strip-label {
        font-size: 0.6rem;
    }
}
