/* –––––– Base Variables & Setup ––––– */
:root {
    --primary-color: #3f74aa; /* Professional Navy Blue */
    --text-color: #333333;    /* Charcoal for readability */
    --border-color: #e0e0e0;
    --background-color: #f2f0ef;
}
/* –––––– General Global Attributes –––––– */

a {color: var(--text-color);}

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

article h2 {
    color: var(--primary-color);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 1.5px;
}

section {margin-bottom: 25px;}

section h3 {
    margin: 0 0 8px 0;
    font-size: 1.15rem;
    color: #1a1a1a;
}

html {
    scroll-behavior: smooth;
}

.site-layout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 10px;
    margin: 10px;
}


.nav-links, .mobile-nav-bar, #mobile_genInfo { /* Hide Sidebar in production */
    display: none;
}
/* –––––– General Global Attributes (END) –––––– */

/* –––––– Header & Main Image Logo –––––– */

#mainLogo {
    font-size: 3rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    width: 100%;
}

/* #monogram {
    width: 150px;
    height: 150px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
} */

#headshot-img {
    width: 300px;
    height: 300px;
    border-radius: 50%; 
    object-fit: cover;
    border: 4px solid var(--primary-color);
    flex-shrink: 0;
    aspect-ratio: 1/1;
}


/* –––––– Header & Main Image Logo (END) –––––– */

/* –––––– Main Content –––––– */
.mainContent {
    padding: 40px 50px;
    left: 30%;
    right: 0;
}

/*  HEADER START */

#intro {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 25px;
    margin-bottom: 35px;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#intro div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}
@media screen and (max-width: 900px) {
    #intro div {
        flex-direction: column;
        text-align: center;
    }
}

/* #intro div p {
    margin: 8px 0;
    max-width: 700px;
} */

#intro a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

#profSummary {
    text-align: justify;
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
}

#contactMe {
    margin-top: 20px;
    padding: 1px 12px;
    padding-bottom: 30px;
    border: 2px solid var(--text-color);
    border-radius: 15px;
    /* display:block; */
    text-align: center;
}
#contactMe h2 {
    /* display: block; */
    /* justify-content: center; */
    text-align: center;
    text-decoration: underline;
}

#profLinks {
    display: contents;
    text-align: center;
    padding: 0;
    gap: 12px;
}

#profLinks a {
    list-style: none;
    text-align: center;
    background-color: #f0f4f8;
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #dce4ec;
    margin: 0;
}

#profLinks, #pdfLink {
    text-align: center;
}

/* HEADER END */

/* –––––– Main Content (END) */

/* ––––– Skills Section ––––– */
.skillsList {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    gap: 12px;
}

.skillsList li {
    list-style: none;
    background-color: #f0f4f8;
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    border: 1px solid #dce4ec;
    margin: 0;
}

/* –––––– Skills Section (END) */

/* –––––– MOBILE VIEW –––––– */
@media screen and (max-width: 600px) {
    /* Reset body and add top padding to account for fixed top bar */
    body {
        display: block; 
        padding: 80px 15px 20px 15px; /* Added top padding */
    }

    /* Center the Logo perfectly */
    #mainLogo {
        position: absolute;
        font-size: 2.5rem;
        border-bottom: none;
        margin: 0;
        padding: 0;
        white-space: nowrap;
    }

    .header-spacer {
        width: 28px; /* Matches hamburger width to balance flex space */
    }

    #mobile_genInfo {
        display: contents;
        text-align: center;
    }

    #genInfo {
        display: none;
    }

    .mainContent {
        /* padding: 40px 50px; */
        max-width: 100%;
    }

    #contactMe {
        width: 100%;
        /* border: none; */
        text-align: left;
    }
    
    #contactMe h2 {
        text-align: center;
        text-decoration: underline;
    }

    /* #profLinks {
        text-align: left;
        display: list-item;
    } */

    #profLinks {
        text-align: left;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        gap: 12px;
    }
    
    #profLinks a {
        list-style: none;
        background-color: #f0f4f8;
        color: var(--primary-color);
        padding: 8px 18px;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: 500;
        border: 1px solid #dce4ec;
        margin: 0;
    }
    
    #intro h1 {
        font-size: 2.2rem;
    }

    #intro div {
        flex-direction: column;
        text-align: center;
    }
    
    #headshot-img {
        margin-top: 10%;
        width: 300px;
        height: 300px;
    }

    #intro section p:last-child {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #intro section p:last-child a {
        display: block;
        margin: 0;
    }

}

/* –––––– DESKTOP VIEW (GRAVEYARD) –––––– */
/* –––––––––––––––––––––––––––––––––––––––––––––– */

/* Temporarly remove sidebar */
/* .sidebar {
    position: sticky;
    top: 0;
    height: 100vh; 
    width: 30%;
    background-color: #ffffff;
    border-right: 1px solid var(--border-color);
    padding: 40px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
} */

/* Base Side Nav Links */
/* .sidebar a {
    text-decoration: none;
    color: #666666;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.25s ease-in-out; 
    padding: 12px, 3px;
} */

/* The Active Tracking State */
/* .sidebar a.active {
    color: var(--primary-color);
    font-weight: bold;
    transform: scale(1.12); 
    transform-origin: left center; /* Scales outward from the left edge 
    padding-left: 5px;
} */


/* .mobile-nav-bar, #mainLogoMobile {
    display: none;
} */

/* .nav-links {
    display: contents; /* Allows links to behave normally in the desktop flex sidebar 
} */


/* –––––––––––––––––––––––––––––––––––––––––––––– */

/* –––––– MOBILE VIEW (GRAVEYARD) –––––– */
/* –––––––––––––––––––––––––––––––––––––––––––––– */

/* Transform sidebar into a fixed top bar */
/* .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    background-color: #ffffff;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 15px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
    */
/* Mobile Nav Bar Layout */
/* .mobile-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    height: 50px;
} */

/* Hamburger Button Styling */
/* .hamburger-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
} */

/* .hamburger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
} */

/* Animate hamburger into an 'X' when active */
/* .sidebar.menu-open .hamburger-btn span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}
.sidebar.menu-open .hamburger-btn span:nth-child(2) {
    opacity: 0;
}
.sidebar.menu-open .hamburger-btn span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
} */

/* Collapsible Nav Links Dropdown */
/* .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: 100%;
    left: 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 10px 0;
} */

/* .sidebar.menu-open .nav-links {
    display: flex;
}

.sidebar a {
    padding: 12px 20px;
    text-align: center;
} */

/* .sidebar a.active {
    background-color: rgba(63, 116, 170, 0.08);
    padding-left: 20px;
    transform: none; 
}

.mobile-intro-link {
    display: block;
} */
/* –––––––––––––––––––––––––––––––––––––––––––––– */