/* ==========================================================================
   JOURNEY (Parcours) — Page-Specific Styles
   ========================================================================== */

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 50px 100px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(102, 126, 234, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(118, 75, 162, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards 0.5s;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 8vw, 90px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards 0.7s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Experience Section */
.experience {
    padding: 100px 50px 150px;
    background: var(--white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}







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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 60px;
    padding-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: left;
    padding-left: 60px;
}

.timeline-content {
    width: 50%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 1;
}

.timeline-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.timeline-date {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
}

.timeline-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.timeline-company {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
}

.timeline-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Education Section */
.education {
    padding: 150px 50px;
    background: var(--gray-50);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.edu-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.edu-card:hover::before {
    transform: scaleX(1);
}

.edu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.edu-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: var(--white);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.edu-period {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 15px;
}

.edu-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.edu-institution {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 20px;
}

.edu-card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray-600);
}

/* Skills Section */
.skills {
    padding: 150px 50px;
    background: #171717;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.15) 0%, transparent 50%);
}

.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skills-header {
    text-align: center;
    margin-bottom: 80px;
}

.skills-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.skills-header p {
    font-size: 18px;
    color: var(--gray-400);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s ease;
}

.skill-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
}

.skill-icon {
    font-size: 40px;
    margin-bottom: 25px;
}

.skill-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 100px;
    font-size: 13px;
    color: var(--gray-300);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* Certifications */
.certifications {
    padding: 150px 50px;
    background: var(--white);
}

.cert-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 60px;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-900);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent);
}

.cert-badge .icon {
    font-size: 20px;
}

/* CTA Section */
.cta {
    padding: 150px 50px;
    background: var(--gray-50);
}

.cta-container,
.cta .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta .cta-content {
    text-align: center;
}

.cta h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: #171717;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-900);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-900);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Reveal Animations */




/* Dark Mode Overrides */
[data-theme="dark"] body {
    background: #0a0a0a;
    color: #fafafa;
}

[data-theme="dark"] .hero-badge {
    background: #1f1f1f;
    color: #d4d4d4;
}

[data-theme="dark"] .experience {
    background: #0a0a0a;
}

[data-theme="dark"] .timeline-card {
    background: #141414;
    border-color: #2e2e2e;
}

[data-theme="dark"] .timeline-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
}

[data-theme="dark"] .timeline-date {
    background: #1f1f1f;
}

[data-theme="dark"] .timeline-card h3 {
    color: #fafafa;
}

[data-theme="dark"] .timeline-card p {
    color: #d4d4d4;
}

[data-theme="dark"] .timeline-dot {
    background: #0a0a0a;
}

[data-theme="dark"] .education {
    background: #0f0f0f;
}

[data-theme="dark"] .edu-card {
    background: #141414;
    border-color: #2e2e2e;
}

[data-theme="dark"] .edu-card:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .edu-card h3 {
    color: #fafafa;
}

[data-theme="dark"] .edu-card p {
    color: #d4d4d4;
}

[data-theme="dark"] .certifications {
    background: #0a0a0a;
}

[data-theme="dark"] .cert-badge {
    background: #141414;
    border-color: #2e2e2e;
    color: #fafafa;
}

[data-theme="dark"] .cert-badge:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #3b82f6;
}

[data-theme="dark"] .cta {
    background: #0f0f0f;
}

[data-theme="dark"] .cta h2 {
    color: #fafafa;
}

[data-theme="dark"] .cta p {
    color: #d4d4d4;
}

[data-theme="dark"] .btn-primary {
    background: #fafafa;
    color: #0a0a0a;
}

[data-theme="dark"] .btn-secondary {
    color: #fafafa;
    border-color: rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .btn-secondary:hover {
    border-color: #fafafa;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .education-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        text-align: left;
        padding: 0;
    }

    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,

    .nav-menu.active {
        right: 0;
    }

    .hero {
        padding: 120px 20px 80px;
        min-height: 50vh;
    }

    .experience {
        padding: 80px 20px;
    }

    .education {
        padding: 80px 20px;
    }

    .skills {
        padding: 80px 20px;
    }

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

    .certifications {
        padding: 80px 20px;
    }

    .cta {
        padding: 80px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}
