/* ============================================
   MODERN MINIMALIST ACADEMIC WEBSITE - SINGLE PAGE
   ============================================ */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #ecf0f1;
    --text-color: #333;
    --light-text: #666;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --spacing-unit: 1rem;
}
/* dark theme – same names, different values */
/* html[data-theme="dark"] {
    --primary-color: #eee;
    --secondary-color: #66aaff;
    --accent-color: #f88;
    --light-text: #ccc;
    --dark-text: #eee;
    --background-color: #111;
    --border-color: #444;
}

/* make page background/text follow the variables */
/* body {
    background-color: var(--background-color);
    color: var(--dark-text);
} */

/* style for the theme toggle button */
/* .theme-toggle {
    position: fixed;
    top: 0.75rem;
    right: 0.75rem;
    background: none;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 0.25rem;
} */

/* .theme-toggle:hover {
    background-color: var(--secondary-color);
    color: var(--background-color);
}  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

.container-center {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* ============================================
   HEADER
   ============================================ */

.header {
    padding: 3rem var(--spacing-unit) 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* ============================================
   PROFILE SECTION
   ============================================ */

.profile {
    padding: 3rem var(--spacing-unit);
    text-align: center;
}

.profile-photo {
    margin-bottom: 2rem;
}

.profile-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.nav-links .separator {
    color: var(--light-text);
    font-weight: 400;
}

/* ============================================
   WELCOME SECTION
   ============================================ */

.welcome-section {
    text-align: center;
    color: var(--light-text);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.welcome-section p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.welcome-section a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.welcome-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    padding: 4rem var(--spacing-unit);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */

.content-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
}

.content-section h3 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
}

.content-section h4 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* ============================================
   CONTENT ITEMS
   ============================================ */

.content-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-color);
}

.content-item:last-child {
    border-bottom: none;
}

.item-meta {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.item-meta span {
    margin-right: 0;
}

.content-item p {
    color: var(--light-text);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.item-links {
    margin-top: 0.8rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-color);
}

/* teaching‑section styles */
.course-header {
    font-size: 1.15rem;           /* make title line a little bigger */
    line-height: 1.4;
}

.course-period {
    font-style: italic;           /* the time period after the title */
    margin-left: 0.5em;
}

.course-institution {
    font-style: italic;           /* second line: university */
    margin-top: 0.25em;
}

.course-instructor {
    /* font-weight: bold;            /* third line: instructor */ 
    margin-top: 0.1em;
}
.course-item {
    margin-bottom: 2rem;   /* or 1em, 20px, whatever feels right */
}

/* ============================================
   LINKS
   ============================================ */

.publication-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.publication-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ============================================
   CV SECTION
   ============================================ */

/* .cv-download {
    display: inline;
    padding: 0; */
    /* background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease; */
    /* color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
} */

/* .cv-download:hover { */
    /* background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4); */
       /* color: var(--accent-color);
    text-decoration: underline;
} */

.cv-entry {
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px dashed var(--border-color);
}

.cv-entry:last-child {
    border-bottom: none;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.3rem;
}

.entry-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.entry-date {
    color: var(--light-text);
    font-style: italic;
    font-size: 0.9rem;
    white-space: nowrap;
}

.entry-institution {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cv-entry p {
    color: var(--light-text);
    margin-bottom: 0;
}

.cv-entry ul {
    color: var(--light-text);
    font-size: 0.95rem;
}

.cv-entry li {
    margin-bottom: 0.3rem;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 3rem var(--spacing-unit);
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .profile-photo img {
        width: 150px;
        height: 150px;
    }

    .nav-links {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .welcome-section {
        font-size: 0.95rem;
    }

    .welcome-section p {
        margin-bottom: 1rem;
    }

    .content-section {
        padding: 3rem var(--spacing-unit);
    }

    .content-section h2 {
        font-size: 1.6rem;
    }

    .content-section h3 {
        font-size: 1.2rem;
        margin-top: 2rem;
    }

    .entry-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .entry-date {
        margin-top: 0.3rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem var(--spacing-unit) 0.8rem;
    }

    .header h1 {
        font-size: 1.3rem;
    }

    .profile {
        padding: 2rem var(--spacing-unit);
    }

    .profile-photo img {
        width: 120px;
        height: 120px;
    }

    .nav-links {
        font-size: 0.9rem;
        gap: 0.4rem;
        margin-bottom: 2rem;
    }

    .welcome-section {
        font-size: 0.9rem;
    }

    .welcome-section p {
        margin-bottom: 0.8rem;
    }

    .content-section {
        padding: 2rem var(--spacing-unit);
    }

    .content-section h2 {
        font-size: 1.4rem;
    }

    .content-section h3 {
        font-size: 1.1rem;
        margin-top: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .content-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .item-meta {
        font-size: 0.85rem;
    }

    .content-item p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }

    .footer {
        padding: 2rem var(--spacing-unit);
    }

    .footer p {
        font-size: 0.85rem;
    }
}






