/* Custom Styles for Laurent Mangone Portfolio */

body {
    background-color: #fafafa;
    color: #1a1a1a;
    font-family: "Plus Jakarta Sans", sans-serif;
}

/* Navigation */
.glass-nav {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Hero Background Pattern */
.hero-pattern {
    background-color: #ffffff;
    background-image:
        radial-gradient(#0c8ee0 0.5px, transparent 0.5px),
        radial-gradient(#0c8ee0 0.5px, #ffffff 0.5px);
    background-size: 20px 20px;
    background-position:
        0 0,
        10px 10px;
    opacity: 0.03;
}

/* Section Cards */
.section-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.section-card:hover {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Timeline Components */
.timeline-dot {
    position: relative;
}

.timeline-dot::before {
    content: "";
    position: absolute;
    left: -33px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0c8ee0;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #0c8ee0;
    z-index: 10;
}

.timeline-line {
    position: relative;
}

.timeline-line::after {
    content: "";
    position: absolute;
    left: -28px;
    top: 10px;
    bottom: -40px;
    width: 2px;
    background: #e5e7eb;
    z-index: 5;
}

.last-item::after {
    display: none;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Utilities */
.text-gradient {
    background: linear-gradient(135deg, #0c8ee0 0%, #0671bd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Dark Mode Overrides */
.dark body {
    background-color: #020617;
    color: #f1f5f9;
}

.dark .glass-nav {
    background: rgba(2, 6, 23, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dark .section-card {
    background: #0f172a;
    border-color: rgba(255, 255, 255, 0.05);
}

.dark .hero-pattern {
    background-color: #020617;
    background-image:
        radial-gradient(#36aaf4 0.5px, transparent 0.5px),
        radial-gradient(#36aaf4 0.5px, #020617 0.5px);
    opacity: 0.05;
}

.dark .text-slate-900 {
    color: #f8fafc;
}

.dark .text-slate-800 {
    color: #f1f5f9;
}

.dark .text-slate-600 {
    color: #cbd5e1;
}

.dark .text-slate-500 {
    color: #94a3b8;
}

.dark .text-slate-400 {
    color: #64748b;
}

.dark .bg-slate-100 {
    background-color: #1e293b;
}

.dark .bg-slate-50 {
    background-color: #1e293b;
}

.dark .bg-white {
    background-color: #0f172a;
}

.dark .text-primary-900 {
    color: #bae0fd;
}

.dark .text-primary-800 {
    color: #7cc7fb;
}

.dark .text-primary-700 {
    color: #36aaf4;
}

.dark .bg-primary-50 {
    background-color: rgba(12, 142, 224, 0.15);
}
