body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f1e6;
    color: #222;
}

h1,
h2,
h3,
h4,
nav a,
.button-link,
.footer-title {
    font-family: 'Oswald', sans-serif;
}

/* =========================
   Header
========================= */

.site-header {
    background: #4b5320;
    color: white;
    padding: 20px;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.site-logo {
    width: 250px;
    max-width: 40vw;
    height: auto;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    margin: 0;
    font-size: 2.6rem;
    letter-spacing: 2px;
}

.header-text .subtitle {
    margin-top: 12px;
    font-size: 1.15rem;
}

.header-text .motto {
    margin-top: 12px;
    font-style: italic;
    font-size: 1.25rem;
    color: #d8c38b;
}

/* =========================
   Navigation
========================= */

nav {
    background: #2f3517;
    text-align: center;
    padding: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

nav a:hover {
    color: #d8c38b;
}

/* =========================
   Page Heroes
========================= */

.page-hero {
    min-height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.page-hero-overlay {
    background: rgba(0, 0, 0, 0.70);
    padding: 30px 40px;
    max-width: 700px;
}

.page-hero h2 {
    margin: 0 0 10px;
    font-size: 3rem;
}

.page-hero p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.6;
}

.history-hero {
    background-image: url("images/colombieres.jpg");
    background-position: center 30%;
}

.join-hero {
    background-image: url("images/market-garden.jpg");
    background-position: center 20%;
}

.events-hero {
    background-image: url("images/sainte-ode.jpg");
    background-position: center 75%;
    min-height: 400px;
}

/* =========================
   Hero
========================= */

.hero {
    min-height: 340px;
    text-align: center;
    padding: 35px 20px;
    background-image:
        linear-gradient(rgba(47, 53, 23, 0.72), rgba(47, 53, 23, 0.72)),
        url("images/medical-jeep.jpg");
    background-size: cover;
    background-position: center 35%;
    color: white;
    border-top: 3px solid #d8c38b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin: 0 0 22px;
    letter-spacing: 1px;
}

.hero p {
    max-width: 850px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-buttons {
    margin-top: 25px;
}

.hero-buttons .button-link {
    margin: 6px;
}

/* =========================
   Buttons
========================= */

.button-link {
    display: inline-block;
    margin-top: 15px;
    background: #4b5320;
    color: white !important;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.button-link:hover {
    background: #2f3517;
    text-decoration: none;
}

.secondary-button {
    background: transparent;
    border: 2px solid #d8c38b;
    color: #fff !important;
}

.secondary-button:hover {
    background: #d8c38b;
    color: #2f3517 !important;
}

/* =========================
   Mission Cards
========================= */

.mission-cards {
    max-width: 1100px;
    margin: 40px auto 20px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mission-card {
    background: #fffaf0;
    border-top: 5px solid #4b5320;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mission-card h3 {
    margin-top: 0;
    color: #4b5320;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card {
    background: #fffaf0;
    border-left: 6px solid #4b5320;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* =========================
   Main Content
========================= */

.content {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    line-height: 1.7;
}

.content a {
    color: #4b5320;
    font-weight: bold;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

/* =========================
   Featured Section
========================= */

.featured-section {
    max-width: 1100px;
    margin: 40px auto 20px;
    padding: 0 20px;
}

.featured-text {
    background: #fffaf0;
    border-left: 6px solid #4b5320;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.featured-text h2 {
    margin-top: 0;
    color: #4b5320;
}

/* =========================
   Call To Action
========================= */

.cta-section {
    background: #4b5320;
    color: white;
    text-align: center;
    padding: 50px 20px;
    margin-top: 40px;
}

.cta-section h2 {
    margin-top: 0;
    font-size: 2rem;
}

.cta-section p {
    max-width: 800px;
    margin: 15px auto;
    line-height: 1.6;
}

.cta-section .button-link {
    margin-top: 20px;
}

/* =========================
   Events
========================= */

.events-list {
    display: grid;
    gap: 20px;
    margin: 20px 0 35px;
}

.event-card {
    background: #fffaf0;
    border-left: 6px solid #4b5320;
    padding: 22px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

.event-date {
    margin: 0 0 8px;
    color: #7a1f1f;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card h4 {
    margin: 0 0 10px;
    color: #4b5320;
    font-size: 1.35rem;
}

.tentative-event {
    border-left-color: #d8c38b;
}

.past-event {
    opacity: 0.9;
}

/* =========================
   Gallery
========================= */

.gallery-placeholder {
    background: #fffaf0;
    border: 2px dashed #4b5320;
    padding: 40px 20px;
    margin-top: 30px;
    text-align: center;
}

.gallery-placeholder h3 {
    color: #4b5320;
    margin-top: 0;
}

/* =========================
   Photo Grid / Gallery
========================= */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 25px 0 40px;
}

.photo-grid figure {
    margin: 0;
    background: #fffaf0;
    border: 1px solid #d8c38b;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}

.photo-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.photo-grid figcaption {
    margin-top: 10px;
    font-size: 0.92rem;
    line-height: 1.4;
    font-style: italic;
}

.portrait-photo {
    object-position: center top;
}

@media (max-width: 900px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid img {
        height: auto;
    }
}

.photo-grid a {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
}

.photo-grid img {
    transition: transform 0.3s ease;
}

.photo-grid a:hover img {
    transform: scale(1.03);
}

/* =========================
   Join Page
========================= */

.join-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 25px;
    align-items: start;
    margin: 30px 0;
}

.join-poster-wrap {
    text-align: center;
}

.join-poster {
    width: 100%;
    max-width: 370px;
    border: 3px solid #4b5320;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* =========================
   Footer
========================= */

footer {
    background: #2f3517;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-motto {
    color: #d8c38b;
    font-style: italic;
    margin-bottom: 12px;
}

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

footer a:hover {
    color: #d8c38b;
}

.footer-copy {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* =========================
   Mobile
========================= */

@media (max-width: 850px) {
    .join-layout {
        grid-template-columns: 1fr;
    }

    .join-poster {
        max-width: 420px;
    }
}

@media (max-width: 800px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .header-inner {
        flex-direction: column;
        gap: 18px;
    }

    .site-logo {
        width: 150px;
        max-width: 60vw;
    }

    .header-text h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    nav a {
        display: inline-block;
        margin: 6px 10px;
    }
}
