:root {
    --primary-dark: #0A0908;
    --secondary-dark: #22333B;
    --light-cream: #EAE0D5;
    --warm-tan: #C6AC8F;
    --medium-brown: #5E503F;
}

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

body {
    font-family: 'Manrope', sans-serif;
    background: linear-gradient(135deg, var(--light-cream) 0%, #f5f1ec 100%);
    color: var(--primary-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Header Styles */
header {
    background: rgba(234, 224, 213, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(10, 9, 8, 0.1);
    border-bottom: 1px solid rgba(198, 172, 143, 0.3);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-decoration: none;
}

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

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 20%;
    width: 80%;
    height: 100vh;
    background: rgba(234, 224, 213, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding-top: 100px;
}

.mobile-menu.active {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu .nav-tabs {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.mobile-menu .nav-tab {
    font-size: 1.2rem;
    padding: .15rem .2rem;
    width: 200px;
    text-align: center;
}

.nav-tab {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    color: var(--secondary-dark);
}

.nav-tab:hover {
    background: rgba(198, 172, 143, 0.2);
    border-color: var(--warm-tan);
    transform: translateY(-2px);
}

.nav-tab.active {
    background: var(--medium-brown);
    color: var(--light-cream);
    border-color: var(--medium-brown);
    
}

/* Main Content */
main {
    margin-top: 100px;
    padding: 3rem 0;
    flex: 1;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Home Section Styles */
.home-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

.main-content {
    background: rgba(255, 255, 255, 0.7);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(10, 9, 8, 0.1);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--medium-brown);
    margin-bottom: 2rem;
    font-style: italic;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--secondary-dark);
}

/* Sidebar Styles */
.sidebar {
    background: rgba(34, 51, 59, 0.95);
    border-radius: 20px;
    padding: 2rem;
    color: var(--light-cream);
    box-shadow: 0 15px 50px rgba(10, 9, 8, 0.2);
    position: sticky;
    top: 120px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--warm-tan);
    margin: 0 auto 1.5rem;
    display: block;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(10, 9, 8, 0.3);
}

.contact-info {
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.contact-item img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    filter: brightness(0) invert(1);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(198, 172, 143, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--warm-tan);
    transform: translateY(-3px);
}

.social-links img {
    width: 1.5rem;
    height: auto;
}

.email-link {
    color: var(--warm-tan);
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    color: var(--light-cream);
}

/* Publications Section Styles */
.publications-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.publication-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(10, 9, 8, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--warm-tan);
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(10, 9, 8, 0.15);
}

.pub-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.pub-title a {
    color: var(--primary-dark);
}

.pub-title a:hover {
    color: var(--warm-tan); 
}

.pub-authors {
    color: var(--secondary-dark);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.pub-venue {
    color: var(--medium-brown);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.pub-year {
    color: var(--warm-tan);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--medium-brown);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-style: italic;
}

/* Footer Styles */
footer {
    background: var(--light-cream);
    color: var(--medium-brown);
    text-align: center;
    padding: .8rem 0;
    margin-top: 10rem;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

    /* Hide desktop navigation, show hamburger */
    .nav-tabs {
        display: none;
    }

    .mobile-menu .nav-tabs {
        display: flex;
    }

    .hamburger {
        display: flex;
    }


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

    .sidebar {
        position: static;
        order: -1;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .main-content {
        padding: 2rem;
    }
}

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

    .main-content {
        padding: 1.5rem;
    }

    .sidebar {
        padding: 1.5rem;
    }
}