@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Text:ital@0;1&family=Heebo:wght@100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;

}

:root {
    --color--spuma: #EAEDF1;
    --color--azurine: #BACBDF;
    --color--primary: #5F7DAF;
    --color--dark: #001042;
    --color--azure: #BACBDF;

}

body {
    background-color: var(--color--spuma);
    min-height: 100vh;

}

html, body {
  max-width: 100%;
  overflow-x: hidden;

}


html {
    scroll-behavior: smooth;
}

.img-fluid {max-width: 100%; height: auto;}

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  padding: 10px 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 1002;
  background-color: transparent;
  transition: background-color 0.4s ease;

}


nav.nav-colored {
  background-color: var(--color--primary);

}

nav.nav-colored .desktop ul li a {
  color: var(--color--spuma); 

}


.desktop ul li a {
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: white;

}

.desktop ul{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 90px;

}

nav ul li {
    list-style: none;
    text-transform: uppercase;

}

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

}
.hamburger {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    height: 3px;
    width: 30px;
    border-radius: 2px;
    background-color: white;
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    transform-origin: center; 
}

.hamburger span:nth-of-type(1) {
    top: 0px;
}

.hamburger span:nth-of-type(2) {
    top: 9px;
}

.hamburger span:nth-of-type(3) {
    top: 18px;
}

.hamburger.active span:nth-of-type(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    margin-top: -1px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background-color: rgba(186, 203, 223, 0.5);
    transition: all .6s ease-in;
    
    
}

.mobile-menu ul li a {
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: var(--color--dark);
   
}

.mobile-menu.active {
    display: flex;

}

.mobile-menu.active ul {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    
}

#backGround {
  min-height: 100dvh; 
  position: relative;
  background-image: url(../img/gyrotonic.jpeg);
  background-size: cover;
  background-position: center;
  width: 100%;
  z-index: 1;

}

#opaCity {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(95, 124, 175, 0.3);
    z-index: 2;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(1px);

}

.container-hero {
  height: 100vh;
  position: relative; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  z-index: 3;
}


#hero-title {
    font-family: "Heebo", sans-serif;
    font-size: 64px;
    font-weight: 600;
    color: white;
    
    
}

 .container-hero span {
    font-family: "DM Serif Text", serif;
    font-size: 64px;
    font-weight: 600;
    font-style: italic;
    color: var(--color--dark);
    background-color: var(--color--spuma);
    display: inline-block;
    width: fit-content;
    width: -moz-fit-content;
    padding: 0 8px;
    
}

#hero-sub {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    color: var(--color--spuma);
    font-weight: 600;
    margin-top: 30px;

}

.blue-btn {
    border-radius: 20px;
    border: none;
    width: 300px;
    height: 70px;
    font-family: "Heebo", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--color--spuma);
    background-color: var(--color--dark);
    margin-top: 30px;
    cursor: pointer;
    text-align: center;
    display: flex; 
    align-items: center;
    justify-content: center; 

}

#welcome {
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 120px; 

}

#welcome h2 {
    font-family: "DM Serif Text", serif;
    font-size: 64px;
    font-weight: 600;
    font-style: italic;
    color: var(--color--dark);
    z-index: 3;

}

#flower-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: start;
    
}

#flower-container img {
    position: absolute;
    width: 300px;
    top: -120%;    
    left: -10%;    
    z-index: 0;   
    
}

#paragrafo-loto {
    width: 90%;
    text-align: justify;
    font-family: "Heebo", sans-serif;
    font-size: 34px;
    font-weight: 300;
    color: var(--color--dark);
    flex-direction: start;
    margin-top: 20px;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    padding: 50px;

}

.text-content {
    width: 50%;
    color: var(--color--dark);
}

.text-content h2 {
    font-family: "Heebo", sans-serif;
    font-size: 54px;
    font-weight: 600;
    margin-bottom: 10px;
    
}

.text-content h3 {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 100;
    margin-bottom: 50px;

}

.benefits p {
    font-family: "Heebo", sans-serif;
    font-weight: 200;
    font-size: 18px;
    margin-bottom: 20px;

}

.benefits ul {
    margin-bottom: 50px;
}

.benefits ul li {
    font-family: "Heebo", sans-serif;
    font-weight: 400;
    font-size: 18px;
    list-style-position: inside;
    margin-bottom: 5px;

}

#about-me .img-content {
    padding: 30px;
}

#your-journey {
    margin-bottom: 80px;

}

.container-j h2{
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 54px;
    color: var(--color--dark);
}

.container-j span{
    font-family: "DM Serif Text", serif;
    font-weight: 600;
    font-size: 54px;
    font-style: italic;
    color: var(--color--primary);
}

.container-j h2 {
    text-align: center;

}

.journey-steps {
    padding: 30px;
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: column;

}

.step-content {
    padding: 5px;
    position: relative;
    

}

.arrow {
    position: absolute;
    top: 100%;
    left: 40%;
    width: 30%;
    transform: rotate(-10deg);
    
}

.arrow-l {
    position: absolute;
    top: 100%;
    right: 40%;
    width: 30%;
    transform: rotate(20deg);
    
}

.step {
    margin-bottom: 20px;
    width: 50%;
    display: flex;
    align-items: start;
    margin-bottom: 50px;
    color: var(--color--dark);
    

}

.step p {
    font-family: "Heebo", sans-serif;
    font-weight: 400;
    font-size: 18px;
    
}

.step h4 {
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 10px;

}

#text-end {
    text-align: end;
}

.step:nth-of-type(2) {
    align-self: flex-end;
    text-align: right;

}

.media-img {
    display: none;
}

#blue-box {
    width: 80%;
    margin: auto;
    height: auto;
    background-color: var(--color--azurine);
    list-style-position: inside;
    padding: 60px;
    border-radius: 20px;
    margin-bottom: 200px;
    position: relative;
    overflow: hidden;
 
}

#blue-box h2 {
    margin-bottom: 20px;
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 44px;
    color: var(--color--dark);

}

#blue-box ul li {
    margin-bottom: 5px;
    font-family: "Heebo", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--color--dark);

}

#flower-box {
    position: absolute;
    left: 65%;
    top: -62%;
    opacity: 0.1;
    z-index: 0;

}

#footer-box {
    width: 100%;
    height: auto;
    background-color: var(--color--primary);
    padding: 50px 50px 5px 50px;
    font-family: "Heebo", sans-serif;
    position: relative;
    overflow: hidden;

}

#flower {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 0;
    pointer-events: none
}


#footer-nav ul li{
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    color: var(--color--dark);
    font-family: "Heebo", sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: var(--color--dark);

}

#footer-address ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    margin-bottom: 10px;
    flex-direction: row; 
    gap: 20px; 
    justify-content: space-between;

}

#footer-address {
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    color: var(--color--dark);
    width: 50%;

}

#footer-address li i {
    width: 30px;
    margin-left: 20px;

}

#footer-box hr {
    width: 70%;
    border-color: var(--color--dark);
    margin-bottom: 10px;
   
}

.container-offer {
    display: flex;
    padding: 30px;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;

}

.container-offer h4{
    width: 60%;

}

.offer-img img{
    width: 50%;

}

.container-offer:nth-of-type(2){
    text-align: right;

}

.container-offer h4{
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 200;
    color: var(--color--dark);

}

#what-i-offer h2 {
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 54px;
    color: var(--color--dark);
    text-align: center;
    margin-bottom: 20px;
    
}

#what-i-offer {
    margin-bottom: 120px;

}

.gallery-section {
    width: 100%;
    padding: 40px 0;
    margin-bottom: 80px;

}


.gallery-container {
    width: 100%;
    overflow: hidden;
    position: relative;

}


.gallery-track {
    display: flex;
    gap: 30px; 
    animation: scroll-horizontal 40s linear infinite;
    width: max-content;

}


.gallery-item {
    flex: 0 0 auto;
    width: 350px; 
    height: 250px; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;

}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;

}

@keyframes scroll-horizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-350px * 5 - 30px * 5)); 
    }

}

#card-section {
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 120px;
    background-color: var(--color--primary);
    position: relative;

}

#flower-card {
    position: absolute;
    transform: translate(-50%, -50%);
    opacity: 0.1;
    z-index: 1000;

}

#card-section h2{
    font-family: "Heebo", sans-serif;
    font-weight: 600;
    font-size: 54px;
    color: var(--color--spuma);
    text-align: center;
    margin-bottom: 20px;

}

#card-program {
    font-family: "Heebo", sans-serif;
    font-size: 24px;
    font-weight: 100;
    color: var(--color--spuma);
    margin-bottom: 80px;
    width: 66%;
    margin: auto;
    margin-bottom: 80px;
    text-align: center;

}

.card-group {
    display: grid;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.first-row {
    grid-template-columns: repeat(3, 300px);
    justify-content: center;

}

.second-row {
    grid-template-columns: repeat(2, 300px);
    justify-content: center;
    max-width: 650px; 
}

.card {
    font-family: "Heebo", sans-serif;
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    text-align: center;
    display: flex;

}

.card h4{
    font-size: 20px;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1), 0 3px 6px rgba(0, 0, 0, 0.05);

}

.card h4 {
    font-weight: 600;
    color: var(--color--dark);
    
}

.card p {
    color: var(--color--dark);
    margin: 0;
    flex-grow: 1;
    align-self: center;
    padding: 18px;
    
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
        
    }

    nav {
        display: flex;
        justify-content: end;
        width: 100%;
    }

    .desktop {
        display: none;
        
    }

    .container-hero {
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        width: 100%;
        text-align: center;
    }

    .content-wrapper {
    display: block;
    
    }

    .text-content {
        width: 100%;

    }

    nav.nav-colored {
    background-color: transparent; 
  }

   #card-section {
        padding: 40px 15px;
    }
    
    .card-group {
        grid-template-columns: 1fr !important; 
        gap: 20px;
        max-width: 100%;
        margin: 0 auto 30px auto;

    }
    
    .card {
        padding: 20px;
        min-height: auto;

    }


   #paragrafo-loto {
    width: 90%;
    font-size: 24px;
    margin: 0 auto;

   }


   #card-program {
    width: 90%;
   }

   .step:nth-of-type(2) {
    align-self: flex-start;

}


#text-end {
    text-align: start;

}


  .step {
    width: 100%;
    text-align: start;

  }


  .media-img-none {
    display: none;

  }

  .media-img {
    display: block;

  }

  .step:nth-of-type(2) {
    text-align: left;

}


.arrow, .arrow-l {
    display: none;

}

}

@media (max-width: 768px) {

  .journey-steps {
    width: 100%;
  }



 .gallery-item {
        width: 280px;
        height: 200px;
    }
    
    .gallery-track {
        gap: 20px;
        animation-duration: 30s;

    }

    #footer-address {
        width: 80%;

    }

    #blue-box {
        width: 90%;
    }

   #blue-box .blue-btn {
    width: 100%;
    
   }

   #flower-container {
    justify-content: center;

   }

   .container-offer {
    flex-direction: column;
    justify-content: space-evenly;
    gap: 30px;
   }

   .container-offer h4 {
    width: 100%;
   }


   .elemento-2 {
    order: 2;
   }

   .elemento-1 {
    order: 1;
    width: 50%;
   }

}

@media (max-width: 576px) {

  .container-hero span {
    font-size: 44px;

  }

  #hero-title {
    font-size: 44px;

  }

    #blue-box {
        text-align: center;
    }

}

@media (max-width: 480px) {
    .gallery-item {
        width: 220px;
        height: 160px;
    }
    
    .gallery-track {
        gap: 15px;
        animation-duration: 25s;
    }

    #hero-title,
  .container-hero span {
    font-size: 32px;
  }

  #hero-sub {
    font-size: 18px;
  }

  .blue-btn {
    width: 100%;
    padding: 20px;
    font-size: 14px;
  }

  .container-hero {
    padding: 20px;
    text-align: center;
    align-items: center;

  }

  #rights-p {
    font-size: 14px;
  }


    @keyframes scroll-horizontal {
        100% {
            transform: translateX(calc(-220px * 5 - 15px * 5));
        }
    }
    
}
