/* GENERAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #29372e;
    background: #fafaf7;
}

main {
    flex: 1;
}

h1,
h2,
h3 {
    line-height: 1.25;
}

a {
    color: #236443;
    transition: color 0.2s ease, background 0.2s ease,
        transform 0.2s ease;
}

img {
    max-width: 100%;
}

/* HEADER */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 5%;
    background: #ffffff;
    border-bottom: 3px solid #236443;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 76px;
    height: 56px;
    object-fit: contain;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}

.site-header nav a {
    padding: 8px 11px;
    color: #354239;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.site-header nav a:hover {
    color: #236443;
    background: #f0f4ef;
}

.site-header nav a.active {
    color: #ffffff;
    background: #236443;
}

.site-header nav a.active:hover {
    background: #194d33;
}

/* SECTION LABELS */
.eyebrow {
    margin: 0 0 14px;
    color: #a17b3d;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

/* HOME HERO */
.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 480px;
    padding: 65px 22px;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background: #762020;
}

.home-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background: url("./images/Flag1.png") center 45% / cover no-repeat;
}

.home-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: rgba(15, 28, 20, 0.63);
}

.hero-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.home-hero .eyebrow {
    color: #e7c987;
}

.home-hero h1 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: clamp(32px, 4.5vw, 48px);
    letter-spacing: -0.7px;
}

.hero-subtitle {
    margin: 0 0 18px;
    color: #e8cb8b;
    font-size: clamp(17px, 2vw, 21px);
}

.hero-description {
    max-width: 620px;
    margin: 0 auto 26px;
    color: #f3f3ef;
    font-size: 15px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.button {
    display: inline-block;
    padding: 11px 21px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 13px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button-gold {
    color: #243326;
    background: #e2c17c;
}

.button-gold:hover {
    color: #243326;
    background: #f0d69c;
    transform: translateY(-1px);
}

.button-outline {
    color: #ffffff;
    border-color: #ffffff;
    background: transparent;
}

.button-outline:hover {
    color: #203c2b;
    background: #ffffff;
}

/* HOME INTRO */
.home-intro {
    max-width: 960px;
    margin: 0 auto;
    padding: 65px 25px;
    text-align: center;
}

.home-intro h2,
.section-heading h2 {
    margin: 0;
    color: #1c4932;
    font-size: clamp(26px, 3vw, 34px);
}

.intro-line {
    width: 48px;
    height: 3px;
    margin: 20px auto;
    background: #b58a43;
}

.home-intro > p:last-child {
    max-width: 740px;
    margin: 0 auto;
    color: #606b62;
    font-size: 15px;
}

/* HOME CARDS */
.feature-section {
    padding: 55px 6% 65px;
    background: #f0f2ec;
    border-top: 1px solid #e4e7df;
}

.section-heading {
    margin-bottom: 30px;
    text-align: center;
}

.section-heading .eyebrow {
    margin-bottom: 8px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 23px;
    background: #ffffff;
    border: 1px solid #e3e6de;
    border-top: 3px solid #236443;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(25, 50, 33, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(25, 50, 33, 0.09);
}

.card-number {
    color: #a17b3d;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1.5px;
}

.card h3 {
    margin: 13px 0 10px;
    color: #1c4932;
    font-size: 20px;
}

.card p {
    flex: 1;
    margin: 0 0 22px;
    color: #606b62;
    font-size: 14px;
}

.card a {
    align-self: flex-start;
    margin-top: auto;
    color: #236443;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.card a:hover {
    color: #a17b3d;
}

/* HOME CONTACT SECTION */
.home-callout {
    position: relative;
    isolation: isolate;
    padding: 55px 20px;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
    background: #173b29;
}

.home-callout::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background: url("./images/Flag1.png") center / cover no-repeat;
}

.home-callout::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background: rgba(17, 43, 29, 0.84);
}

.home-callout .eyebrow {
    color: #e7c987;
}

.home-callout h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(27px, 3vw, 34px);
}

.home-callout p:not(.eyebrow) {
    margin: 0 auto 22px;
    color: #eeeeea;
    font-size: 14px;
}

/* OTHER PAGE HEROES */
.page-hero {
    padding: 45px 20px;
    text-align: center;
    color: #ffffff;
    background: #1c4932;
    border-bottom: 3px solid #b58a43;
    animation: fade-in 0.7s ease-out;
}

.page-hero .eyebrow {
    color: #e2c17c;
}

.page-hero h1 {
    max-width: 900px;
    margin: 0 auto 10px;
    color: #ffffff;
    font-size: clamp(29px, 4vw, 40px);
}

.page-hero p:last-child {
    margin-bottom: 0;
    color: #edf1eb;
    font-size: 15px;
}

/* CONTENT PAGES */
.content-page {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 45px 25px 60px;
}

.content-page > h1 {
    margin-top: 0;
    color: #1c4932;
    font-size: 32px;
}

.content-page > p {
    color: #606b62;
}

.year-block {
    margin: 22px 0;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e3e6de;
    border-left: 3px solid #236443;
    border-radius: 8px;
    overflow-wrap: anywhere;
    box-shadow: 0 3px 12px rgba(25, 50, 33, 0.035);
}

.year-block:first-child {
    margin-top: 0;
}

.year-block:last-child {
    margin-bottom: 0;
}

.year-block h2 {
    margin: 0 0 16px;
    padding-bottom: 10px;
    color: #1c4932;
    border-bottom: 1px solid #e7e9e3;
    font-size: 24px;
}

.year-block h3 {
    margin: 22px 0 8px;
    color: #236443;
    font-size: 18px;
}

.year-block h3:first-of-type {
    margin-top: 16px;
}

.year-block p {
    margin: 8px 0;
    color: #505e54;
    font-size: 15px;
}

.year-block a:not(.button) {
    font-weight: bold;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.year-block a:not(.button):hover {
    color: #a17b3d;
}

/* ABOUT PAGE PHOTO */
.team-photo {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 24px auto 5px;
    border: 1px solid #e3e6de;
    border-radius: 8px;
}

/* CONTACT PAGE */
.contact-content {
    max-width: 800px;
}

.contact-content .year-block {
    padding: 32px 24px;
    text-align: center;
}

.contact-content .year-block h2 {
    margin-bottom: 18px;
}

.contact-content .button {
    overflow-wrap: anywhere;
}

/* FOOTER */
.site-footer {
    margin-top: auto;
    padding: 25px 20px;
    text-align: center;
    color: #ffffff;
    background: #17251c;
    border-top: 3px solid #236443;
}

.footer-name {
    color: #e2c17c !important;
    font-size: 13px !important;
    font-weight: bold;
    letter-spacing: 1.5px !important;
}

.site-footer p {
    margin: 5px 0;
    color: #cbd3cb;
    font-size: 12px;
}

.site-footer .copyright {
    margin-top: 12px;
    color: #aab6ac;
    font-size: 11px;
}

/* TABLET */
@media (max-width: 800px) {
    .site-header {
        flex-direction: column;
        gap: 10px;
        padding: 12px 4%;
    }

    .site-header nav {
        justify-content: center;
    }

    .cards {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .card {
        min-height: 0;
    }

    .card p {
        flex: initial;
    }
}

/* MOBILE */
@media (max-width: 500px) {
    .site-header {
        padding: 12px 4%;
    }

    .logo img {
        width: 72px;
        height: 52px;
    }

    .site-header nav {
        gap: 3px;
    }

    .site-header nav a {
        padding: 7px 8px;
        font-size: 12px;
    }

    .home-hero {
        min-height: 435px;
        padding: 55px 18px;
    }

    .home-hero h1 {
        font-size: 33px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .button {
        width: 100%;
        max-width: 270px;
    }

    .home-intro {
        padding: 48px 20px;
    }

    .feature-section {
        padding: 45px 5%;
    }

    .section-heading {
        margin-bottom: 24px;
    }

    .card {
        padding: 22px 20px;
    }

    .home-callout {
        padding: 45px 20px;
    }

    .page-hero {
        padding: 38px 18px;
    }

    .page-hero h1 {
        font-size: 30px;
    }

    .content-page {
        padding: 35px 18px 45px;
    }

    .content-page > h1 {
        font-size: 28px;
    }

    .year-block {
        margin: 18px 0;
        padding: 20px 18px;
    }

    .year-block h2 {
        font-size: 22px;
    }

    .year-block h3 {
        font-size: 17px;
    }

    .year-block p {
        font-size: 14px;
    }

    .contact-content .year-block {
        padding: 25px 18px;
    }

    .site-footer {
        padding: 23px 16px;
    }
}

/* SIMPLE ANIMATION */
.home-hero .hero-content {
    animation: fade-in 0.7s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* MODERN DESIGN */

:root {
    --green: #1c4932;
    --green-dark: #142f22;
    --gold: #d7b66f;
    --cream: #f7f7f2;
}

body {
    background: var(--cream);
}

/* Header */
.site-header {
    padding: 14px 5%;
    box-shadow: 0 3px 14px rgba(20, 47, 34, 0.07);
}

.site-header nav a {
    border-radius: 6px;
    transition: all 0.25s ease;
}

.site-header nav a:hover {
    transform: translateY(-2px);
}

.site-header nav a.active {
    box-shadow: 0 3px 8px rgba(28, 73, 50, 0.15);
}

/* Hero section */
.home-hero {
    min-height: 510px;
}

.home-hero::after {
    background: linear-gradient(
        135deg,
        rgba(15, 40, 27, 0.84),
        rgba(15, 40, 27, 0.48)
    );
}

.home-hero h1 {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: var(--gold);
}

/* Buttons */
.button {
    border-radius: 7px;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease,
                background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Cards */
.card {
    border-radius: 10px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 5px 18px rgba(20, 47, 34, 0.06);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(20, 47, 34, 0.12);
}

.card h3 {
    transition: color 0.2s ease;
}

.card:hover h3 {
    color: #a17b3d;
}

/* Section headings */
.home-intro h2,
.section-heading h2 {
    letter-spacing: -0.5px;
}

.intro-line {
    width: 55px;
    height: 4px;
    border-radius: 5px;
    background: var(--gold);
}

/* Other pages */
.page-hero {
    background: linear-gradient(
        135deg,
        var(--green-dark),
        var(--green)
    );
    padding: 55px 20px;
}

.page-hero h1 {
    letter-spacing: -0.5px;
}

.year-block {
    border-radius: 9px;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 16px rgba(20, 47, 34, 0.05);
    transition: box-shadow 0.25s ease,
                transform 0.25s ease;
}

.year-block:hover {
    box-shadow: 0 8px 22px rgba(20, 47, 34, 0.09);
}

/* Footer */
.site-footer {
    background: var(--green-dark);
    border-top: 4px solid var(--gold);
}

/* Simple entrance animation */
.home-hero .hero-content,
.page-hero {
    animation: appear 0.65s ease-out;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 500px) {
    .home-hero {
        min-height: 440px;
    }

    .page-hero {
        padding: 42px 18px;
    }

    .card:hover,
    .year-block:hover {
        transform: none;
    }
}

/* Respect reduced-motion settings */
@media (prefers-reduced-motion: reduce) {
    .home-hero .hero-content,
    .page-hero {
        animation: none;
    }
}