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

:root {
    /* Color Variables for Easy Theming */
    --primary-dark: #1a1a1a;
    --primary-light: #f8f9fa;
    --accent-blue: #4a90e2;
    --accent-cyan: #4ecdc4;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #666;
    --text-light: #bbb;
    --bg-light: #f8f9fa;
    --bg-white: #fff;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
    font-weight: 400;
}

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

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 2px solid rgba(74, 144, 226, 0.3);
}

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

.nav-logo {
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: #4a90e2;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #4a90e2;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1a1a1a;
    font-size: 1.5rem;
    cursor: pointer;
}

/* CV Link in Navigation */
.nav-links .cv-link {
    background: #4a90e2;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links .cv-link:hover {
    background: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.nav-links .cv-link::after {
    display: none;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding-top: 100px;
}

.hero-content h1 {
    font-size: 5.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
}

.hero-content .subtitle {
    font-size: 1.6rem;
    color: #4a4a4a;
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content .tagline {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.7;
}

/* Sections */
.section {
    padding: 8rem 0;
    position: relative;
    background: var(--bg-light);
}

.section h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -2px;
    text-transform: uppercase;
    font-family: 'Space Grotesk', sans-serif;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.profile-image {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4a90e2 0%, #4ecdc4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 3px solid #1a1a1a;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 17px;
}

/* Alternative: Square profile image */
.profile-image.square {
    border-radius: 15px;
}

.profile-image.square img {
    border-radius: 12px;
    object-fit: cover;
    object-position: center top;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2a2a2a;
    font-weight: 500;
}

.about-text p {
    margin-bottom: 2rem;
}

/* Inspiration Section */
.inspiration-section {
    text-align: center;
}

.inspiration-section p {
    font-size: 2.2rem;
    font-weight: 600;
    color: #4a4a4a;
    margin-bottom: 2rem;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.inspiration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-top: 5rem;
}

.inspiration-card {
    text-align: center;
}

.inspiration-image {
    width: 100%;
    height: 280px;
    border-radius: 20px;
    margin-bottom: 2rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 3px solid #4a90e2;
}

.inspiration-image i,
.project-image i {
    font-size: 4rem;
    color: white;
}

.project-image i {
    font-size: 5rem;
}

.inspiration-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inspiration-card .role {
    font-size: 0.95rem;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'JetBrains Mono', monospace;
}

.inspiration-card p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.7;
    font-weight: 500;
}

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

.research-item {
    padding: 2.5rem;
    background: rgba(26, 26, 26, 0.03);
    border-radius: 15px;
    border: 2px solid rgba(26, 26, 26, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.research-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.research-item h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.research-item p {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.8;
    font-weight: 500;
}

/* Projects Section */
.projects-section {
    background: var(--bg-light);
    color: var(--text-primary);
}

.projects-section h2 {
    color: var(--text-primary);
}

.projects-section > .container > p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.project-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    background: linear-gradient(135deg, #4ecdc4 0%, #4a90e2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: white;
    box-shadow: 0 25px 80px rgba(74, 144, 226, 0.3);
    border: 3px solid #4a90e2;
}

.project-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.project-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.project-card {
    text-align: left;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border: 2px solid rgba(74, 144, 226, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.2);
}

.project-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-card .year {
    font-size: 1rem;
    color: #4ecdc4;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 4rem 0;
    background: #1a1a1a;
    color: white;
}

.cta-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

.cta-section p {
    font-size: 1.3rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
}

.cta-button {
    display: inline-block;
    background: #1a1a1a;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'JetBrains Mono', monospace;
    border: 3px solid #4a90e2;
}

.cta-button:hover {
    background: #4a90e2;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(74, 144, 226, 0.3);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
}

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

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 1rem;
}

.social-link:hover {
    color: #4a90e2;
    transform: translateY(-3px);
}

.social-link i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.1);
}

.footer-info {
    color: #888;
}

.footer-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-info p:first-child {
    font-weight: 600;
    color: #ccc;
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 2rem;
    }
    
    .social-link {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .social-link i {
        font-size: 1.3rem;
    }
}

/* Featured Research Section */
.featured-research {
    padding: 6rem 0;
    background: white;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.featured-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

.project-info {
    padding: 2rem 0;
}

.project-info h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1.1;
}

.project-info p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 3rem;
    font-weight: 400;
}

.research-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: #1a1a1a;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.research-link:hover {
    background: white;
    color: #1a1a1a;
    border-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 26, 26, 0.15);
}

.research-link .arrow {
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.research-link:hover .arrow {
    transform: translateX(5px);
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(248, 249, 250, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 1px solid rgba(74, 144, 226, 0.3);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .inspiration-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .section h2 {
        font-size: 2.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .profile-image {
        height: 300px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .about-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
    
    .hero-content .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-content .tagline {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 2.2rem;
    }
    
    .inspiration-section p {
        font-size: 1.5rem;
    }
    
    .profile-image {
        height: 250px;
        max-width: 250px;
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
}

/* Smooth animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}