/* ================================
   CSS Variables & Reset
   ================================ */
:root {
    --primary-color: #5300e3;
    --secondary-color: #b07ee0;
    --accent-color: #ceb4e8;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition-fast: 150ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'Space Mono', 'Courier New', Courier, monospace;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-primary);
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: Futura, 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.hero-title {
    font-family: Futura, 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ================================
   Utilities
   ================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    font-family: Futura, 'Century Gothic', 'Trebuchet MS', Arial, sans-serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.375rem;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-base);
}

/* ================================
   Hero Section
   ================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    opacity: 0.05;
    z-index: -1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-image {
    margin-bottom: 2rem;
}

.profile-photo {
    width: 262px;
    height: 375px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
    transition: all var(--transition-base);
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-text {
    max-width: 800px;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.5;
    }
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ================================
   Experience Section (Timeline)
   ================================ */
.experience {
    padding: 6rem 0;
    background: var(--bg-primary);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

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

.timeline-marker {
    position: absolute;
    left: 12px;
    top: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.timeline-content:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-header h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.timeline-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ================================
   Education Section
   ================================ */
.education {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.education-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.education-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.education-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.education-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.education-subject {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.education-institution {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.education-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ================================
   Skills Section
   ================================ */
.skills {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.skill-category {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.skill-category.animate {
    opacity: 1;
    transform: translateY(0);
}

.skill-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.skill-category h3 svg {
    flex-shrink: 0;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-tag {
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.skill-tag:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   Publications & Awards Section
   ================================ */
.publications {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.publication-card,
.award-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(30px);
}

.publication-card.animate,
.award-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.publication-card:hover,
.award-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.publication-icon,
.award-icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.publication-card h3,
.award-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.publication-title,
.award-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.publication-journal {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* ================================
   Recordings & Performances Section
   ================================ */
.recordings {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.recordings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.recordings-centered {
    max-width: 600px;
    margin: 0 auto;
}

.recordings-column {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.recordings-column.animate {
    opacity: 1;
    transform: translateY(0);
}

.recordings-subtitle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--primary-color);
}

.recordings-subtitle:first-child {
    margin-top: 0;
}

.recordings-subtitle svg {
    flex-shrink: 0;
}

.recordings-list,
.performances-list {
    list-style: none;
    padding: 0;
}

.recordings-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
    transition: all var(--transition-base);
}

.recordings-list li:hover {
    padding-left: 0.5rem;
}

.recordings-list li:last-child {
    border-bottom: none;
}

.recordings-list li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    display: block;
}

.recordings-list li a:hover {
    color: var(--primary-color);
}

.recordings-list li strong {
    color: var(--text-primary);
}

.performances-list li {
    margin-bottom: 0.75rem;
    transition: all var(--transition-base);
}

.performance-link {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all var(--transition-base);
}

.performance-link:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.performance-date {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.performance-venue {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* ================================
   Contact Section
   ================================ */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.contact-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ================================
   Footer
   ================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

/* ================================
   Responsive Design
   ================================ */
@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: left var(--transition-base);
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1.5rem;
    }

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

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

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

    .timeline-item {
        padding-left: 45px;
    }

    .timeline-marker {
        left: 4px;
        width: 14px;
        height: 14px;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .social-links {
        justify-content: center;
    }
    
    .profile-photo {
        width: 210px;
        height: 300px;
    }
    
    .education-grid,
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* ================================
   Print Styles
   ================================ */
@media print {
    .navbar,
    .hamburger,
    .scroll-indicator,
    .footer {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    section {
        page-break-inside: avoid;
        padding: 2rem 0;
    }
}

