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

:root {
    --color-bg: #ffffff;
    --color-bg-light: #f8f9fa;
    --color-bg-card: #ffffff;
    --color-accent: #8b1a1a;
    --color-accent-light: #a52a2a;
    --color-text: #2c3e50;
    --color-text-muted: #6c757d;
    --color-border: #e9ecef;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

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

.logo img {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('img/banner.png') center center / cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.5) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(241, 243, 245, 0.5) 100%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--color-text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 10px 25px;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    background: transparent;
    font-weight: 500;
}

.badge:hover {
    background: var(--color-accent);
    color: #ffffff;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--color-text-muted);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-accent);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

.section-title.centered {
    text-align: center;
    display: block;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* About Section */
.about {
    background: var(--color-bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-image:hover img {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent);
    z-index: 1;
    transition: var(--transition);
    border-radius: 8px;
}

.about-image:hover .image-frame {
    top: 15px;
    left: 15px;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    font-weight: 600;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Section */
.experience {
    background: var(--color-bg);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--color-accent);
    border-radius: 50%;
    top: 5px;
    border: 4px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 5px;
}

.timeline-role {
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Research Section */
.research {
    background: var(--color-bg-light);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .research-grid {
        grid-template-columns: 1fr;
    }
}

.research-card {
    background: var(--color-bg-card);
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}

.research-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
}

.research-icon {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 20px;
}

.research-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 10px;
    padding-right: 60px;
}

.research-year {
    color: var(--color-accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}

.research-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Leadership Section */
.leadership {
    background: var(--color-bg);
    text-align: center;
}

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

.leadership-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.leadership-item {
    text-align: center;
    padding: 30px;
    background: var(--color-bg-light);
    border-radius: 8px;
    min-width: 200px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.leadership-item:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

.leadership-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-accent);
    margin-bottom: 5px;
}

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

.leadership-desc {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Publications Section */
.publications {
    background: var(--color-bg-light);
}

.publications-list {
    max-width: 800px;
    margin: 0 auto;
}

.publication-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--color-bg-card);
    margin-bottom: 20px;
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
    box-shadow: var(--shadow);
}

.publication-item:hover {
    border-left-color: var(--color-accent);
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.pub-type {
    background: var(--color-accent);
    color: #ffffff;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    white-space: nowrap;
}

.publication-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
}

/* Contact Section */
.contact {
    background: var(--color-bg);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.contact-label {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.contact-value {
    color: var(--color-text);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--color-bg-light);
    padding: 60px 0 30px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer-logo img {
    height: 60px;
    width: auto;
    border-radius: 4px;
    margin-bottom: 20px;
}

.footer-text {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-subtitle {
    color: var(--color-accent);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-image {
        display: flex;
        justify-content: center;
    }

    .image-frame {
        display: none;
    }

    .about-stats {
        justify-content: center;
    }

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

    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
    }

    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .badge {
        width: 200px;
        text-align: center;
    }

    .leadership-grid {
        flex-direction: column;
        gap: 30px;
    }

    .leadership-item {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .publication-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .contact-info {
        flex-direction: column;
        gap: 30px;
    }

    section {
        padding: 60px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

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

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

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

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