/* Base Styles and Variables */
:root {
    --primary-color: #ff6b00; /* Orange - primary color */
    --secondary-color: #ff9e00; /* Lighter orange - secondary color */
    --accent-color: #ffb700; /* Amber - for highlights */
    --dark-color: #1a1a1a; /* Near black for text and backgrounds */
    --dark-gray: #2d2d2d; /* Dark gray for some backgrounds */
    --medium-gray: #3d3d3d; /* Medium gray for some elements */
    --light-gray: #e0e0e0; /* Light gray for some backgrounds */
    --white: #ffffff;
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lora', serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    --border-radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--light-gray); /* Lighter text for better contrast */
    background-color: var(--dark-color); /* Dark background */
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn.primary:hover {
    background-color: #5b21b6; /* Darker purple */
}

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

.btn.secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--dark-color); /* Dark background */
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95); /* Dark background */
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

/* Replace the neuron icon with your custom image */
.neuron-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background-color: orange;
    background-image: url('images/neuron.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Remove the CSS-drawn neuron parts since we're using an image */
.soma, .dendrite, .axon {
    display: none;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: var(--white); /* White text for better contrast on dark header */
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 20px;
}

/* Home Section */
#home {
    position: relative;
    padding-top: 150px;
}

.brain-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1559757175-7cb056fba93d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1789&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.profile {
    display: flex;
    align-items: center;
    gap: 50px;
}

.profile-image {
    flex: 0 0 300px;
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background-color: #e5e7eb;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #9ca3af;
}

.profile-content {
    flex: 1;
}

.profile-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.profile-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.profile-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

/* Research Section */
.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.research-area {
    background-color: var(--dark-gray); /* Dark gray instead of white */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--light-gray);
}

.research-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.research-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.research-area h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.current-projects {
    background-color: var(--dark-gray); /* Dark gray instead of white */
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    color: var(--light-gray);
}

.current-projects h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.project:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Publications Section */
.publication-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter.active,
.filter:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publication {
    display: flex;
    background-color: var(--dark-gray); /* Dark gray instead of white */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--light-gray);
}

.pub-year {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    min-width: 100px;
}

.pub-content {
    padding: 20px;
    flex: 1;
}

.pub-content h3 {
    color: var(--light-gray);
    margin-bottom: 10px;
}

.authors {
    color: #aaa;
    margin-bottom: 5px;
}

.journal-name {
    color: #888;
    font-style: italic;
    margin-bottom: 15px;
}

.pub-links {
    display: flex;
    gap: 15px;
}

.pub-link {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.pub-link:hover {
    text-decoration: underline;
}

/* Memories Section */
.memories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.memory-card {
    background-color: var(--dark-gray); /* Dark gray instead of white */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--light-gray);
}

.memory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.memory-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.memory-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.memory-card:hover .memory-image img {
    transform: scale(1.05);
}

.memory-content {
    padding: 20px;
}

.memory-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* CV Section */
.cv-container {
    background-color: var(--dark-gray); /* Dark gray instead of white */
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    color: var(--light-gray);
}

.cv-section {
    margin-bottom: 40px;
}

.cv-section h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cv-item {
    display: flex;
    margin-bottom: 25px;
}

.cv-year {
    flex: 0 0 120px;
    font-weight: 700;
    color: var(--secondary-color);
}

.cv-content h4 {
    color: var(--light-gray);
    margin-bottom: 5px;
}

.cv-content p {
    color: #aaa;
}

.cv-download {
    text-align: center;
    margin-top: 30px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background-color: var(--dark-gray); /* Dark gray instead of white */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    color: var(--light-gray);
}

.contact-info {
    padding: 40px;
    background-color: var(--dark-color); /* Dark background instead of primary color */
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 15px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.contact-form {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--light-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #444;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--medium-gray);
    color: var(--light-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
}

footer i {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .profile {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .cv-item {
        flex-direction: column;
    }
    
    .cv-year {
        margin-bottom: 5px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .publication {
        flex-direction: column;
    }
    
    .pub-year {
        width: 100%;
        padding: 10px;
    }
    
    .cv-container {
        padding: 20px;
    }
}

/* Animation for neuron icon */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.neuron-icon {
    animation: pulse 3s infinite;
}

/* Neural network background animation for research section */
#research {
    position: relative;
    overflow: hidden;
}

.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
}

.node {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.connection {
    position: absolute;
    height: 1px;
    background-color: var(--secondary-color);
    transform-origin: left center;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Memories Carousel Section */
.memories-carousel {
    width: 100%;
    position: relative;
    padding: 20px 0 60px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.memory-card {
    min-width: 280px;
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--dark-gray);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    color: var(--light-gray);
    cursor: pointer;
    transform-origin: center;
}

.memory-card.active {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
}

.memory-card:hover:not(.active) {
    transform: translateY(-5px);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.carousel-control {
    background-color: var(--dark-gray);
    color: var(--primary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.carousel-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Responsive adjustments for the carousel */
@media (max-width: 992px) {
    .memory-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .memory-card {
        flex: 0 0 calc(100% - 20px);
    }
} 