/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #ffffff;
}

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

/* ===== NAVIGATION BAR ===== */
.navbar {
    background-color: #1a1a1a;
    padding: 1rem 0;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

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

.nav-menu a {
    color: #cccccc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color 0.3s, background-color 0.3s;
    border-radius: 4px;
}

.nav-menu a:hover {
    color: #ffffff;
    background-color: #333;
}

.nav-menu a.active {
    color: #ffffff;
    background-color: #8C1515; /* Stanford Cardinal */
}

/* ===== HOME PAGE - SPLIT LAYOUT ===== */
.home-content {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Text */
.text-side {
    color: #ffffff;
}

.text-side h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.text-side p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

/* Right Side - Image */
.image-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-side img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background-color: #1a1a1a;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid #333;
    text-align: center;
    color: #999;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .text-side h1 {
        font-size: 2rem;
    }
    
    .text-side p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
}

/* ===== PAGE HEADER ===== */
.page-header {
    background-color: #1a1a1a;
    padding: 3rem 0;
    border-bottom: 1px solid #333;
    text-align: center;
}

.page-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0;
}

/* ===== SECTIONS ===== */
.section {
    padding: 4rem 0;
}

.section-title {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
/* ===== PI CARD ===== */
.pi-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    text-align: left;
    border: none; 
    background-color: transparent;
}

.pi-card .member-info h3,
.pi-card .member-title,
.pi-card .member-education,
.pi-card .member-email {
    text-align: left;
}
/* ===== MEMBER CARDS ===== */
.member-card {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: #8C1515;
}

.member-image {
    margin-bottom: 1.5rem;
}

.member-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #333;
}

.member-info h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.member-education {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    text-align: left;
}
.member-title {
    color: #aaaaaa;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.member-email {
    margin-top: 1rem;
}

.member-email a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.member-email a:hover {
    color: #ff4444;
}

/* ===== MEMBERS GRID ===== */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-image img {
        width: 150px;
        height: 150px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
/* ===== PROJECTS PAGE ===== */

/* Research Overview */
.research-overview {
    padding: 2rem 0;
    margin-bottom: 1.5rem;
}
.research-overview p {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 100;
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* Project Box */
.project-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    transition: border-color 0.3s;
}

.project-box:hover {
    border-color: #8C1515;
}

/* Project Header */
.project-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #333;
}

.project-title-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.project-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
}

/* Project Content */
.project-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2.5rem;
}

/* Project Image */
.project-image {
    top: 300px;
    height: fit-content;
}

.project-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Project Description */
.project-description {
    color: #ffffff;
}

.project-description h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.project-description h3:first-child {
    margin-top: 0;
}

.project-description p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.project-description ul {
    list-style-position: inside;
    margin-left: 0;
    margin-bottom: 1rem;
}

.project-description li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #aaaaaa;
}

/* Project Meta Information */
.project-meta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.meta-item {
    color: #aaaaaa;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.meta-item strong {
    color: #8C1515;
    margin-right: 0.5rem;
}

.meta-item a {
    color: #8C1515;
    text-decoration: none;
    transition: color 0.3s;
}

.meta-item a:hover {
    color: #ff4444;
}

/* Responsive Design */
@media (max-width: 968px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-image {
        position: sticky;
        top: 0;
    }
    
    .project-header {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .project-box {
        padding: 1.5rem;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .research-overview {
        padding: 1.5rem;
    }
    
    .research-overview p {
        font-size: 1rem;
    }
}
/* ===== PUBLICATIONS PAGE ===== */

/* Profile Links Box */
.profile-links-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.profile-links-box p {
    color: #cccccc;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.profile-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.profile-btn {
    background-color: #333;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #555;
    transition: all 0.3s;
}

.profile-btn:hover {
    background-color: #8C1515;
    border-color: #8C1515;
}

/* Publication Year Groups */
.pub-year-group {
    margin-bottom: 3rem;
}

.year-heading {
    color: #8C1515;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #333;
}

/* Individual Publication */
.publication-item {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s;
}

.publication-item:hover {
    border-color: #8C1515;
}

.pub-title {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.pub-authors {
    color: #cccccc;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pub-authors strong {
    color: #ffffff;
    font-weight: bold;
}

.pub-journal {
    color: #999999;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.pub-journal em {
    color: #aaaaaa;
}

/* Publication Links */
.pub-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pub-link {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #333;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #555;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.pub-link:hover {
    background-color: #8C1515;
    border-color: #8C1515;
}

/* Responsive */
@media (max-width: 768px) {
    .year-heading {
        font-size: 1.5rem;
    }
    
    .pub-title {
        font-size: 1.1rem;
    }
    
    .profile-buttons {
        flex-direction: column;
    }
    
    .profile-btn {
        width: 100%;
    }
}
/* ===== CONTACT PAGE ===== */

/* Contact Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Contact Details */
.contact-details {
    color: #ffffff;
}

.contact-heading {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.contact-info-item:hover {
    border-color: #8C1515;
}

.contact-icon {
    flex-shrink: 0;
    color: #8C1515;
}

.contact-icon svg {
    width: 32px;
    height: 32px;
}

.contact-text h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.contact-text a {
    color: #8C1515;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #ff4444;
}

/* Map Section */
.contact-map-section {
    color: #ffffff;
}

.map-container {
    margin-top: 1rem;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
}

.map-caption {
    text-align: center;
    color: #999999;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Prospective Members Box */
.prospective-box {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 3rem;
}

.prospective-content {
    color: #cccccc;
}

.prospective-content > p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    text-align: center;
}

/* Positions Grid */
.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.position-card {
    background-color: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.position-card:hover {
    border-color: #8C1515;
    transform: translateY(-5px);
}

.position-card h3 {
    color: #8C1515;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.position-card p {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-heading {
        font-size: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .prospective-box {
        padding: 2rem 1.5rem;
    }
}

