@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');
/* Aya Mouallem Website Styles */

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

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: 16px;
}

/* Header & Navigation */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

nav {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.2s ease;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 40px 20px;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.4;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Links */
a {
    color:#a63700;  /* Dark orange color */
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #d25400;  /* Slightly brighter orange on hover */
}

a:focus {
    outline: 2px solid #cc4400bf;
    outline-offset: 2px;
}

/* Home Page Styles */
.title-line {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.affiliation {
    color: #333;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.contact-links {
    margin: 1.5rem 0;
}

.contact-links a {
    margin-right: 1.5rem;
    color: #a63700;  /* Dark orange */
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.contact-links a:hover {
    color:  #d25400;  /* Brighter orange on hover */
}

.bio {
    margin: 1rem 0 2rem 0;
}

/* Hero Section with Photo */
.hero-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1rem;
}

.profile-photo {
    flex-shrink: 0;
}

.headshot {
    width: 180px;
    height: 180px;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #f9f9f9;
}

.hero-content {
    flex-grow: 1;
    padding-top: 0.5rem;
}

/* Timeline Lists */
.timeline-list {
    list-style: none;
    margin: 1rem 0 3rem 0;
}

.timeline-item {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.date {
    color:#333;
    font-weight: 500;
    margin-right: 0.5rem;
}

/* Research Page Styles */
.publication-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.publication-item:last-child {
    border-bottom: none;
}

.pub-title {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.pub-venue {
    color: #666;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.pub-award {
    color: #a63700;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.pub-description {
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* Grant/Fellowship Items */
.grant-item {
    margin-bottom: 1rem;
    padding: 0.5rem;
    background-color: #f9f9f9;
    border-left: 3px solid #a63700;
}

.grant-title {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.grant-details {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Teaching Page Styles */
.course-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.course-item:last-child {
    border-bottom: none;
}

.course-title {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.course-details {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.course-description {
    color: #333;
    line-height: 1.6;
}

/* Media Page Styles */
.media-item {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.media-item:last-child {
    border-bottom: none;
}

.media-title {
    font-weight: 600;
    color: #000;
    margin-bottom: 0.25rem;
}

.media-source {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.media-description {
    color: #333;
    line-height: 1.6;
}

/* Community Page Styles */
.initiative {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-left: 4px solid #0066cc;
}

.initiative-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.initiative-role {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.initiative p {
    margin-bottom: 1rem;
}

.initiative strong {
    color: #000;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 2000;
}

.skip-link:focus {
    top: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 20px;
        border-bottom: 1px solid #eee;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    main {
        padding: 80px 15px 20px 15px;
    }
    
    h1 {
        font-size: 1.75rem;
    }

     /* Mobile hero section */
    .hero-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .headshot {
        width: 160px;
        height: 200px;
    }

    .contact-links {
    text-align: center;
    margin: 2rem 0;
    }

    .contact-links a {
        display: inline-block;
        margin: 0.5rem 0.75rem;
        margin-right: 0.75rem;
    }
    
    .initiative {
        padding: 1.5rem;
    }
}

/* Print styles */
@media print {
    header {
        position: static;
        border-bottom: 1px solid #000;
    }
    
    main {
        padding: 20px 0;
    }
    
    .nav-links {
        display: none;
    }
    
    a {
        color: #000;
        text-decoration: none;
    }
    
    .initiative {
        background-color: transparent;
        border-left: 2px solid #000;
    }
}