/**
 * Lake City Ultrabots Team 8041 - Our Journey Page Styles
 * Dark timeline design: connecting line, bigger photos, no white card boxes
 */

/* ========================================== */
/*      ACHIEVEMENTS SECTION                  */
/* ========================================== */
.achievements-section {
    width: 100%;
    padding: 72px 0 80px;
    position: relative;
    background-color: #111;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L0 31.8l12.98 7.5v6.35h-2v-5.2zM15 0v1.5l13 7.5 1.01-.59V0h-2v7.09L15 0zm0 49v-6.35l11-6.35 1 .58V49h-2v-5.35L15 49z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 28px 49px;
    box-sizing: border-box;
}

.achievements-section .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ===================================== */
/*  SECTION HEADER                       */
/* ===================================== */
.achievements-header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
    text-align: center;
    margin-bottom: 64px;
}

.header-text-content {
    flex-grow: 1;
    max-width: 650px;
    order: 2;
}

.header-text-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 0;
    letter-spacing: -0.3px;
}

.header-text-content p {
    color: rgba(255, 255, 255, 0.5);
    max-width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.05rem;
}

.header-flanking-logo {
    max-height: 80px;
    width: auto;
    max-width: 180px;
    flex-shrink: 0;
    object-fit: contain;
}

.header-logo-left { order: 1; }
.header-logo-right { order: 3; }

/* ===================================== */
/*  TIMELINE                             */
/* ===================================== */
.timeline-container {
    position: relative;
    max-width: 1050px;
    margin: 0 auto;
    padding-left: 52px;
}

/* Vertical connecting line */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        var(--primary, #cc0000) 0%,
        rgba(204, 0, 0, 0.45) 55%,
        rgba(204, 0, 0, 0.08) 100%
    );
}

/* ===================================== */
/*  YEAR ENTRIES                         */
/* ===================================== */
.timeline-year-entry {
    position: relative;
    padding-bottom: 64px;
    /* No white card — no background, border, or shadow */
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 0;
    overflow: visible;
}

.timeline-year-entry:last-child {
    padding-bottom: 0;
}

/* Thin separator between entries */
.timeline-year-entry + .timeline-year-entry::after {
    content: '';
    position: absolute;
    top: -32px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}

/* Circle dot on the timeline line */
.timeline-year-entry::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary, #cc0000);
    border: 2px solid #111;
    box-shadow: 0 0 0 3px rgba(204, 0, 0, 0.25);
    z-index: 1;
}

/* ===================================== */
/*  YEAR HEADER                          */
/* ===================================== */
.year-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 0;
    border-bottom: none;
}

.year-header h2 {
    font-size: 4.5rem;
    color: var(--primary, #cc0000);
    margin: 0;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -3px;
    min-width: 150px;
    flex-shrink: 0;
}

.game-logo-timeline {
    max-height: 100px;
    width: auto;
    max-width: 320px;
    object-fit: contain;
    border-radius: 6px;
}

/* ===================================== */
/*  YEAR CONTENT                         */
/* ===================================== */
.year-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 100%;
}

/* Robot photo — larger than before */
.year-image-container {
    flex: 0 0 440px;
    max-width: 440px;
    text-align: center;
}

.robot-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.year-image-container h4 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 500;
    margin: 0;
}

/* Event details */
.year-details-container {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
}

.event-item {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-left: 2px solid rgba(204, 0, 0, 0.6);
    border-radius: 0 6px 6px 0;
    padding: 14px 18px;
    margin-bottom: 14px;
    box-shadow: none;
}

.year-details-container .event-item:last-of-type {
    margin-bottom: 0;
}

.event-item h4 {
    color: white;
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-item ul.event-list {
    list-style: disc;
    padding-left: 18px;
    margin-bottom: 0;
}

.event-item li {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    line-height: 1.6;
}

.event-item li:last-child { margin-bottom: 0; }

.event-item li strong {
    font-weight: 700;
    color: var(--primary, #cc0000);
}

.event-item p.event-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.88rem;
    margin-top: 8px;
    margin-bottom: 0;
}

.season-note {
    font-style: italic;
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.92rem;
    margin-top: 16px;
    padding-left: 4px;
}

/* ===================================== */
/*  2026 UPCOMING ENTRY                  */
/* ===================================== */
.timeline-year-entry--upcoming::before {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
    border-color: #111;
}

.timeline-year-entry--upcoming .year-header h2 {
    color: rgba(255, 255, 255, 0.2);
}

.season-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.robot-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.robot-placeholder i {
    font-size: 3.5rem;
    color: rgba(204, 0, 0, 0.2);
}

.robot-placeholder span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.season-upcoming-note {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.92rem;
    line-height: 1.72;
    font-style: italic;
    margin: 0;
}

/* ===================================== */
/*  RESPONSIVE                           */
/* ===================================== */
@media (max-width: 1024px) {
    .year-image-container {
        flex: 0 0 360px;
        max-width: 360px;
    }

    .year-header h2 {
        font-size: 4rem;
        min-width: 130px;
    }
}

@media (max-width: 768px) {
    .achievements-section { padding: 52px 0 60px; }
    .achievements-header-flex { gap: 20px; margin-bottom: 48px; }
    .header-text-content h2 { font-size: 1.7rem; }
    .header-text-content p { font-size: 0.95rem; }
    .header-flanking-logo { max-height: 58px; max-width: 130px; }

    .timeline-container {
        padding-left: 36px;
    }
    .timeline-container::before {
        left: 10px;
    }
    .timeline-year-entry::before {
        left: -34px;
    }

    .year-header {
        gap: 16px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .year-header h2 {
        font-size: 3rem;
        min-width: 100px;
        letter-spacing: -2px;
    }
    .game-logo-timeline { max-height: 52px; max-width: 180px; }

    .year-content { flex-direction: column; gap: 24px; }
    .year-image-container { flex: none; max-width: 100%; width: 100%; }
    .year-details-container { width: 100%; padding-top: 0; }
}

@media (max-width: 576px) {
    .achievements-section { padding: 44px 0 52px; }

    .timeline-container { padding-left: 28px; }
    .timeline-container::before { left: 7px; }
    .timeline-year-entry::before {
        left: -27px;
        width: 14px;
        height: 14px;
        top: 18px;
    }
    .timeline-year-entry { padding-bottom: 48px; }
    .timeline-year-entry + .timeline-year-entry::after { top: -24px; }

    .year-header h2 { font-size: 2.5rem; min-width: 85px; }
    .game-logo-timeline { max-height: 44px; max-width: 150px; }

    .event-item { padding: 12px 14px; }
    .event-item h4 { font-size: 0.92rem; }
    .event-item li { font-size: 0.88rem; }
}
