/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@font-face {
  font-family: "Excelerate";  /* ← YOU choose this name */
  src: url("./assets/fonts/excelate.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

/* Design Tokens */
:root{
    /* Colors */
    --color--primary: black;
    --color--secondary: #DD1D25;
    --color--tertiary:  #F0C00C;
    --color--accent: #B3B3B3;
    --color--background: #FFFFFF;

    /* Fonts */
    --font--brand: "excelerate", sans-serif;
    --font-copy: "Oswald", sans-serif;
    
      /* Spacing System */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;

    /* Font Sizes */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-lg: 1.25rem;   /* 20px */
    --text-xl: 1.75rem;   /* 28px */
    --text-xxl: 2.5rem;   /* 40px */

    @media(min-width: 768px){
    --text-sm: 1rem;  /* 14px */
    --text-base: 1.25rem;    /* 16px */
    --text-lg: 1.5rem;   /* 20px */
    --text-xl: 2.5rem;   /* 28px */
    --text-xxl: 3rem;   /* 40px */

    }


}



body {
  font-family: var(--font-copy);
  font-size: var(--text-base);
  display: flex;
  flex-direction: column;
  background-color: var(--color--primary);
  color: var(--color--background);
  overflow-x: hidden;
  margin: 0;
  align-items: center;
}


/* Headings */

h1 {
  font-family: var(--font-copy);
  font-size: var(--text-xxl);
  margin-bottom: var(--space-sm);
  font-weight: bold;
}

h2 {
  font-family: var(--font-copy);
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  font-weight: bold;
}

h3 {
  font-family: var(--font-copy);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
  font-weight: bold;
}

h4 {
  font-family: var(--font-copy);
  font-size: var(--text-base);
  margin-bottom: var(--space-sm);
  font-weight: bold;
}

h5 {
  font-family: var(--font-copy);
  font-size: var(--text-sm);
  margin-bottom: var(--space-sm);
  font-weight: bold;
}



/* Paragraphs */

p {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}


/* anchors */

a {
  font-size: var(--text-base);
  text-decoration: none;
  color: var(--color--background);
}

.button.red{
    text-align: center;
    background-color: var(--color--secondary);
    z-index: 3;
    min-width: 6rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.button.generic{
    border: 1px solid var(--color--primary);
    background-color: var(--color--primary);
    min-width: 6rem;
    padding: 0.5rem;

}

/* Sections */

.section{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: var(--space-lg);

}

.section-inner{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

/* Navigation */

.nav{
    display: flex;
    flex-direction: row;
    position: sticky;
    width: 100%;
    height: 5rem;
    justify-content: flex-end;
    z-index: 1000;
    top: 0;
    background-color: var(--color--primary);
}

@media(min-width: 1024px){
    .nav{
        height: 8rem;
    }
}

.nav::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 12.5%;
    width: 100%;
    background-color: var(--color--tertiary);
}

.nav::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 12.5%;
    width: 100%;
    background-color: var(--color--tertiary);
}

.nav-logo{
    background-image: url(./assets/svg/logo.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 250px;
    height: 80%;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-55%);
}

.nav-hamburger{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color--background);
    position: relative;
    right: 5%;
}

.nav-buttons{
    display: none;
}


.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--color--background);
    position: relative;
}

.hamburger.active{
    color: var(--color--primary);
    background-color: var(--color--primary);
}

.nav-cta{
    display: none;
}

@media(min-width: 1024px){
    .nav{
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1.5fr 0.75fr;
        grid-template-rows: 1fr;
        justify-content: space-between;
    }

    .nav-hamburger{
        display: none;
    }

    .nav-buttons{
        display: flex;
        align-items: center;
        justify-content: space-around;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 100%;
        
    }

    .nav-logo{
        display: flex;
        justify-content: center;
        align-items: center;
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        justify-self: center;
        align-self: center;
    }

    .nav-cta{
        grid-column: 3 / 4;
        grid-row: 1 / 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* COMMON LINE STYLES */
.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--color--background);

    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
}

/* INITIAL POSITIONS */
.hamburger::before {
    transform: translateY(-10px);
}

.hamburger::after {
    transform: translateY(10px);
}

/* FORWARD */
.hamburger.active::before {
    animation-name: moveupRotate;
}

.hamburger.active::after {
    animation-name: movedownRotate;
}

/* REVERSE */




@keyframes movedownRotate{
    0%{
        transform: translateY(-10px) rotate(0deg);
    }

    60%{
        transform: translateY(0px) rotate(0deg);
    }

    100%{
        transform: translateY(0px) rotate(45deg);
    }

    
}

@keyframes moveupRotate{
    0%{
        transform: translateY(10px) rotate(0deg);
    }

    60%{
        transform: translateY(0px) rotate(0deg);
    }

    100%{
        transform: translateY(0px) rotate(-45deg);
    }

    
}

/* Slide Out */

.nav-slide-out{
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    top: 5rem;
    position: fixed;
    right: -100%;
    transition: right 0.5s ease;
    z-index: 999;
    background-color: var(--color--primary);
}

.nav-slide-out.active{
    right: 0%
}

.slide-out-anchor{
    font-family: var(--font--brand);
    color: var(--color--secondary);
    text-decoration: none;
    font-size: 24px;
    align-self: flex-start;
}

@media(min-width: 768px){
    .slide-out-anchor{
        font-size: 34px;
    }
}

.nav-slide-out hr{
    background-color: var(--color--tertiary);
    color: var(--color--tertiary);
    border: none;
    height: 4px;
    width: 100%;
    align-self: flex-start;

}

.slide{
    align-items: flex-start;
    width: 90%;
}

/* ---------------- */
/* Homepage */
/* ---------------- */

.hero{
    height: 87.5vh;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    position: relative;
}

#home-hero{
    object-fit: cover;
    object-position: 90%;
    height: 100%;
    width: 100%;

}

.hero:before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--color--tertiary);
    opacity: 40%;
    z-index: 1;
}

.hero-content{
    z-index: 2;
    position: absolute;
    left: 10%;
    top: 30%;

}

.hero-buttons{
    position: absolute;
    top: 70%;
    z-index: 3;
    width: 100%;
}

.hero-buttons-inner{
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;

}

@media(min-width: 1024px){
    .hero-content{
        top:10%;
    }
}

/* SVG Trust Section */
.desktop-grid-3{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.svg-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    align-self: center;
    width: 100%;
    
}

.svg-icon{
    height:150px;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.svg-content{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}




@media(min-width:1024px){
    .desktop-grid-3{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr;
        align-self: center;
        gap: 20px;
    }
}


/* Classes */
.photo-anchor{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.image{
    object-fit: cover;
    object-position: center;
    z-index: 2;
    position: absolute;

}


.photo-card{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
    width: 250px;
    background-color: var(--color--secondary);
    overflow: hidden;
    position: relative;
    
}

.photo-card::before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 30%;
    pointer-events: none;
    z-index: 3;
    background-color: var(--color--tertiary);
}

.photo-card-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
}





@media(min-width:1024px){
    

    .photo-card{
        height: 300px;
        width: 300px;
    }
}


@media(min-width: 1200px){
    .photo-card{
        height: 350px;
        width: 350px;
    }
}







/* Coach Mobile */

.info-card{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

#coachCard{
    background-color: var(--color--tertiary);
}

.card-photo{
    width: 100%;
    height: 250px;
}

@media(min-width: 728px){
    .card-photo{
        height: 350px;
    }
}

@media(min-width: 1024px){
    .card-photo{
        height: 250px;
    }
}

.info-image{
    object-fit: cover;
    height: 100%;
    width: 100%;
    object-position: center;
}


.info-card-content{
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--space-md);
}

.desktop-grid-2{
    display: flex;
    flex-direction: column;
    align-items: center;
}



@media(min-width: 1024px){
    .desktop-grid-2{
        display: grid;
        grid-template-rows: auto auto;
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
        align-content: center;
        gap: var(--space-sm);
        max-height: 600px;
    }

    .card-photo{
        min-height: 100%;
        grid-column: 1 / 2;
        grid-row: 1 / 3;
    }

    .info-card-content{
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin-bottom: 4rem;
    }

    .info-header{
        width: 100%;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin-top: 4rem;
    }

    .test-header{
        width: 100%;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }
}



/* Testimonials */

#testimonialCard{
    background-color: var(--color--secondary);
}

#testimonial{
    object-position: center top;
}

#ic2{
    background-image: url(./assets/images/6.webp);
    background-position: center 30%;
}



/* Frequently Asked Questions */

.faq-heading{
    text-align: center;
}

.faq-combo{
    width: 100%;
    overflow: hidden;
}

.faq-question{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--color--background);
}

.arrow{
    filter: invert(1);
    height: 2rem;
    transition: transform 0.5s ease;
}

.arrow.active{
    transform: rotate(-180deg);
}

.faq-slide-out{
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s ease;
    
}

.faq-slide-out.active{
    grid-template-rows: 1fr
}

.faq-slide-out-inner{
    overflow: hidden;
}

/* Maps Embed */

.maps-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    
}

.maps-grid{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maps-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;

}

#mapsButton{
}

.gmaps{
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;

}

@media(min-width: 728px){
    .maps-grid{
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .maps-contact{
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        width: 100%;

    }

    .gmaps{
        width: 100%;
        min-height: 400px;
    }
}

@media(min-width: 1024px){
    .maps-grid{
        display: grid;
        grid-template-rows: 1fr;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .gmaps{
        width: 100%;
        min-height: 500px;
    }

}

/* CTA */

.cta-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section.cta{
    background-color: var(--color--secondary);
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Footer */

.section.footer{
    margin-top: 0px;
    position: relative;

}

.footer-nav{
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 5px;
    margin-top: 30px;
}

.footer-social{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.footer-svgs{
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    width: 80%;
}

.social{
    height: 40px;
}

.footer-contact{
    display: none;
}


@media(min-width: 1024px){
    .desktop-footer{
        display: grid;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        align-items: start;
        grid-template-columns: 1fr 2fr 1fr;
        grid-template-rows: 1fr;

    }

    .footer-contact{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        grid-column: 3 / 4;
        text-align: left;
    }

    

    .footer-nav{
        grid-column: 2 / 3;
        justify-content: space-between;
        height: 100%;

    }

    .footer-social{
        grid-column: 1 / 2;
        justify-content: flex-start;
    }
}


/* ------------- */
/* About ------- */
/* ------------- */

/* Hero */

.half-hero{
    height: 30vh;
    width: 100%;
    position: relative;
    z-index: 1;
}

#half-hero{
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.half-hero:before{
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--color--tertiary);
    opacity: 40%;
    z-index: 2;
}

.half-hero-content{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.half-hero-content > *{
    font-family: var(--font--brand);
    color: var(--color--secondary);
    font-size: var(--text-xl);
    text-align: center;
}

@media(min-width: 728px){
    .half-hero-content > *{
        font-size: 44px;
    }
}

@media(min-width: 1024px){
    .half-hero-content > *{
        font-size: 48px;
    }
}

#aboutHH{
    background-image: url(./assets/images/10.webp);
}

/* Coaches */



/* Facilities */

#facilities{
    object-position: center;
}


/* Timeline */

.two-grid{
    display: flex;
    flex-direction: column;
    width: 100%;
}



@media(min-width: 1024px){
    .two-grid{
        display: grid;
        grid-template-columns: 50% 50%;
        grid-template-rows: 1fr;
        justify-content: center;
        max-width: 85%;
    }

    #mission{
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    #timeline{
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        width: 100%;
    }
}


.slide-container{
    position: relative;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
}

.slide-track{
    display: flex;
    transition: transform 0.3s ease;
}

.slide-card{
    min-width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}



.slide-image{
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 200px;
    width: 200px;
    background-color: #F0C00C;
    border-radius: 100%;
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#s1{
    background-image: url(./assets/images/draco-fight-camp-BJJ.webp);
}

#s2{
    background-image: url(./assets/images/draco-fight-camp-grappelling.webp);
}

#s3{
    background-image: url(./assets/images/draco-fight-camp-kids2.webp);
}

#s4{
    background-image: url(./assets/images/draco-fight-camp-kids3.webp);
}

.slide-image > h2{
    font-size: 64px;
    margin: 0px;
}



/* -------------- */
/* Classes ------ */
/* -------------- */

@media(min-width: 1024px){
    .info-card.class{
        max-height: 500px;
    }
}

/* ------------------ */
/* Individual Classes */
/* ------------------ */

/* BJJ */

/* Hero */

/* Standard class */


/* --------------- */
/* Schedule -------*/
/* --------------- */

/* shedule Drop down */

.schedule-heading{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.schedule-combo{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;

    
}

.dow{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.schedule-combo h2{
    margin-bottom: 0;
}

.arrow-schedule{
    filter: invert(1);
    height: 30px;
    position: absolute;
    right: 0;
    bottom: -3px;
    transition: transform 0.5s ease;
}

.arrow-schedule.active{
    transform: rotate(-180deg);
}


.schedule-combo > hr{
    width: 100%;
    height: 3px;
    color: var(--color--background);
    background-color: var(--color--background);
}



.schedule-slide{
    display: grid;
    width: 100%;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.5s ease;
}

.schedule-slide.active{
    grid-template-rows: 1fr;
    overflow: visible;
}

.schedule-slide-inner{
    overflow: hidden;
}

.class-row{
    display: flex;
    justify-content: space-between;
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
}

/* Contact */

/* Layout */
.contact {
  width: 70%;
  max-width: 900px; 
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Form */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  align-self: stretch;
  margin-top: 20px;
}

/* Inputs */
input,
textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
}

/* Textarea */
textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button */
button {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #000;
  background: none;
  cursor: pointer;
}

/* Hover (very minimal) */
button:hover {
  background: #000;
  color: #fff;
}

/* Mobile tweaks */
@media (max-width: 500px) {

  input,
  textarea,
  button {
    font-size: 15px;
    padding: 10px;
  }
}

