/* ==========================================================================
   1. Color Variables & Design Tokens
   ========================================================================== */
:root {
    /* Cream Tones */
    --clr-cream-light: #fcfaf2;   /* Primary page background & Mission background */
    --clr-cream-dark: #f4efe2;    /* Header & Team section background */
    --clr-cream-border: #e3dac9;  /* Subtle dividers and borders */

    /* Dusty Blue Tones */
    --clr-blue-main: #4a627a;     /* Core branding, headings, hero background */
    --clr-blue-hover: #728ca3;    /* Interaction states and links */
    --clr-blue-light: #a3b8cc;    /* Footer link accent */
    --clr-blue-tint: #f0f4f8;     /* Very soft blue wash for Donate background */

    /* Dark Neutrals */
    --clr-slate-text: #2b3a4a;    /* High-contrast body text */
    --clr-slate-deep: #1e2936;    /* Footer background */
}

/* ==========================================================================
   2. Reset & Global Styles
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "adobe-garamond-pro", serif;
    background-color: var(--clr-cream-light);
    color: var(--clr-slate-text);
    line-height: 1.6;
}

h1, h2 {
    font-family: "baskerville-display-pt", serif;
    color: var(--clr-blue-main);
    margin-bottom: 1rem;
    font-weight: 600;
}

a {
    color: var(--clr-blue-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--clr-blue-hover);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.main-header {
    background-color: var(--clr-cream-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--clr-cream-border);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-logo {
    height: 40px;
    width: auto;
}

.company-name {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--clr-blue-main);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1rem;
}

/* ==========================================================================
   4. Base Sections Layout & Hero
   ========================================================================== */
section {
    padding: 6rem 2rem;
    width: 100%;
    text-align: center;
}

/* Content wrapper to keep text readable on wide screens since sections span 100% width */
section > div:not(.hero-content) {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Section with Image Placeholder */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    
    background-color: var(--clr-blue-main);
    background-image: linear-gradient(rgba(74, 98, 122, 0.8), rgba(74, 98, 122, 0.8)), url('/images/hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    color: var(--clr-cream-light);
}

.hero h1 {
    color: var(--clr-cream-light);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.section-title {
    font-size: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--clr-blue-main);
}

/* ==========================================================================
   5. Unique Section Backgrounds
   ========================================================================== */
#mission {
    background-color: var(--clr-cream-light);
}

#team {
    background-color: var(--clr-cream-dark);
    border-top: 1px solid var(--clr-cream-border);
    border-bottom: 1px solid var(--clr-cream-border);
}

#donate {
    background-color: var(--clr-blue-tint);
}

/* ==========================================================================
   6. Footer
   ========================================================================== */
footer {
    background-color: var(--clr-slate-deep);
    color: var(--clr-cream-border);
    padding: 3rem 2rem;
    text-align: center;
}

footer a {
    color: var(--clr-blue-light);
}

footer a:hover {
    color: var(--clr-cream-light);
}

.footer-links {
    margin: 1.5rem 0;
}

.legal-block {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.8;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}