/* ------------------------------ */
/*           ROOT COLORS          */
/* ------------------------------ */
:root {
    --background-color: #fdf0d5;
    --accent-blue: #003049;
    --accent-green: #b0c4b1;
    --accent-gray-green: #4a5759;
    --accent-dark-blue: #264653;
    --text-color: #333;
}


/* ------------------------------ */
/*         GLOBAL STYLES         */
/* ------------------------------ */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    z-index: 0;
}

/* ------------------------------ */
/*     PAGE CONTENT WRAPPER      */
/* ------------------------------ */
.page-content {
    max-width: 1070px;
    margin: 0 auto;
    background-color: var(--background-color);
    border: 3px solid black;
    box-shadow: 10px 12px 24px rgba(0, 0, 0, 0.1); /* drop shadow */
}

/* ------------------------------ */
/*            HEADER              */
/* ------------------------------ */
header {
    background-color: var(--accent-dark-blue);
    color: white;
}


/* ------------------------------ */
/*     IDENTITY BLOCK (TOP)       */
/* ------------------------------ */
.identity-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding: 30px 0 10px 0;
    background-color: var(--accent-dark-blue);
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid var(--accent-green);
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.name-and-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.name-and-nav h1 {
    margin: 0;
    font-size: 2.4rem;
    color: white;
}


/* ------------------------------ */
/*          NAVIGATION            */
/* ------------------------------ */
.name-and-nav nav {
    padding-top: 10px;
    text-align: left;
}

.name-and-nav nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.name-and-nav nav ul li {
    display: inline-block;
    margin-right: 20px;
}

.name-and-nav nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.name-and-nav nav ul li a:hover {
    color: var(--accent-green);
}


/* ------------------------------ */
/*         MAIN CONTENT           */
/* ------------------------------ */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

section {
    margin-bottom: 50px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    border: 2px solid black;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

section h2 {
    color: var(--accent-dark-blue);
    border-bottom: 3px solid var(--accent-blue);
    display: inline-block;
    padding-bottom: 5px;
}

/* ------------------------------ */
/*       RESEARCH SECTION         */
/* ------------------------------ */
.research-list {
    margin: 0;
    padding-left: 0;
}

.research-list dt {
    margin-top: 1.2em;
    font-weight: 600;
    color: var(--accent-dark-blue);
}

.research-list dd {
    margin: 0 0 0.75em 0;
    padding-left: 3em;
    color: var(--accent-gray-green);
    font-style: italic;
}

/* ------------------------------ */
/*            FOOTER              */
/* ------------------------------ */
footer {
    text-align: center;
    padding: 10px;
    background-color: var(--accent-gray-green);
    color: white;
}


/* ------------------------------ */
/*        BACKGROUND IMAGE        */
/* ------------------------------ */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: url('media/background.jpg');
  
    /* background-color: #003049; */ 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.2; 
    z-index: -1;
}

/* ------------------------------ */
/*      HEADER-BODY DIVIDER       */
/* ------------------------------ */
.header-divider {
    border: none;
    height: 3px;
    background-color: black;
    width: 100%;
    margin: 0 auto 30px auto;
}

/* ------------------------------ */
/*       FOOTER-BODY DIVIDER      */
/* ------------------------------ */
.footer-divider {
    border: none;
    height: 3px;
    background-color: black;
    width: 100%;
    margin: 30px auto 0 auto;
}

/* ------------------------------ */
/*        LINKEDIN FOOTER         */
/* ------------------------------ */
footer {
    background-color: var(--accent-gray-green);
    text-align: center;
    padding: 20px;
}

.linkedin-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.linkedin-footer:hover {
    color: var(--accent-green);
}

.linkedin-icon {
    width: 24px;
    height: 24px;
}

/* ------------------------------ */
/*        SLIDESHOW STYLES        */
/* ------------------------------ */
.slideshow-container {
    text-align: center;
    margin: 0 auto 20px auto;
}

.slideshow-image {
    max-width: 100%;
    max-height: 400px;           
    display: none;
    border: 4px solid black;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    padding: 4px;
    margin: 0 auto;
}

/* fade in animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* On mobile */
@media (max-width: 600px) {
    .slideshow-image {
        max-height: 150px;
    }
}

/* ------------------------------ */
/*           HYPERLINKS           */
/* ------------------------------ */
a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: var(--accent-green);
}

/* ------------------------------ */
/*          FILE ICONS           */
/* ------------------------------ */
.file-icon {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    vertical-align: text-bottom;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.file-icon:hover {
    opacity: 1;
}



