/* Basic CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    line-height: 1.5;
    font-family: Arial, sans-serif;
    background-color: var(--Neon-Noir);
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}


/* --------- */




:root {
    --Neon-Noir: #1A1A1A;
    --silk--white: #FFFFF0;
    --cyber-lime: #C4FF4D;
    --grid-grey: #4D4D4D;
    --vapor-violet: #BA8CFF;
    --Green: #00ff57;
}


/* --------------- */



/* Global Styles */



/* * {
    outline: 1px solid red;
  } */


@font-face {
    font-family: 'headerFont';
    src: url('../font/MangoGrotesque/OpenType-TT/MangoGrotesque-Bold.ttf') format('truetype');

}

@font-face {
    font-family: 'paraFont';
    src: url('../font/Saira/Saira_Condensed-Medium.ttf') format('truetype');

}


p {
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

ul {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}



h2 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1em;
    color: white;
    padding-bottom: 15px;
}


h3 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(2rem, 4vw, 1.5rem);
    line-height: 1em;
    color: var(--Green);
    padding-bottom: 15px;
}

.inline-link {
    color: var(--Green);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}


h4 {
    font-family: "Oswald", sans-serif;
    font-size: clamp(1.5rem, 4vw, 1.5rem);
    color: var(--Green);
}


.section-divider {
    border: none;
    height: 6px;
    width: 200px;
    background-color: var(--Green);
    margin: 1rem auto 0rem auto;
    border: 1px solid #00FF57;
    /* box-shadow: 0 0 6px #00FF57;.  */
}


.container {
    display: grid;
    height: 100%;
    min-height: 100vh;
    /* ⬅️ important change */
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: 'left-content right-content';

}


main {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-around;
    padding-bottom: 10px;

}


.left-content {
    grid-area: left-content;
    overflow: hidden;
    /* 👈 helps stop scrollbars */
}

.left-content img {
    object-fit: cover;
    height: 100%;
    width: 100%;

    /* background: linear-gradient(90deg, #3d9c45, #9ed478); */

    background: #DCE35B;
    /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #45B649, #DCE35B);
    /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #45B649, #DCE35B);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

}


.right-content {
    grid-area: right-content;
    padding: 0rem 2rem 0rem 2rem;
    background-color: var(--Neon-Noir);
    height: 100%;
}


.welcome {
    font-family: "Oswald", sans-serif;
    font-size: clamp(4rem, 10vw, 8rem);
    line-height: 1em;
    color: var(--silk--white);
}

.underline-style {
    text-decoration: underline;
    text-decoration-color: var(--Green);
}


.intro {

    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: "Oswald", sans-serif;
    font-style: normal;
    color: var(--silk--white);
}

.quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: "Oswald", sans-serif;
    font-style: normal;
    color: var(--silk--white);
    align-self: flex-end;
}

/* pills */
.section-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem auto;
    padding: 1rem 1rem;
}

.section-links a {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background-color: rgba(0, 255, 87, 0.1);
    /* subtle green tint */
    color: var(--Green);
    font-weight: bold;
    border: 2px solid var(--Green);
    border-radius: 999px;
    /* pill shape */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.section-links a:hover {
    background-color: var(--Green);
    color: var(--Neon-Noir);
    /* dark background text */
    transform: scale(1.05);
}


/* about */

.about-section {
    margin: 3rem;

    background-color: #333333;
    border-radius: 8px;
}


.about-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem;
    gap: 3rem;
}


.about-content,
.about-video {
    flex: 1 1 300px;
    /* grow, shrink, basis */
    min-width: 300px;
    /* ensures they don’t shrink too small */
}




.about-content {
    flex: 1;
    align-content: center;
    text-align: center;
    min-width: 50%;
    padding: 0rem 3rem;

}


.about-video video {
    width: 100%;
    max-height: auto;
    display: block;
    border-radius: 9px;
}




.members-image {
    max-width: 95%;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    display: block;

}


@media (max-width: 768px) {

    .about-section {
        margin: 3rem 1rem;

    }


    .about-container {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 1rem;
    }

    .about-content {
        align-content: center;
        text-align: center;
        width: auto;
        padding: 0rem 0rem;
    }


    @media (max-width: 480px) {
        .about-video {
            min-width: auto;
            width: 100%;
        }

        .about-video video {
            max-width: 100%;
        }
    }



}


/* CLasses */

.our-classes {
    margin: 3rem 8rem;
}

h2.classes-title {
    font-family: "Oswald", sans-serif;
    font-size: 2.5em;
    line-height: 1em;
    padding-bottom: 2.5rem;
    text-align: center;

}


.classes-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4rem;



}

.classes-list h3 {
    color: var(--Green);
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1em;
    padding-bottom: 1rem;


}

.classes {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

}

.classes h3 {
    text-decoration: var(--Green) 3px underline;
}

.classes img {
    margin-top: 1rem;
    display: block;
    max-inline-size: 100%;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    /* modern CSS way for consistent sizing */
    object-fit: cover;
}

@media (max-width: 1000px) {

    /* classes */

    .our-classes {
        margin: 0.5rem 1.5rem;
    }

    .classes-title {
        margin-top: 3rem;
    }

}

@media (max-width: 740px) {

    /* classes */

    .our-classes {
        margin: 1rem 1rem;
    }

    .classes-title {
        margin-top: 3rem;
    }

    .classes-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem 0rem;
    }
}

/* ------------------------------------------------------ */



/* Call to action join!!------------------------ */



.join-tribe {
    display: flex;
    flex-direction: column;
    text-align: center;
    color: white;
    margin: 3rem 3rem;
    padding: 2rem 1.5rem 0rem 1.5rem;
    background-color: #333333;
    border-radius: 8px;

}

.join-tribe h2 {
    align-self: center;
    font-size: clamp(2rem, 5vw, 3rem);
    color: white;
    margin-bottom: 1rem;
}

.join-tribe p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: white;
    margin-bottom: 1rem;
}

.join-button {
    margin: 1rem auto 3rem;
    width: auto;
    padding: 0.6rem 1.5rem;
    background-color: var(--Green);
    color: var(--Neon-Noir);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;


}

.join-button:hover {
    background-color: #2e7d32;
    /* darker green hover */
}




/* map----------------------------------------- */

.find-Us {
    display: flex;
    flex-direction: row;
    text-align: center;
    margin: 7rem 3rem 7rem 3rem;
    gap: 0rem 3rem;
    flex-wrap: wrap;

}

.address-details h2 {
    text-align: center;
}

.address-details {
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.address {
    padding-bottom: 1rem;
}


.address-socials {
    padding-top: 2rem;
    list-style: none;
    color: white;
}

#map {
    height: 500px;
    flex-grow: 1;
    /* take remaining space */
    border-radius: 18px;
    min-width: 300px;
    /* optional, prevents map from shrinking too small */
}



/* MEDIA QUERY for mobile/tablet */
@media (max-width: 1068px) {
    .find-Us {
        flex-direction: column;
        margin: 1rem;
        row-gap: 3rem;
    }





}





/* Contact Section */

.contact-section {
    background-color: #333333;
    border-radius: 10px;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 900px;
    margin: 4rem auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease both;

}

.contact-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;

}

.contact-section p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: 2rem;
    color: white;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {

    font-weight: bold;

}

.contact-form input,
.contact-form textarea {
    padding: 0.75rem 1rem;
    background-color: var(--grid-grey);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    transition: outline 0.2s ease, background-color 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
    background-color: #5a5a5a;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--Green);
    box-shadow: 0 0 8px var(--Green);
}

.contact-button {
    align-self: center;
    width: 100%;
    padding: 1rem 2rem;
    background-color: var(--Green);
    color: var(--Neon-Noir);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #2e7d32;
}


@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* FAQ*/


.faq-section {
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #333333;
    color: white;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 2rem;

}

.accordion-item {
    border: 2px solid var(--Green);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: #333333;
    transition: border-color 0.3s ease;
}

.accordion-toggle {
    background: none;
    border: none;
    width: 100%;
    color: white;
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
}

.accordion-toggle:hover {
    background-color: #444;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.25rem;
    font-size: 1rem;
}

.accordion-content p {
    margin: 1rem 0;
}

.accordion-toggle.active+.accordion-content {
    max-height: 500px;
    padding-bottom: 1rem;
}

/* ----------------------------- */





/* footer */

.footer-section {
    background-color: #333333;
    padding: 2rem 6rem;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sitemap-section {
    display: flex;
    flex-direction: column;
}

.footer-title h2 {
    font-family: "Oswald", sans-serif;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-link a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

.social-link a:hover {
    color: var(--Green);
}




/* ------------------ */


@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;

        grid-template-areas:
            "right-content"
            "left-content";

    }

    main {
        padding-top: 20px;
        gap: 20px;

    }


    .scroll-down {
        display: none;
    }


    .left-content {
        height: auto;

    }



    .section-divider {


        height: 4px;
        width: 200px;
        /* Increased length */


    }


    .join-tribe {
        margin: 2rem 1rem 2rem 1rem;

    }


    .members-image {

        width: 100%;
        /* give it a definite width */
        aspect-ratio: 1 / 1;
        object-fit: cover;
        /* ensures it crops instead of squashing */

    }

}