/* ======================================== 
   GLOBAL & RESET
   ======================================== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Oswald", sans-serif;
}  

body {
    width: 100%;
    overflow-x: hidden;
}

/* ======================================== 
   HEADER & NAV
   ======================================== */
header {
    padding: 20px 30px;
    background-image: url(colorG.png);
    background-size: cover;
    background-position: center;
}

nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    display: flex;  
    flex-direction: row;
    list-style: none;
}

nav > ul > li {
    display: flex;
    margin-right: 20px;
    font-size: 1.5rem;
    color: white;
}

nav > ul > li a {
    color: white;
    text-decoration: none;
}

#logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.donate {
    padding: 10px 20px;
    color: rgb(105, 117, 135);
    border-radius: 4px;
    background: white;
    align-self: center;
    text-decoration: none;
    font-weight: bold;
}

#burger {
    display: none;
}

/* ======================================== 
   MAIN / HERO
   ======================================== */
main {
    text-align: center;
    color: white;
    padding: 100px 20px;
    background-image: url(colorG.png);
    background-size: cover;
    background-position: center;
}

main > a {
    font-size: 1.5rem;
    color: white;
    text-decoration: underline;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    padding-top: 20px;
    line-height: 1.2;
}

main p {
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    margin: 30px auto;
    max-width: 800px;
    line-height: 1.5;
}

/* ======================================== 
   WHY & VOLUNTEER (SHARED DOUBLE CLASS)
   ======================================== */
.double {
    text-align: center;
    margin: 80px auto;
    padding: 0 20px;
    max-width: 800px;
    color: rgb(43, 48, 57);
}

.double h2 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin-bottom: 20px;
}

.double p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
}

/* ======================================== 
   HIRE US & GYM SECTION
   ======================================== */
.container1 {
    display: flex;
    flex-direction: row; 
    background: rgb(219, 222, 225); 
    text-align: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
}

.gym, .visit {
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    align-items: center;
    max-width: 500px;
    width: 100%;
}

.gym, .visit, .volunteer, a {
    text-decoration: none;
    color: rgb(43, 48, 57);
}

#b1, #b2 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 280px;
    width: 100%;
    max-width: 500px;
    border-radius: 4px;
}

#b1 {
    background-image: url('block1.webp');
}

#b2 {
    background-image: url('block2.webp');
}

.container1 p {
    padding: 0 15px;
    line-height: 1.5;
}

.container1 h3 {
    padding: 25px 0 15px 0;
    font-size: 1.8rem;
}

.click {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid rgb(105, 117, 135);
    border-radius: 4px;
    background: transparent;
    margin-top: 30px;
    transition: background 0.3s, color 0.3s;
    font-weight: bold;
}

.click:hover {
    background: rgb(105, 117, 135);
    color: white;
}

/* ======================================== 
   FOOTER
   ======================================== */
footer { 
    background: rgb(30, 36, 45);
    color: white;
    font-size: 1.2rem;
    padding: 60px 40px 30px 40px;
}

.containerTop {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.social {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.mini .light {
    color: rgb(189, 189, 189);
    font-size: 0.9rem;
}

.mini .bold {
    font-weight: bold;
}

.info {
    max-width: 350px;
    line-height: 1.5;
}

.info a {
    color: white;
    font-style: normal;
}

.containerZ {
    color: rgb(189, 189, 189);
    margin-top: 15px;
}

.containerZ address a {
    color: rgb(189, 189, 189);
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 40px;
    padding-top: 20px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    gap: 20px;
}

.bottom p {
    font-size: 0.9rem;
    color: rgb(189, 189, 189);
}

.bottom img {
    height: 35px;
    width: 35px;
}

/* ======================================== 
   MEDIA QUERIES (RESPONSIVENESS)
   ======================================== */

/* TABLET LEVEL (Below 900px) */
@media (max-width: 900px) {
    .container1 {
        flex-direction: column;
        align-items: center;
        padding: 60px 20px;
    }

    #b1, #b2 {
        height: 240px;
    }

    .double {
        margin: 60px auto;
    }
}

/* MOBILE LEVEL (Below 650px) */
@media (max-width: 650px) {
    nav > ul > li {
        display: none;
    }

    #burger {
        display: block;
        font-size: 1rem;
        padding: 8px 16px;
        color: rgb(105, 117, 135);
        border-radius: 4px;
        background: white;
        cursor: pointer;
        font-weight: bold;
    }

    header {
        padding: 15px 20px;
    }

    main {
        padding: 60px 15px;
    }

    .containerTop {
        flex-direction: column;
        gap: 30px;
    }

    .social {
        flex-direction: column;
        gap: 20px;
    }

    .bottom {
        flex-direction: column-reverse;
        text-align: center;
        gap: 15px;
    }
}

/* SMALL MOBILE (Below 380px down to 320px) */
@media (max-width: 380px) {
    #b1, #b2 {
        height: 180px;
    }

    .donate, #burger {
        padding: 6px 12px;
        font-size: 0.85rem;
    }

    .click {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
    }

    footer {
        padding: 40px 20px 20px 20px;
    }
}