/* ------------------------------
   GLOBAL RESET
--------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    background: #fafafa;
    color: #222;
}

/* ------------------------------
   TOP BANNER (same on all pages)
--------------------------------*/
.banner {
    background: #1b1b1b;
    color: #fff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.banner .name {
    font-size: 1.8rem;
    font-weight: bold;
}
.banner .email {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
}

/* ------------------------------
   NAVIGATION
--------------------------------*/
nav {
    background: #111;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
nav ul li a {
    display: block;
    padding: 13px 22px;
    color: white;
    text-decoration: none;
    transition: 0.2s;
    font-size: 1rem;
}
nav ul li a:hover,
nav ul li a.active {
    background: #333;
}

/* ------------------------------
   HERO SECTIONS
--------------------------------*/
.hero {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: bold;
    background: rgba(0,0,0,0.55);
    padding: 8px 20px;
    border-radius: 6px;
}

/* Uniform hero button */
.hero .hero-btn,
.download-btn {
    background: #fff;
    color: #000;
    padding: 8px 22px;
    border-radius: 22px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #dcdcdc;
    transition: 0.2s;
}
.hero .hero-btn:hover,
.download-btn:hover {
    background: #ddd;
}

/* ------------------------------
   MAIN CONTENT BLOCKS
--------------------------------*/
.content,
.cv-container,
.press-container,
.publications {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 25px;
    text-align: center;
}

/* ------------------------------
   PROFILE IMAGE
--------------------------------*/
.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 4px solid #ddd;
}

/* ------------------------------
   BUTTON GROUP
--------------------------------*/
.button-group {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.btn {
    background: #000;
    color: white;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1rem;
    text-decoration: none;
    transition: 0.2s;
}
.btn:hover {
    background: #333;
}

/* ------------------------------
   PUBLICATIONS LAYOUT
--------------------------------*/
.publication {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    padding: 25px 0;
    border-bottom: 1px solid #ddd;
    gap: 25px;
}
.publication-year { font-size: 1.2rem; font-weight: bold; }
.publication-title { font-size: 1.15rem; font-weight: bold; }
.publication-authors, .publication-journal {
    font-size: 0.95rem;
    color: #444;
}

/* ------------------------------
   CV SECTIONS
--------------------------------*/
.section {
    margin-bottom: 45px;
    text-align: left;
}
.section-title {
    font-size: 1.4rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.section-title img {
    width: 26px;
    margin-right: 10px;
}
ul { margin-left: 20px; }
ul li { margin-bottom: 6px; }

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 700px) {
    .publication {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .button-group {
        flex-direction: column;
        gap: 15px;
    }
    .banner {
        flex-direction: column;
        gap: 8px;
    }
}
/* ------------------------------
   RESEARCH BLOCKS
--------------------------------*/
.research-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 60px 0;
    gap: 40px;
}

.research-block.reverse {
    flex-direction: row-reverse;
}

.research-image {
    flex: 1;
}

.research-image img {
    width: 100%;
    height: auto;
    display: block;
}

.research-text {
    flex: 1;
    text-align: left;
}

.research-text h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.research-text p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 800px) {
    .research-block,
    .research-block.reverse {
        flex-direction: column;
        text-align: center;
    }

    .research-text {
        text-align: center;
    }
}

/* ------------------------------
   PRESS PAGE LAYOUT
--------------------------------*/
.press-container {
    max-width: 950px;
    margin: 60px auto;
    padding: 0 20px;
}

.press-item {
    margin-bottom: 50px;
}

.press-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 6px;
    text-align: center;
}

.press-source {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
}

.press-item p {
    font-size: 1.05rem;
    max-width: 750px;
    margin: 0 auto 15px auto;
    text-align: center;
}

.press-item ul {
    max-width: 750px;
    margin: 20px auto;
    padding-left: 18px;
}

.press-item li {
    margin-bottom: 14px;
    font-size: 1rem;
}

.press-item a {
    color: #0056b3;
}
