@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&display=swap');

:root {
    --background: #ffffff;
    --text-primary: #171717;
    --text-secondary: #737373;
    --border: #e5e5e5;
}

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

body {
    background-color: var(--background);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

header {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.pill-container {
    position: relative;
    display: inline-flex;
    border-radius: 999px;
    padding: 0.5rem;
    background: linear-gradient(90deg, #F2DDDE, #89ABE3);
    overflow: hidden;
}

.nav-link {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color 0.3s ease;
    z-index: 1;
    font-weight: 500;
    white-space: nowrap; /* Prevents text like "Apple Music" from breaking */
}

.nav-link.active {
    color: var(--text-primary);
}

/* INDICATOR IS NOW MORE TRANSLUCENT */
.nav-indicator {
    position: absolute;
    height: calc(100% - 1rem);
    top: 0.5rem;
    background-color: rgba(255, 255, 255, 0.75); /* Increased transparency for a subtler effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 0;
    opacity: 0;
}

.fade-in {
    animation: fadeInAnimation 0.5s 0.2s ease-in-out forwards, slideUpAnimation 0.6s 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInAnimation {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpAnimation {
    from { transform: translateY(10px); }
    to { transform: translateY(0); }
}


.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero .subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    max-width: 90%;
}

.social-links-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.cv-page .cv-header {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.cv-page .cv-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cv-page .cv-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.cv-page .contact-info a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 0.5rem;
}
.cv-page .contact-info a:hover {
    color: var(--text-primary);
}


.timeline {
    margin-bottom: 3rem;
}

.timeline h2 {
    font-size: 1.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2.5rem;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: #d4d4d4;
    border-radius: 50%;
}
.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    left: 4px;
    top: 20px;
    width: 2px;
    height: calc(100% - 10px);
    background-color: var(--border);
}

.timeline-item h3 {
    font-size: 1.25rem;
    font-weight: 500;
}

.timeline-item .sub-info {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-item ul {
    list-style-type: none;
    padding-left: 0;
}

.timeline-item ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.timeline-item ul li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--text-secondary);
}

.timeline-item p {
    color: var(--text-secondary);
}

/* FIXED: RESPONSIVE STYLES FOR SOCIAL LINKS */
@media (max-width: 480px) {
    .social-links.pill-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}

@media print {
    body {
        background-color: #fff;
        color: #000;
        font-size: 10pt;
    }

    header, .social-links-container {
        display: none;
    }

    .container {
        padding: 0;
        max-width: 100%;
    }

    .cv-page .cv-header {
        text-align: left;
        border-bottom: 2px solid #000;
    }

     .cv-page .contact-info a {
        color: #000;
        text-decoration: none;
    }

    .timeline h2 {
         border-bottom: 2px solid #000;
    }

    .timeline-item:before, .timeline-item:after {
        display: none;
    }
     .timeline-item {
        padding-left: 0;
    }
}