/* Root Variables */
:root {
    --primary-peach: #FFEBE7;
    --light-peach: #FFF2EE;
    --soft-peach: #FFEDE8;
    --medium-peach: #FFE0D6;
    --dark-peach: #FFD4C4;
    --text-dark: #2C2C2C;
    --text-medium: #4A4A4A;
    --text-light: #6B6B6B;
    --accent-coral: #FF7A6B;
    --accent-mint: #66BB6A;
    --background-light: #FEFEFE;
    --background-dark: #1A1A1A;
    --shadow-soft: rgba(255, 180, 171, 0.12);
    --shadow-medium: rgba(255, 180, 171, 0.18);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--light-peach);
    min-height: 100vh;
}

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

.section {
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    color: var(--text-medium);
    font-weight: 400;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 245, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 2px solid var(--medium-peach);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

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

.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-coral);
    background: var(--soft-peach);
    transform: translateY(-2px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--medium-peach);
    transition: var(--transition);
    border-radius: var(--border-radius);
    z-index: -1;
}

.nav-link:hover::before {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Home Section */
.home-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-peach);
}

.home-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.profile-image {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    width: 300px;
    height: 300px;
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.2);
    transition: var(--transition);
}

.profile-image:hover img {
    transform: scale(1.25);
}

.image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--medium-peach);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.glitch {
    position: relative;
    color: var(--text-dark);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: var(--accent-coral);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: var(--accent-mint);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
}

.subtitle {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-coral);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.university-name {
    color: #E85A4B;
    font-weight: 700;
    font-size: 1.625rem;
}

.bio {
    margin-bottom: 2rem;
}

.bio p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-medium);
    background: var(--background-light);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid var(--soft-peach);
    box-shadow: 0 4px 20px var(--shadow-soft);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--medium-peach);
    color: var(--accent-coral);
}

.social-link i {
    font-size: 1.2rem;
}

/* Portfolio Section */
.portfolio-section {
    background: var(--background-light);
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.subsection {
    margin-bottom: 4rem;
}

.subsection-title {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    border-bottom: 3px solid var(--medium-peach);
    padding-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.subsection-title i {
    color: var(--accent-coral);
    font-size: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

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

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

.timeline-marker {
    position: absolute;
    left: -8px;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--accent-coral);
    border-radius: 50%;
    border: 3px solid var(--background-light);
    box-shadow: 0 2px 10px var(--shadow-medium);
}

.timeline-content {
    background: var(--light-peach);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.timeline-content h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.company,
.research-lab {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-coral);
    font-weight: 600;
    margin-bottom: 0.25rem;
    letter-spacing: -0.005em;
}

.duration,
.research-duration {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.description,
.research-description {
    font-family: 'Inter', sans-serif;
    color: var(--text-medium);
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--light-peach);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition);
    border: 2px solid transparent;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px var(--shadow-medium);
    border-color: var(--medium-peach);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Update project header for research items */
.research-item .project-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}

.research-item .project-header h4 {
    margin: 0;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    color: var(--text-medium);
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-links a:hover {
    color: var(--accent-coral);
    transform: scale(1.2);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    background: var(--medium-peach);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Research Items */
.research-items {
    display: grid;
    gap: 2rem;
}

.research-item {
    background: var(--light-peach);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition);
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.research-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.research-tag {
    background: var(--accent-mint);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Books Section */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.book-item {
    background: var(--light-peach);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 2px solid transparent;
}

.book-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
    border-color: var(--medium-peach);
    background: var(--soft-peach);
}

.book-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    line-height: 1.3;
}

.book-author {
    font-family: 'Inter', sans-serif;
    color: var(--accent-coral);
    font-style: italic;
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Personal Section */
.personal-section {
    background: var(--light-peach);
    padding: 100px 0;
}

.personal-content {
    display: grid;
    gap: 3rem;
}

.personal-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px var(--shadow-soft);
    transition: var(--transition);
}

.personal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-medium);
}

.personal-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--medium-peach);
    padding-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.personal-card h3 i {
    color: var(--accent-coral);
}

.podcast-list {
    display: grid;
    gap: 1.5rem;
}

.podcast-item {
    padding: 1rem;
    background: var(--light-peach);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.podcast-item:hover {
    background: var(--soft-peach);
    transform: translateX(10px);
}

.podcast-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--accent-coral);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.podcast-item p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.interest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--light-peach);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.interest-item:hover {
    background: var(--medium-peach);
    transform: scale(1.05);
}

.interest-item i {
    color: var(--accent-coral);
    font-size: 2rem;
}

.interest-item span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
}

.quote {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    background: var(--light-peach);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-coral);
    position: relative;
    font-weight: 400;
}

.quote cite {
    font-family: 'Space Grotesk', sans-serif;
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-coral);
    font-style: normal;
}

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-content p {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.footer-links a {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--medium-peach);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-coral);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--light-peach);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .home-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .profile-image {
        width: 250px;
        height: 250px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

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

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

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

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

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    h1 {
        font-size: 2rem;
    }

    .social-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

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

/* Smooth Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--medium-peach), var(--soft-peach), #FFE5E0);
    z-index: 1001;
    transition: width 0.3s ease;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-peach);
}

::-webkit-scrollbar-thumb {
    background: var(--medium-peach);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-coral);
} 