/* Journey Page - Elegant & Modern */

/* Journey Hero - Cinematic Opening */
.journey-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

/* Animated Background */
.journey-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    overflow: hidden;
}

.journey-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, transparent 0%, #000 70%),
                linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
                linear-gradient(-45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    animation: bgMove 20s linear infinite;
}

@keyframes bgMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hero Content */
.journey-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 40px;
}

.journey-hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.journey-hero-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 0.9;
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: -5px;
    animation: fadeInUp 1s ease 0.2s both;
}

.journey-hero-title span {
    display: block;
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: 20px;
    opacity: 0.8;
}

.journey-hero-text {
    font-size: 20px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 50px;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.6s both;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 auto 10px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--white);
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(60px); }
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    display: block;
}

/* Timeline Section */
.timeline-section {
    background: #000;
    padding: 120px 0;
    position: relative;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-size: 60px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 0 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    padding: 60px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 80px;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 80px;
}

/* Year badge — star on the timeline (cinema / milestone motif) */
@keyframes year-star-glow {
    0%, 100% {
        filter:
            drop-shadow(0 0 6px rgba(212, 175, 55, 0.95))
            drop-shadow(0 0 18px rgba(212, 175, 55, 0.55))
            drop-shadow(0 0 36px rgba(212, 175, 55, 0.28));
    }
    50% {
        filter:
            drop-shadow(0 0 10px rgba(255, 215, 120, 1))
            drop-shadow(0 0 26px rgba(212, 175, 55, 0.7))
            drop-shadow(0 0 48px rgba(212, 175, 55, 0.4));
    }
}

.year-badge {
    --star-gold: #d4af37;
    --star-gold-deep: #8a7020;
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    border: none;
    border-radius: 0;
    background: linear-gradient(
        160deg,
        rgba(255, 248, 220, 0.95) 0%,
        var(--star-gold) 28%,
        var(--star-gold-deep) 55%,
        #1a1508 100%
    );
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    animation: year-star-glow 3.2s ease-in-out infinite;
    transition: transform 0.35s ease;
}

.year-badge:hover {
    transform: translateX(-50%) scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .year-badge {
        animation: none;
        filter:
            drop-shadow(0 0 8px rgba(212, 175, 55, 0.85))
            drop-shadow(0 0 22px rgba(212, 175, 55, 0.45));
    }

    .year-badge:hover {
        transform: translateX(-50%);
    }
}

/* Era badge — pill shape for year ranges (visual hierarchy: star = moment, pill = era) */
@keyframes era-badge-glow {
    0%, 100% {
        box-shadow:
            0 0 8px rgba(212, 175, 55, 0.4),
            0 0 20px rgba(212, 175, 55, 0.15);
    }
    50% {
        box-shadow:
            0 0 12px rgba(212, 175, 55, 0.55),
            0 0 28px rgba(212, 175, 55, 0.25);
    }
}

.year-badge-era {
    clip-path: none;
    border-radius: 28px;
    width: auto;
    min-width: 100px;
    height: 48px;
    padding: 0 20px;
    background: linear-gradient(
        135deg,
        #c5a45d 0%,
        #a08030 100%
    );
    border: 1px solid rgba(255, 225, 130, 0.5);
    backdrop-filter: none;
    animation: era-badge-glow 3.5s ease-in-out infinite;
    filter: none;
}

.year-badge-era:hover {
    transform: translateX(-50%) scale(1.04);
    border-color: rgba(212, 175, 55, 0.6);
}

.year-badge-era span {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.3px;
    text-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
    .year-badge-era {
        animation: none;
        box-shadow:
            0 0 10px rgba(212, 175, 55, 0.35),
            0 0 22px rgba(212, 175, 55, 0.15);
    }
}

/* Supplementary note within existing milestones */
.timeline-note {
    display: block;
    font-size: 13px;
    font-style: italic;
    color: rgba(212, 175, 55, 0.65);
    margin-top: 8px;
    padding-left: 14px;
    border-left: 2px solid rgba(212, 175, 55, 0.25);
    line-height: 1.6;
}

.year-badge span {
    position: relative;
    z-index: 1;
    font-size: 15px;
    font-weight: 800;
    color: #0a0906;
    letter-spacing: -0.5px;
    line-height: 1;
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.45),
        0 1px 0 rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

/* Timeline Content */
.timeline-content h3 {
    font-size: 32px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.timeline-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.timeline-stats {
    display: flex;
    gap: 30px;
}

.timeline-item:nth-child(odd) .timeline-stats {
    justify-content: flex-end;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Milestone Image — opposite side of text */
.timeline-item.has-image {
    min-height: 400px;
}

.timeline-image {
    position: absolute;
    top: 60px;
    width: calc(50% - 80px);
    height: 280px;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
}

/* Odd items: text is LEFT → image goes RIGHT */
.timeline-item:nth-child(odd) .timeline-image {
    left: calc(50% + 80px);
}

/* Even items: text is RIGHT → image goes LEFT */
.timeline-item:nth-child(even) .timeline-image {
    left: 0;
}

.timeline-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s ease;
}

.timeline-item:hover .timeline-image img {
    transform: scale(1.05);
}

/* Achievements Section */
.achievements-section {
    background: linear-gradient(180deg, #000 0%, #111 100%);
    padding: 120px 0;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.achievement-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.achievement-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon::before {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(255, 255, 255, 0.1);
}

.achievement-icon i {
    font-size: 40px;
    color: var(--white);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: -2px;
}

.achievement-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Vision Section */
.vision-section {
    background: #000;
    padding: 120px 0;
    text-align: center;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.vision-title {
    font-size: 72px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: -3px;
    line-height: 1.1;
}

.vision-text {
    font-size: 24px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
}

.vision-cta {
    display: inline-block;
    padding: 20px 60px;
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--white);
    transition: left 0.3s ease;
    z-index: -1;
}

.vision-cta:hover {
    color: #000;
}

.vision-cta:hover::before {
    left: 0;
}

/* Journey Quote */
.journey-quote {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0 auto 60px;
    max-width: 700px;
    position: relative;
    padding: 0;
    border: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .journey-hero-title {
        font-size: 80px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        padding: 0 0 0 120px;
        text-align: left;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .year-badge {
        left: 60px;
    }

    .year-badge-era {
        left: 60px;
        min-width: 90px;
        height: 42px;
        padding: 0 16px;
    }
    
    .timeline-item.has-image {
        min-height: auto;
        padding-bottom: 20px;
    }

    .timeline-image {
        position: relative;
        top: auto;
        width: auto;
        margin: 20px 0 0 120px;
        height: 240px;
    }

    .timeline-item:nth-child(odd) .timeline-image,
    .timeline-item:nth-child(even) .timeline-image {
        left: auto;
    }
    
    .timeline-stats {
        justify-content: flex-start !important;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .journey-hero-title {
        font-size: 60px;
    }
    
    .journey-hero-title span {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .timeline {
        padding: 0 20px;
    }
    
    .timeline-content h3 {
        font-size: 24px;
    }

    .year-badge {
        width: 100px;
        height: 100px;
        top: 56px;
    }

    .year-badge span {
        font-size: 13px;
    }

    .year-badge-era {
        width: auto;
        min-width: 80px;
        height: 38px;
        padding: 0 14px;
    }

    .year-badge-era span {
        font-size: 11px;
    }

    .timeline-note {
        font-size: 12px;
    }

    .timeline-image {
        margin-left: 80px;
        height: 200px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .vision-title {
        font-size: 48px;
    }
    
    .vision-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .year-badge {
        width: 88px;
        height: 88px;
        top: 52px;
    }

    .year-badge span {
        font-size: 11px;
        letter-spacing: -0.8px;
    }

    .timeline-image {
        margin-left: 60px;
        margin-right: 10px;
        height: 180px;
    }
}