:root {
        --color-verde: #53CC59;
        --color-menu: #A7B8B8;
        --color-hover: #1A1A1A;
    }

body{
    background: #F5F5F5;
    font-family: 'Manrope', sans-serif;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    }

 a{
    text-decoration: none;
    }

    .mt-custom{
      margin-top: 5rem;
    }


    .navbar-toggler{
      background-color: #fff;
    }


/*** HEADER ***/
    .menu-personalizado .nav-link {
    color: var(--color-menu);
    font-weight: 500;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-top: 2px solid transparent;
    transition: all 0.3s ease;
  }

  .menu-personalizado .nav-link:hover,
  .menu-personalizado .nav-link.active {
    color: var(--color-hover);
    border-top: 4px solid var(--color-verde);
  }

  .instagram-icon {
    color: var(--color-hover);
    transition: color 0.3s;
  }

  .instagram-icon:hover {
    color: var(--color-verde);
  }


 .btn-verde {
      background-color: var(--color-verde);
      color: #fff;
      border: none;
    }

   
.btn-verde:hover {
      background-color: #45b44b; 
      color: #fff;
    }   

    
    .title-main{
        font-size: 3.5rem;
        font-family: 'Merriweather';
    }
    @media(max-width: 600px){
      .title-main{
          font-size: 2rem;
      }
      
    }

    .sumate{
        color: #919F9F;
    }

    /* For vertical transition */
    .carousel-inner {
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .carousel-item {
      height: 100%;
      transition: transform 0.8s ease-in-out;
      opacity: 0;
      z-index: 0;
    }

    .carousel-item.active {
      opacity: 1;
      z-index: 1;
  }


/*** SECTION - POR QUÉ IKIGAI  ***/
.lead{
    width: 768px;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

@media(max-width:600px){
    .lead{
      width: unset;
    }

    .img-left{
      bottom: -14% !important;
      left: 5px !important;
      width: 116px !important; 
    }

    br{
      display: none;
    }

}


.lead h2{
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
}
  .img-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    z-index: 0;
    transform: translateY(-20%);
  }

  .img-left {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 160px;
    z-index: 0;
  }

  .img-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%);
    width: 50px;
    z-index: 0;
  }

  /* Aseguramos que el texto quede delante */
  .container.text-center {
    z-index: 1;
    position: relative;
  }


    /* Custom bullets - vertical */
.carousel-indicators-vertical {
          position: absolute;
          top: 50%;
          right: 10px;
          transform: translateY(-50%);
          display: flex;
          flex-direction: column;
          gap: 10px;
          z-index: 10;
   }
   
    .carousel-indicators-vertical button {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.7);
      border: none;
      pointer-events: none
    }

    .carousel-indicators-vertical .active {
      background-color: #53CC59; /* Tu color personalizado */
    }

    .carousel {
      position: relative;
    }

    .carousel img {
      object-fit: cover;
      height: 400px;
      width: 100%;
      border-radius: 1rem;
    }


  /*** SECTION - ¿DONDE COMPRAR IKIGAI? ***/
  .custom-card {
    border-radius: 26px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    background: #FFFFFF;
    height: 195px;
  }

@media (max-width: 600px){
    .custom-card{
      height: 160px;
    }

   .custom-card p{
    font-size: 10.5px !important;
  }
}
 
  .custom-heading {
    background-color: #EFF6F4;
    color: #428053;
    padding: 10px 15px;
    border-radius: 18px;
    font-weight: bold;
    text-align: center;
  }
  @media (max-width: 600px){
      .custom-heading {
        font-size: 13px;
      }
  }

  .icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: #428053;
    color: #FFF;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0; /* evita que se deforme */
  }
  @media (max-width: 600px){
    .icon-circle {
      width: 18px;
      height: 18px;
      margin-right: 4px;
    }
  }

  .custom-card p {
    display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  margin-bottom: 0.5rem;
  color: #000;
  }


.btn-radius-bottom-right {
 border-bottom-right-radius: 16px;
}

/*
button:hover {
  box-shadow: 0 0 10px #428053, 
              0 0 20px #62aa75,
              0 0 30px  #53CC59;
  color: #FFF;
}*/


  /*** CARRUSEL FAQS ***/
  .image-slider-container {
  position: relative;
  width: 80vw;
  max-width: 1100px;
  height: 570px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 10px;
  background: url('media/background-FAQs.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

@media (max-width: 600px){
  .image-slider-container{
    background: url('media/FAQS-mobile.png');
    background-repeat: no-repeat;
    background-size: cover;
  }
  
}

.image-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 3rem;
}

.image-slide {
  position: absolute;
  width: 550px;
  height: 350px;
  aspect-ratio: 1/1;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, z-index 0s;
  z-index: 0;
  opacity: 0; /* Nascondo le immagini non attive */
  transform: scale(0.4);
}

.image-slide.active {
  transform: scale(1);
  opacity: 1;
  z-index: 10;
}

.image-slide.previous {
  transform: translateX(-250px) scale(0.8);
  opacity: 0.5;
  z-index: 5;
}

.image-slide.next {
  transform: translateX(250px) scale(0.8);
  opacity: 0.5;
  z-index: 5;
}

.image-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 55px;
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    width: 40px; 
    height: 40px;
    cursor: pointer;
    z-index: 20;
	border-radius: 55px;
}

.slider-button:hover {
  border-radius: 55px;
}

.slider-button.previous {
  left: 10px;
  background-image: url('media/arrow-left.png'); /* Ruta de tu imagen */
}

.slider-button.next {
  background-image: url('media/Arrow - Right.png'); /* Ruta de tu imagen */
  right: 10px;
}

/* Animazioni per entrata e uscita */
.image-slide.enter-from-right {
  animation: slideInFromRight 0.2s ease-in-out forwards;
}

.image-slide.enter-from-left {
  animation: slideInFromLeft 0.6s ease-in-out forwards;
}

.image-slide.exit-to-right {
  animation: slideOutToRight 0.6s ease-in-out forwards;
}

.image-slide.exit-to-left {
  animation: slideOutToLeft 0.6s ease-in-out forwards;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(250px) scale(0.8);
    opacity: 0.6;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-250px) scale(0.8);
    opacity: 0.5;
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideOutToRight {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateX(250px) scale(0.8);
    opacity: 0.8;
  }
}

@keyframes slideOutToLeft {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  to {
    transform: translateX(-250px) scale(0.8);
    opacity: 0.8;
  }
}

/*** Responsive ***/
@media (max-width: 600px) {
  .image-slider-container {
    width: 100vw;
    height: 290px;
  }

  .image-slide {
    width: 100%;
    height: 250px;
  }
	
.image-slide img {
  border-radius: 30px;
}

  .image-slide.previous {
    transform: translateX(-180px) scale(0.8);
  }

  .image-slide.next {
    transform: translateX(180px) scale(0.8);
  }

  @keyframes slideInFromRight {
    from {
      transform: translateX(180px) scale(0.8);
      opacity: 0.5;
    }
    to {
      transform: translateX(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes slideInFromLeft {
    from {
      transform: translateX(-180px) scale(0.8);
      opacity: 0.5;
    }
    to {
      transform: translateX(0) scale(1);
      opacity: 1;
    }
  }

  @keyframes slideOutToRight {
    from {
      transform: translateX(0) scale(1);
      opacity: 1;
    }
    to {
      transform: translateX(180px) scale(0.8);
      opacity: 0.5;
    }
  }

  @keyframes slideOutToLeft {
    from {
      transform: translateX(0) scale(1);
      opacity: 1;
    }
    to {
      transform: translateX(-180px) scale(0.8);
      opacity: 0.5;
    }
  }
}

.image-slider-container{
	margin: 0 auto;
}


/* ALTO AUTO AL CARRUSEL DE 3 IMGS PEQUEÑO */
.carousel img{
  height: auto;
}

 #carouselFade .carousel-inner{
   display: block;
   margin: 0 auto;
   height: auto;
  }

  #carouselFade carousel-item{
    margin: 0 auto;
  }

  #carouselFade .carousel-item img{
    width: 50%;
  }


  @media(max-width: 600px){
    #carouselFade .carousel-item img{
    width: 100%;
    }
  }


@media(max-width:600px){
    .carousel-vertical img, .carousel-inner{
    height: auto;
  }

  #carouselFade .carousel-inner{
    height: auto;
  }

  .carousel-item{
    width: 100%;
  }

}


/*** FOOTER ***/
 .bg-success-custom {
    background-color: var(--color-verde) !important;
  }

  .copyright{
    color: #fff;
    text-decoration: none;
  }


/*** CARRUSEL MOBILE ***/
.custom-carousel-wrapper {
  position: relative;
  height: 700px; 
  overflow: hidden;
}

.custom-carousel-inner {
  height: 100%;
}

.custom-carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.custom-carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.custom-carousel-indicators {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.custom-carousel-indicators button {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  border: none;
  opacity: 0.7;
}

.custom-carousel-indicators button.active {
  background-color: #0A7F2B;
  opacity: 1;
}

