:root {
    --primary-color: #b32d2e;
    /* Deep Labor Red */
    --primary-hover: #fa4a4c;
    --dark-bg: #0a0a0b;
    /* Professional Deep Black */
    --card-bg: #161618;
    --accent-color: #f59e0b;
    /* Amber/Gold */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --container-width: 1100px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--dark-bg);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--dark-bg);
}

h1,
h2,
h3 {
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: -1px;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1.5rem auto 0;
}

.text-left.section-title::after {
    margin-left: 0;
}

/* Header & Nav */
#main-header {
    background: rgba(10, 10, 11, 0.85);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 3px;
    color: white;
}

.logo .last-name {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 3rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    color: var(--text-muted);
}

.nav-links a:hover {
    color: white;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: #000;
    background-image: radial-gradient(circle at 50% 50%, rgba(10, 10, 11, 0.7) 0%, #0a0a0b 100%), url('hero_dark.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--primary-color);
    filter: blur(150px);
    opacity: 0.05;
    top: -10%;
    right: -10%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    letter-spacing: -2px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 400;
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(120deg, var(--primary-color) 0%, #e11d48 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.1rem 2.8rem;
    border-radius: 2px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    border: none;
    text-align: center;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(179, 45, 46, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(179, 45, 46, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 1.5rem;
}

.btn-secondary:hover {
    border-color: white;
    background-color: white;
    color: var(--dark-bg);
    transform: translateY(-3px);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.metric-card {
    background: #161618;
    padding: 3rem 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    text-align: center;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.metric-value {
    display: block;
    font-size: 3.5rem;
    font-family: 'Merriweather', serif;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.metric-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0;
}

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

.timeline-item {
    margin-bottom: 4rem;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(179, 45, 46, 0.2);
}

.timeline-content {
    width: 42%;
    background: #161618;
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.timeline-date {
    display: block;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: white;
}

.timeline-content h4 {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 400;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* About Section */
.bg-light {
    background-color: #0e0e10;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.profile-photo {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    filter: grayscale(15%) brightness(95%);
    transition: var(--transition);
    display: block;
    margin-left: auto;
}

.profile-photo:hover {
    filter: none;
    transform: scale(1.02);
    box-shadow: 0 10px 40px rgba(179, 45, 46, 0.15);
}

/* Contact */
.contact-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form {
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

input,
textarea {
    width: 100%;
    padding: 1.2rem;
    background: #161618;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    transition: var(--transition);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #1c1c1e;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--dark-bg);
    color: var(--text-muted);
    padding: 4rem 0;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in-delay {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
    opacity: 0;
}

.fade-in-delay-2 {
    animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

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

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

    .timeline-item {
        justify-content: flex-start !important;
        padding-left: 50px;
        margin-bottom: 2rem;
    }

    .timeline-item::after {
        left: 20px;
    }

    .timeline-content {
        width: 100%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 5rem 0;
    }
}