/* --- SPORTS THEME CSS --- */
/* --- PROFESSIONAL COLOR PALETTE (REVISED) --- */

:root {
    --color-primary-accent: #001F3F; /* Deep Navy for data focus, checklist, and subtle accents */
    --color-secondary-accent: #001F3F; /* Deep Navy for stable background/text/links */
    --color-text: #333333; /* Charcoal for readability */
    --color-background-soft: #F8F9FA; 
    --color-light-gray: #DDDDDD; /* Lighter borders */
}

/* --- BASE & UTILITIES --- */
* {
    /* FIX: Removed margin and padding from the universal selector */
    box-sizing: border-box; 
}

body {
    background-color: var(--color-secondary-accent);
    font-family: 'Inter', sans-serif;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    
    /* Center the main content */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Consistent content container for centering and max-width */
.site-container {
    width: 95%;
    max-width: 1300px;
    margin: 0 auto;
    background-color: var(--color-background-soft);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--color-secondary-accent);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

strong {
    color: var(--color-secondary-accent);
    font-weight: 600;
}

b {
    color: var(--color-secondary-accent)
}

.section-divider {
    border: none;
    border-top: 2px dashed var(--color-light-gray);
    margin: 3rem auto;
    width: 95%
}

/* --- HEADER & NAVIGATION --- */

.main-header {
    display: flex;
    justify-content: space-between; /* Pushes brand to left, nav to right */
    align-items: center;
    padding: 1rem 0;
    background-color: var(--color-background-soft);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--color-light-gray);
}

.team-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between logo and h1 */
}

.team-brand h1 {
    margin: 0; /* Remove h1 default margin for clean header */
    font-size: 2rem;
    color: var(--color-secondary-accent);
}

.bi-accent {
    color: red
}

.logo {
    width: 50px; /* Standardize logo size */
    height: auto;
}

/* Navigation Links */
.toplinks {
    display: flex;
    gap: 10px;
}

.nav-button {
    color: var(--color-secondary-accent);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-secondary-accent);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.nav-button:hover {
    background-color: var(--color-secondary-accent);
    color: white;
}

.current {
    background-color: var(--color-secondary-accent);
    color: white;
    border-color: var(--color-secondary-accent);
    font-weight: 600;
} 


/* --- OPENING STATEMENT --- */
.opening-statement {
    text-align: center;
    padding: 2rem 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    max-width: 1000px; /* Constrain width for better reading experience */
    margin: 0 auto;
}
.opening-statement h2 {
    font-size: 1.8rem;
    color: var(--color-secondary-accent);
    margin-top: 0;
}


.powerbi-iframe {
    width: 100%;
    display: block;
    margin: 1rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;
    max-height: 85vh;
}

/* --- FOOTER --- */

footer {
    width: 100%;
    background-color: var(--color-secondary-accent); /* Navy Footer */
    color: var(--color-light-gray);
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

footer address {
    font-style: normal;
    margin-bottom: 1rem;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer b {
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
}
footer a:hover {
    color: red;
}


/* --- RESPONSIVENESS --- */

@media screen and (max-width: 600px) {
    .headshot-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .bio-text {
        text-align: center;
        padding: 0 1rem;
    }
    .toplinks {
        gap: 5px;       
    }
    .nav-button {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    .team-brand h1 {
        font-size: 1.7rem;
    }
}