/* ==== COLOR VARIABLES ==== */
:root {
    --primary-blue: #002A50;   /* Deep navy blue */
    --accent-red: #B22222;     /* Firebrick red */
    --highlight-gold: #f0e7d7; /* Dull gold */
    --text-color: #333333;     /* Dark gray text */
    --bg-color: #FFFFFF;       /* White */
}

/* ==== GENERAL RESET ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
a {
    color: var(--primary-blue);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ==== HEADER ==== */
header {
    background-color: var(--primary-blue);
    color: white;
    padding: 15px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
header img {
    height: 60px;
}

/* Default Menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}
nav a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}
nav a:hover {
    color: var(--highlight-gold);
}

/* Hamburger button (hidden by default) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    header {
        position: relative;
    }

    /* Hide default horizontal menu */
    nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--primary-blue);
        position: absolute;
        top: 100%;
        right: 0; /* stick to right */
        width: 200px;
        padding: 10px 0;
        margin: 0;
    }

    /* Show when toggled */
    nav ul.show {
        display: flex;
    }

    /* Show hamburger */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 5%;
        top: 50%;
        transform: translateY(-50%);
    }
}


/* ==== HERO SECTION ==== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), var(--accent-red)), url('/data/img/CT-USCER_emblem.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 80px 10%;
}
.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--highlight-gold);
}
.hero p {
    font-size: 1.2rem;
}

/* ==== MAIN CONTENT ==== */
main {
    flex: 1;
    padding: 40px 10%;
}
section {
    margin-bottom: 40px;
}
h2 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}
p {
    margin-bottom: 15px;
}

/* ==== FOOTER ==== */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 30px 10%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
footer div {
    flex: 1 1 250px;
}
footer a {
    color: var(--highlight-gold);
}
footer ul {
    list-style: none;
    padding: 0;
}
footer li {
    margin-bottom: 8px;
}
.footer-note {
    font-size: 0.9rem;
    color: #ddd;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    .hero {
        padding: 50px 5%;
    }
}
