:root {
    --journey-bg-light: url('/assets/img/journey/bglight.webp');
    --journey-bg-dark: url('/assets/img/journey/bgdark.webp');
}

.journey-header-hero {
    position: relative;
    width: 100%;
    padding: 6rem 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: flex-end;
    background-color: var(--surface);
}

.journey-header-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: var(--journey-bg-light);
    background-size: cover;
    background-position: center;
    z-index: 0;
    opacity: 0.8;
}

html[data-theme="dark"] .journey-header-hero::before {
    background-image: var(--journey-bg-dark);
    opacity: 0.6;
}

.journey-header-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-bottom: 4rem;
}

.journey-text-side h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--on-surface);
}

.journey-text-side p {
    font-size: 1.25rem;
    color: var(--on-surface);
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.6;
}

.journey-captain-side {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
    margin-bottom: -1px;
    position: absolute;
    right: 0;
    bottom: 0;
}

.journey-captain-img {
    max-height: 350px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
    display: block;
}

.vision-section {
    padding: 6rem 0;
    background-color: var(--surface);
}

.vision-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.vision-image {
    display: flex;
    justify-content: flex-end;
}

.vision-image img {
    width: 60%;
    height: auto;
    border-radius: 24px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
}

.vision-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--on-surface);
}

.vision-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--on-surface-muted);
    margin-bottom: 1.5rem;
}

.vision-highlight {
    background-color: var(--surface-container);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.vision-highlight p {
    margin: 0;
    font-weight: 500;
    color: var(--on-surface);
    font-size: 1.05rem;
}

.timeline-section {
    padding: 6rem 0;
    background-color: var(--surface-container);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--on-surface-muted);
    font-size: 1.15rem;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 4rem;
    z-index: 1;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 52px;
    height: 52px;
    background-color: var(--surface);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 0 0 8px var(--surface-container);
}

.step-content {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.step-content:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.step-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--on-surface);
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-desc {
    color: var(--on-surface-muted);
    line-height: 1.7;
    margin: 0;
}

.cta-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}

.cta-bar h2 {
    color: #fff;
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.cta-bar p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-white {
    background: #fff;
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

@media (max-width: 900px) {
    .journey-header-hero {
        padding-bottom: 2rem;
    }
    .journey-header-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-bottom: 0;
        display: block;
    }
    .journey-captain-side {
        display: none;
    }
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .vision-image {
        justify-content: center;
        order: -1;
    }
    .vision-image img {
        width: 100%;
        max-width: 400px;
    }
    .timeline-line {
        left: 20px;
    }
    .step-marker {
        left: 0;
        width: 44px;
        height: 44px;
    }
    .timeline-step {
        padding-left: 60px;
    }
}

@media (max-width: 900px) {
    .vision-image {
        text-align: center;
        margin-bottom: 2rem;
    }

    .vision-image img {
        max-width: 280px;
        width: 100%;
        height: auto;
        display: inline-block;
    }
}