/* style.css */

* { box-sizing: border-box; }

/* 1. Targets links inside <main> - covers both new and visited links */
main a, 
main a:link, 
main a:visited, 
main a:active {
    color: #000000 !important;         
    text-decoration: underline !important; 
    text-decoration-thickness: 0.5px !important; 
    text-underline-offset: 3px;     
    transition: color 0.3s ease;
}

/* 2. Hover state */
main a:hover {
    color: #666666 !important;         
    text-decoration: underline !important; 
    text-decoration-thickness: 1px !important; 
}

:root {
    --navy: #002d56;
    --gold: #b5a478;
    --cream: #fdfcf8;
}

html {
    overflow-x: hidden;
}

body { 
    font-family: 'Jost', sans-serif; 
    line-height: 1.6; 
    color: #000000; 
    margin: 0; 
    padding: 0 0 40px 0;
    min-height: 100vh;
    background: 
        linear-gradient(rgba(255, 252, 248, 0.5), rgba(255, 252, 248, 0.5)),
        url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
}

/* --- Full-Width Black Banner --- */
.banner-outer {
    width: 100%;
    height: 100px;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.banner-inner {
    width: 100%;
    max-width: 800px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header-logo {
    height: 60px;
    width: auto;
    display: block;
}

/* --- Navigation --- */
.nav-container {
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
    background: transparent; 
}

.nav-menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-menu a:hover { color: var(--gold); }

.btn-support { 
    border: 1px solid #ffffff; 
    padding: 4px 10px; 
}

/* --- Content Area & Transparent Cards --- */
main { 
    max-width: 800px; 
    margin: 0 auto; 
    padding: 0 0px; 
}

/* Container for the two columns */
.two-column-row {
    background: transparent;
    padding: 0px;
    border-radius: 0px;
    display: flex;
    display: -webkit-flex; /* Browser compatibility */
    align-items: center;    /* Vertically centers content in both columns */
    gap: 40px;              /* The gutter/space between columns */
    width: 100%;
}

/* Forces both columns to be exactly the same width */
.column {
    background: transparent;
    flex: 1;
    width: 50%; 
}

.column img {
    max-width: 100%;    /* This is the key: it can't get wider than the column */
    height: auto;       /* Maintains the aspect ratio */
    display: block;
}

/* Responsive: Stacks columns on screens smaller than 768px */
@media (max-width: 768px) {
    .two-column-row {
        flex-direction: column;
        text-align: center;
    }
    .column {
        width: 100%;
    }
}

/* --- Mission Row Layout --- */
.mission-row {
    display: flex;
    align-items: center; /* This vertically centers the text to the left of the image */
    gap: 40px;           /* Adjusts the space between the text and the image */
    margin-bottom: 20px;
}

.mission-text, .mission-image {
    flex: 1;             /* Ensures both columns take up equal width */
}

/* --- Spacing Fix --- */
.section-spacer {
    clear: both;         /* Prevents any elements from overlapping */
    height: 40px;        /* Controls the gap between the paragraph and the H3/Pillars */
}

/* --- Responsive Stacking (Mobile) --- */
@media (max-width: 768px) {
    .mission-row {
        flex-direction: column; /* Stacks the text on top of the image on small screens */
        text-align: center;
    }
    .mission-image {
        width: 100%;
    }
}

.content-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.content-card p:first-of-type {
    margin-top: 0;
}

/* --- Custom Styled Lists --- */
.content-card ul {
    list-style: none; /* Removes default bullets */
    padding-left: 0;
}

.content-card li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Creates a custom Gold square bullet */
.content-card li::before {
    content: "■"; 
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.8rem;
    top: 2px;
}

.content-card li strong {
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

h2 { 
    border-bottom: 1px solid var(--navy); 
    padding-bottom: 10px; 
    margin-top: 20px; 
    text-transform: uppercase; 
    color: var(--navy);
    letter-spacing: 1px;
}

h3 { 
    border-bottom: 1px solid var(--navy); 
    padding-bottom: 10px; 
    margin-top: 20px; 
    text-transform: uppercase; 
    color: var(--navy);
    letter-spacing: 1px;
}

/* --- Form Styles (New) --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.form-group { 
    display: flex; 
    flex-direction: column; 
}

.contact-form label { 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    margin-bottom: 5px; 
    color: var(--navy);
}

.contact-form input, 
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    font-family: 'Jost', sans-serif;
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
    font-size: 1rem;
}

.contact-form button[type="submit"] {
    background: #000;
    color: white;
    padding: 15px;
    border: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 10px;
}

.contact-form button[type="submit"]:hover { 
    background: var(--gold); 
    color: #000;
}

/* --- Image Wrapping --- */
.img-right {
    float: right;
    max-width: 310px;
    width: 100%; 
    height: auto;
    margin-left: 20px;
    margin-bottom: 15px;
}

.img-left {
    float: left;
    max-width: 310px;
    width: 100%;
    height: auto;
    margin-right: 20px;
    margin-bottom: 15px;
}
.img-center-full {
    display: block;       /* Forces the image to be its own block */
    margin-left: auto;    /* Pushes from the left */
    margin-right: auto;   /* Pushes from the right */
    max-width: 750px;
    width: 100%; 
    height: auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

.img-center {
    display: block;
    margin: 20px auto;   /* Centers the image and adds vertical spacing */
    max-width: 100%;     /* Crucial: Prevents image from being wider than the screen */
    width: 750px;        /* Sets a preferred size for desktop */
    height: auto;        /* Maintains the original aspect ratio */
}

/* Mobile Adjustment */
@media (max-width: 600px) {
    .img-center-full {
        width: 100%;     /* On phones, let it take up the full available width */
        margin: 15px auto;
    }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 600px) {
    .img-right, .img-left {
        float: none;
        display: block;
        margin: 0 auto 20px auto;
        max-width: 100%;
    }
}

/* --- Footer --- */
footer { 
    max-width: 800px;
    margin: 0px auto 0 auto; 
    padding: 20px; 
    border-top: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.8); 
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
footer p {
    font-size: 0.5rem;      /* Makes the text smaller */
    color: #666;             /* Optional: dims the color slightly for a cleaner look */
    letter-spacing: 0.5px;   /* Optional: adds a bit of air between letters */
    margin: 0 5px 0 0;      /* Adds a little space above the text */
}
.footer-content { display: flex; flex-direction: column; align-items: flex-end; }
.footer-logo { width: 160px; height: auto; margin-bottom: -10px; }

/* --- Mobile Styles --- */
.menu-toggle { display: none; }

@media (max-width: 768px) {
    .menu-toggle { 
        display: block; 
        background: transparent; 
        padding: 10px;
        border: 1px solid #fff;
        cursor: pointer;
    }
    .menu-toggle span { 
        display: block; width: 22px; height: 2px; background: white; margin: 5px 0; 
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background: rgba(0,0,0,0.9); 
        text-align: center;
        padding: 20px 0;
        border: 1px solid #333;
        box-shadow: 0 10px 15px rgba(0,0,0,0.3);
        z-index: 1000;
    }
    .nav-menu.active { display: flex; }
    .nav-menu li { margin: 10px 0; }
}
