/* =========================================================
   ABDULLAH YOUNUS — ACADEMIC WEBSITE
   RHETORIC & COMPOSITION THEME

   Palette:
   Deep Burgundy: #6B2737
   Dark Burgundy: #4A1825
   Muted Gold:    #B58A45
   Parchment:     #F7F2E8
   Warm Ivory:    #FFFDF8
   Soft Beige:    #EEE5D5
   Charcoal:      #292725
   Gray Text:     #625E58
========================================================= */


/* =========================================================
   GLOBAL SETTINGS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Georgia, "Times New Roman", serif;

    background-color: #F7F2E8;
    color: #292725;

    line-height: 1.7;
}


/* =========================================================
   NAVIGATION
========================================================= */

header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    background-color: rgba(255, 253, 248, 0.97);

    border-bottom: 3px solid #B58A45;

    z-index: 1000;
}

nav {
    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 30px;

    display: flex;

    justify-content: space-between;
    align-items: center;
}


/* Website name */

.logo {
    font-size: 22px;

    font-weight: bold;

    color: #6B2737;

    letter-spacing: 0.3px;
}


/* Navigation links */

.nav-links {
    display: flex;

    gap: 25px;
}

.nav-links a {
    color: #292725;

    text-decoration: none;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;
}

.nav-links a:hover {
    color: #6B2737;
}


/* =========================================================
   GENERAL SECTION SETTINGS
========================================================= */

section {
    padding: 100px 30px;
}

.section-content {
    max-width: 1050px;

    margin: 0 auto;
}


/* Small section heading */

.section-label {
    margin-bottom: 12px;

    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;

    text-transform: uppercase;
}


/* Main section headings */

.section-content > h2,
.about-content > h2,
.research-interests > h2 {

    margin-bottom: 30px;

    color: #6B2737;

    font-size: 38px;

    line-height: 1.2;
}


/* Introductory paragraphs */

.section-introduction {
    max-width: 760px;

    margin-bottom: 45px;

    color: #625E58;

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   HOME / HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding-top: 150px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(255, 253, 248, 0.90),
            rgba(247, 242, 232, 0.96)
        );

    border-bottom: 1px solid #DED2BF;
}


/* Profile photo */

.profile-image {
    margin-bottom: 25px;
}

.profile-image img {
    width: 210px;
    height: 210px;

    object-fit: cover;

    border-radius: 50%;

    border: 5px solid #FFFDF8;

    outline: 3px solid #B58A45;

    box-shadow: 0 8px 25px rgba(74, 24, 37, 0.15);
}


/* Hello */

.intro {
    margin-top: 10px;

    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 4px;
}


/* Name */

.hero h1 {
    margin-top: 8px;

    color: #6B2737;

    font-size: 56px;

    line-height: 1.15;
}


/* Professional title */

.hero h2 {
    margin-top: 15px;

    color: #4A1825;

    font-size: 23px;

    font-weight: normal;
}


/* Hero description */

.description {
    max-width: 720px;

    margin-top: 25px;

    color: #625E58;

    font-size: 18px;

    line-height: 1.9;
}


/* Hero buttons */

.hero-buttons {
    margin-top: 32px;
}


/* =========================================================
   BUTTONS
========================================================= */

.button {
    display: inline-block;

    padding: 13px 24px;

    background-color: #6B2737;

    color: #FFFFFF;

    border: 2px solid #6B2737;

    border-radius: 4px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: bold;

    text-decoration: none;

    transition: 0.3s;
}

.button:hover {
    background-color: #4A1825;

    border-color: #4A1825;

    transform: translateY(-2px);
}

.secondary-button {
    background-color: transparent;

    color: #6B2737;
}

.secondary-button:hover {
    background-color: #6B2737;

    color: white;
}


/* =========================================================
   ABOUT
========================================================= */

.about-preview {
    background-color: #FFFDF8;
}

.about-content {
    max-width: 900px;

    margin: 0 auto;
}

.about-content p:not(.section-label) {
    margin-bottom: 20px;

    color: #4F4B46;

    font-size: 18px;

    line-height: 1.9;
}


/* =========================================================
   EDUCATION
========================================================= */

.education {
    background-color: #F2EBDD;
}

.timeline {
    margin-top: 45px;
}

.timeline-item {
    margin-bottom: 25px;

    padding: 28px 32px;

    background-color: #FFFDF8;

    border-left: 5px solid #B58A45;

    border-radius: 4px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.timeline-item h3 {
    margin-bottom: 5px;

    color: #6B2737;

    font-size: 21px;
}

.timeline-item .institution {
    margin-bottom: 5px;

    color: #4A1825;

    font-weight: bold;
}

.timeline-item p {
    color: #625E58;
}


/* =========================================================
   RESEARCH
========================================================= */

.research-interests {
    background-color: #FFFDF8;
}

.research-interests > .section-content {
    max-width: 1050px;

    margin: 0 auto;
}


/* Research interest cards */

.interest-container {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.interest-card {
    padding: 30px;

    background-color: #F7F2E8;

    border: 1px solid #DED2BF;

    border-top: 4px solid #6B2737;

    border-radius: 5px;

    transition: 0.3s;
}

.interest-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 10px 25px rgba(74, 24, 37, 0.10);
}

.interest-card h3 {
    margin-bottom: 12px;

    color: #6B2737;

    font-size: 21px;
}

.interest-card p {
    color: #625E58;
}


/* Selected research */

.research-projects {
    margin-top: 85px;
}

.research-projects > h2 {
    margin-bottom: 35px;

    color: #6B2737;

    font-size: 32px;
}

.project {
    margin-bottom: 22px;

    padding: 28px 30px;

    background-color: #F2EBDD;

    border-left: 4px solid #B58A45;

    border-radius: 4px;
}

.project h3 {
    margin-bottom: 10px;

    color: #4A1825;

    font-size: 20px;
}

.project p {
    color: #625E58;

    line-height: 1.8;
}


/* =========================================================
   PUBLICATIONS
========================================================= */

.publications {
    background-color: #F2EBDD;
}

.publication-list {
    margin-top: 35px;
}

.publication-item {
    position: relative;

    margin-bottom: 22px;

    padding: 30px 32px;

    background-color: #FFFDF8;

    border-left: 4px solid #6B2737;

    border-radius: 4px;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.publication-year {
    display: inline-block;

    margin-bottom: 10px;

    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 1px;
}

.publication-item h3 {
    margin-bottom: 12px;

    color: #4A1825;

    font-size: 20px;

    line-height: 1.45;
}

.publication-item p {
    color: #625E58;

    line-height: 1.8;
}


/* DOI */

.doi-link {
    display: inline-block;

    margin-top: 10px;

    color: #6B2737;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: bold;

    text-decoration: none;
}

.doi-link:hover {
    color: #B58A45;

    text-decoration: underline;
}

.more-note {
    margin-top: 30px;

    color: #625E58;

    font-style: italic;
}


/* =========================================================
   TEACHING
========================================================= */

.teaching {
    background-color: #FFFDF8;
}

.experience-item {
    display: grid;

    grid-template-columns: 150px 1fr;

    gap: 30px;

    padding: 27px 0;

    border-bottom: 1px solid #DED2BF;
}

.experience-date {
    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-weight: bold;
}

.experience-item h3 {
    margin-bottom: 6px;

    color: #6B2737;

    font-size: 21px;
}

.experience-item .institution {
    color: #625E58;

    line-height: 1.7;
}


/* =========================================================
   CONFERENCES
========================================================= */

.conferences {
    background-color: #F2EBDD;
}

.conference-item {
    margin-bottom: 22px;

    padding: 28px 30px;

    background-color: #FFFDF8;

    border-left: 4px solid #B58A45;

    border-radius: 4px;
}

.conference-year {
    display: inline-block;

    margin-bottom: 8px;

    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 13px;

    font-weight: bold;
}

.conference-item h3 {
    margin-bottom: 10px;

    color: #6B2737;

    font-size: 20px;

    line-height: 1.45;
}

.conference-item p {
    color: #625E58;
}


/* =========================================================
   AWARDS
========================================================= */

.awards {
    background-color: #FFFDF8;
}

.award-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin-top: 40px;
}

.award-card {
    padding: 30px;

    background-color: #F7F2E8;

    border: 1px solid #DED2BF;

    border-top: 4px solid #B58A45;

    border-radius: 5px;
}

.award-card span {
    color: #B58A45;

    font-family: Arial, Helvetica, sans-serif;

    font-weight: bold;
}

.award-card h3 {
    margin: 8px 0;

    color: #6B2737;
}

.award-card p {
    color: #625E58;
}


/* =========================================================
   CV
========================================================= */

.cv-section {
    background-color: #6B2737;

    text-align: center;
}

.cv-section .section-label {
    color: #D8B778;
}

.cv-section h2 {
    color: #FFFFFF;
}

.cv-section .section-introduction {
    margin-left: auto;

    margin-right: auto;

    color: #F3EADD;
}

.cv-buttons {
    margin-top: 30px;
}

.cv-section .button {
    background-color: #FFFDF8;

    color: #6B2737;

    border-color: #FFFDF8;
}

.cv-section .button:hover {
    background-color: #B58A45;

    color: #FFFFFF;

    border-color: #B58A45;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background-color: #F7F2E8;

    text-align: center;
}

.contact .section-content {
    max-width: 850px;
}

.contact-text {
    max-width: 700px;

    margin: 0 auto 45px;

    color: #625E58;

    font-size: 18px;

    line-height: 1.8;
}


/* Contact boxes */

.contact-info {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;

    margin: 40px 0;
}

.contact-item {
    padding: 30px;

    background-color: #FFFDF8;

    border: 1px solid #DED2BF;

    border-top: 4px solid #B58A45;

    border-radius: 5px;
}

.contact-item h3 {
    margin-bottom: 10px;

    color: #6B2737;

    font-size: 19px;
}

.contact-item p {
    color: #625E58;

    line-height: 1.7;
}

.contact-item a {
    color: #6B2737;

    font-weight: bold;

    text-decoration: none;
}

.contact-item a:hover {
    color: #B58A45;

    text-decoration: underline;
}


/* Academic profile links */

.academic-links {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 35px;
}

.academic-link {
    display: inline-block;

    padding: 11px 20px;

    background-color: #FFFDF8;

    color: #6B2737;

    border: 1px solid #6B2737;

    border-radius: 4px;

    font-family: Arial, Helvetica, sans-serif;

    font-size: 14px;

    font-weight: bold;

    text-decoration: none;

    transition: 0.3s;
}

.academic-link:hover {
    background-color: #6B2737;

    color: #FFFFFF;

    transform: translateY(-2px);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 35px 20px;

    background-color: #3B1720;

    color: #E9DDCE;

    text-align: center;

    border-top: 4px solid #B58A45;
}

footer p {
    margin: 4px 0;

    font-size: 14px;
}


/* =========================================================
   TEXT SELECTION
========================================================= */

::selection {
    background-color: #B58A45;

    color: #FFFFFF;
}


/* =========================================================
   RESPONSIVE / TABLET
========================================================= */

@media (max-width: 900px) {

    nav {
        flex-direction: column;

        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;
    }

    .hero {
        padding-top: 190px;
    }

    .hero h1 {
        font-size: 46px;
    }

    .interest-container {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE / MOBILE
========================================================= */

@media (max-width: 700px) {

    section {
        padding: 75px 20px;
    }

    nav {
        padding: 14px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .nav-links {
        gap: 11px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        padding-top: 200px;
    }

    .profile-image img {
        width: 170px;

        height: 170px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero h2 {
        font-size: 19px;
    }

    .description {
        font-size: 16px;
    }

    .section-content > h2,
    .about-content > h2 {
        font-size: 31px;
    }

    .experience-item {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    .award-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .academic-links {
        flex-direction: column;

        align-items: center;
    }

    .academic-link {
        width: 100%;

        max-width: 300px;
    }

}