/* ============================================
   RESET & BASE
============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red:   #C0272D;
    --green: #2A7A2A;
    --dark:  #1C1C1C;
    --cream: #FAF9F6;
    --cream-alt: #F0EFEC;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--cream);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}


/* ============================================
   NAV
============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(28, 28, 28, 0.97);
    border-bottom: 2px solid var(--red);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1.25rem;
}

.nav-logo {
    width: 52px;
    height: auto;
}

/* Hamburger button */
.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--cream);
    transition: transform 0.25s, opacity 0.25s;
}

/* Open state */
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(28, 28, 28, 0.99);
    border-top: 1px solid rgba(192, 39, 45, 0.4);
    padding: 0.5rem 0 1rem;
}

.nav-links.open {
    display: flex;
}

.nav-links li a {
    display: block;
    color: var(--cream);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1.5rem;
    transition: color 0.2s;
}

.nav-links li a:hover {
    color: var(--green);
}


/* ============================================
   HERO
============================================ */
#hero {
    position: relative;
    min-height: 100vh;
    background: url('assets/hero.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 7rem 1.5rem 4rem;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 28, 28, 0.60);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 8vw, 3.75rem);
    color: var(--cream);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.sub-headline {
    color: rgba(250, 249, 246, 0.82);
    font-size: clamp(1rem, 3vw, 1.15rem);
    margin-bottom: 2.25rem;
    max-width: 480px;
}

.btn-primary {
    display: inline-block;
    background: var(--red);
    color: var(--cream);
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #a31f25;
}


/* ============================================
   STATS BAR
============================================ */
#stats {
    background: var(--dark);
    padding: 3rem 1.5rem;
}

.stats-container {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
}

.stat-block {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-number {
    font-size: clamp(2rem, 7vw, 3rem);
    font-weight: 900;
    color: var(--red);
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.65;
}


/* ============================================
   ABOUT
============================================ */
#about {
    background: var(--cream);
    padding: 5rem 1.5rem;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-text h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--red);
}

.about-text p {
    font-size: 1rem;
    color: #3a3a3a;
    margin-bottom: 1rem;
    max-width: 540px;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}


/* ============================================
   CONTENT PILLARS
============================================ */
#content {
    background: var(--cream-alt);
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* Shared section heading style */
#content h2,
#partnerships h2,
#contact h2 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 900;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

#content h2::after,
#partnerships h2::after,
#contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--red);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.pillar-tile {
    background: var(--dark);
    border-top: 3px solid var(--red);
    padding: 2rem 1.75rem;
}

.pillar-tile h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.pillar-tile p {
    font-size: 0.92rem;
    color: rgba(250, 249, 246, 0.65);
    line-height: 1.5;
}


/* ============================================
   PARTNERSHIPS
============================================ */
#partnerships {
    background: var(--cream);
    padding: 5rem 1.5rem;
}

.partnerships-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.partnerships-pitch p {
    font-size: 1rem;
    color: #3a3a3a;
    margin-bottom: 1.1rem;
    max-width: 540px;
}

.partnerships-pitch .accepting {
    font-weight: 700;
    color: var(--dark);
    font-size: 0.95rem;
}

.partnerships-types ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.partnerships-types ul li {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    padding-left: 1.25rem;
    position: relative;
}

.partnerships-types ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
}


/* ============================================
   CONTACT
============================================ */
#contact {
    background: var(--cream-alt);
    padding: 5rem 1.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 620px;
    margin-bottom: 2.25rem;
}

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

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark);
}

.form-group input,
.form-group textarea {
    background: #fff;
    border: 1px solid #ccc;
    padding: 0.75rem 0.9rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark);
    outline: none;
    border-radius: 0;
    width: 100%;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--red);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    background: var(--red);
    color: var(--cream);
    border: none;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    align-self: flex-start;
    transition: background 0.2s;
    font-family: inherit;
}

.btn-submit:hover {
    background: #a31f25;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #555;
}

.contact-info a {
    color: var(--red);
    font-weight: 600;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--green);
}


/* ============================================
   FOOTER
============================================ */
#footer {
    background: var(--dark);
    border-top: 3px solid var(--red);
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-logo {
    width: 72px;
    height: auto;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(250, 249, 246, 0.4);
    letter-spacing: 0.04em;
}


/* ============================================
   RESPONSIVE — TABLET (640px+)
============================================ */
@media (min-width: 640px) {
    .stats-container {
        flex-direction: row;
        justify-content: space-around;
        align-items: flex-start;
    }

    .pillars-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-image img {
        height: 360px;
    }
}


/* ============================================
   RESPONSIVE — DESKTOP (900px+)
============================================ */
@media (min-width: 900px) {
    /* Nav: hide hamburger, show inline links */
    .nav-toggle {
        display: none;
    }

    .nav-links {
        display: flex !important;
        flex-direction: row;
        position: static;
        background: none;
        border: none;
        padding: 0;
        gap: 2rem;
    }

    .nav-links li a {
        padding: 0;
        font-size: 0.85rem;
    }

    /* Hero */
    #hero {
        padding: 8rem 5rem 4rem;
    }

    /* About two-column */
    .about-container {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .about-text {
        flex: 1 1 50%;
    }

    .about-image {
        flex: 1 1 50%;
    }

    .about-image img {
        height: 440px;
    }

    /* Partnerships two-column */
    .partnerships-grid {
        flex-direction: row;
        gap: 5rem;
        align-items: flex-start;
    }

    .partnerships-pitch {
        flex: 3;
    }

    .partnerships-types {
        flex: 2;
    }

    /* Footer row layout */
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: center;
    }
}
