*,
*::before,
*::after {
    font-family: 'Oswald', 'Helvetica', sans-serif;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-size: 62.5%;
}
header {
    background: #66768a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 5%;
}
.header-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.left-span a {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-logo img {
    width: 6rem;
    max-width: 100%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.donate-link a {
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    color: #66768a;
    background-color: #fff;
    border: 1px;
    border-radius: 5px;
    padding: 8px 12px;
}

/* Burger button - hidden until nav links no longer fit */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 3.4rem;
    height: 3.4rem;
    background: none;
    border: 1px solid #ffffff66;
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 1.7rem;
    height: 2px;
    background: #fff;
    margin: 0 auto;
}

/* Mobile dropdown menu - hidden by default, toggled by js/nav.js */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #556475;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.25s ease;
}
.mobile-menu.open {
    max-height: 300px;
}
.mobile-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.4rem;
    padding: 1.4rem 5%;
    border-top: 1px solid #ffffff30;
}

.hero {
    text-align: center;
    background: #66768a;
    background-image: url(/images/levelgrndbackgrnd.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 6rem 10%;
}
h1 {
    font-size: clamp(2.6rem, 1.9rem + 3vw, 5.4rem);
    font-weight: 400;
    color: #fff;
    background: #0000002c;
    line-height: 1.2;
}
.hero p {
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    word-spacing: .2rem;
    padding: 2rem 0;
    background: #0000002c;
    max-width: 60rem;
    margin: 0 auto;
}
.why-section {
    text-align: center;
    padding: 6rem 10%;
    max-width: 90rem;
    margin: 0 auto;
}
.why-section h2 {
    font-size: 2.4rem;
    font-weight: 500;
}
.why-section p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.2rem;
}
.visit-section {
    background: #dbdfe2;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    padding: 7rem 7.5%;
}
.visit-card {
    flex: 1 1 300px;
    max-width: 40rem;
}
.gym-pic {
    height: 15rem;
    width: 60%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
}
.visit-card h3 {
    font-size: 1.6rem;
    font-weight: 500;
    padding-top: 2rem;
}
.visit-card p {
    font-size: 1.4rem;
    line-height: 2rem;
    padding-bottom: 2rem;
}
.visit-card button {
    text-decoration: none;
    color: #000;
    background: transparent;
    border: 1px solid #000;
    font-size: 1.2rem;
    padding: .8rem 3rem;
    cursor: pointer;
}
.volunteer-section {
    text-align: center;
    padding: 6rem 10%;
    max-width: 90rem;
    margin: 0 auto;
}
.volunteer-section h2 {
    font-size: 2.4rem;
    font-weight: 500;
}
.volunteer-section p {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2rem;
    padding: 2rem 0;
}
.volunteer-section span a {
    text-decoration: none;
    color: #000;
    border: 1px solid #000;
    font-size: 1.2rem;
    padding: .8rem 3rem;
    display: inline-block;
}
footer {
    background: #161f2a;
    padding: 2rem 5% 1rem;
}
.footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
    border-bottom: 1px solid #fff;
    padding-bottom: 2rem;
}
.footer-links span {
    color: #fff;
    font-size: .9rem;
    padding-right: 1.5rem;
    display: inline-block;
}
.footer-links span a {
    color: #fff;
    display: inline-flex;
}
.footer-links p {
    color: #ffffff6c;
    font-size: .9rem;
    padding-top: 1.5rem;
}
.footer-address p {
    color: #fff;
    font-size: .9rem;
    padding-bottom: .8rem;
    line-height: 1.6;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
}
.footer-bottom p {
    color: #fff;
    font-size: .85rem;
    max-width: 45rem;
}
.footer-bottom img {
    width: 3.5rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .left-span {
        display: none;
    }
    .burger {
        display: flex;
    }
    .mobile-menu {
        display: flex;
    }
    .visit-section {
        padding: 5rem 7.5%;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1.2rem 6%;
    }
    .hero, .why-section, .volunteer-section {
        padding: 4rem 6%;
    }
    .visit-section {
        padding: 4rem 6%;
    }
    .mobile-link {
        padding-left: 6%;
        padding-right: 6%;
    }
    .why-section p, .volunteer-section p {
        font-size: 1.3rem;
    }
    .gym-pic {
        width: 80%;
    }
    .footer-bottom p {
        font-size: .8rem;
    }
}
