@import url("main.css");

.container-time {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-journey {
    position: relative;
    margin: 4rem 0 0 0;
    padding: 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(135deg, #1a1a1a, #101010);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imagens/user/journey.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    text-align: start;
    align-items: start;
    padding: 1rem;
    gap: 1.5rem;
    animation: fadeIn 1.5s ease-out;
    z-index: 3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-family: var(--font-headings);
    font-size: var(--biggest-font-size);
    margin-bottom: var(--mb-3);
    color: var(--light);
}

.hero-content p {
    font-size: 0.875rem;
    letter-spacing: 0.25em;
    margin-bottom: 15px;
    font-weight: 400;
    color: var(--first-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.journey-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-family: var(--font-headings);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--accent-gold);
    opacity: 0.3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: -1;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-gold);
    top: 35px;
    border-radius: 50%;
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-item:hover::after {
    background-color: var(--accent-gold);
    box-shadow: 0 0 15px var(--glow-color);
}

.timeline-content {
    padding: 2rem;
    background: var(--card-bg);
    backdrop-filter: blur(5px);
    position: relative;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: var(--transition);
    border-image: linear-gradient(to bottom right, rgba(201, 164, 97, 0.3), rgba(201, 164, 97, 0.1)) 1;
}

.timeline-item:hover .timeline-content {
    border-image: linear-gradient(to bottom right, var(--accent-gold), var(--glow-color)) 1;
    box-shadow: 0 0 30px var(--glow-color);
    transform: scale(1.02);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.timeline-header .icon {
    color: var(--accent-gold);
}

.timeline-header h3 {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 600;
}

.timeline-date {
    font-family: 'IBM Plex Mono', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.timeline-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::after {
        left: 12px;
    }
}
