:root {
  --principal: #1A5DBA;
  --principal2: #f5f9ff;
  --secundario: #FF6600;
  --secundario-claro: #F29F05;
  --principal-oscuro: #0F3E7A;
  --font1: #fff;
  --font2: #4FA3FF;
}

.sofia-sans-semi-condensed> {
  font-family: "Sofia Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

.color-principal {
  color: var(--principal);
}

.color-secundario {
  color: var(--secundario);
}

.bg-principal{
  background-color: var(--principal);
}

.bg-principal2{
  background-color: var(--principal2);
}

.bg-secundario{
  background-color: var(--secundario);
}

.btn-custom{
  background-color: var(--secundario);
  font-weight: 400;
  color: var(--font1)
}

.btn-custom2{
  background-color: var(--principal);
  font-weight: 400;
  color: var(--font1)
}

.btn-custom:hover {
  background: var(--secundario-claro);
  color: #fff;
}


body {
  font-family: "Sofia Sans", sans-serif;
  color: var(--oscuro)
}

/* Titulos */

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secundario);
  text-align: center;
  margin-bottom: 2rem;
}

/* NAVBAR */
.navbar {
  background-color: var(--secundario)
}

.nav-link {
  color: white;
  font-weight: 400;
  padding-bottom: 0rem;
}

/* /////////////// HOME ////////// */

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* /////////////// LANDING-NEGOCIOS ////////// */

/* Generales */
.btn {
  border-radius: 2rem;
}

.section-title-landing {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.subtitle-landing {
  font-size: 1.25rem;
  font-weight: 100;
  margin-top: 1rem;
}

/* Generales responsive */
@media (max-width: 567px) {
    
    #landing-negocios p {
      font-size: 0.9rem;
    }
    .section-title-landing {
      font-size: 2rem;
    }
}


/* ######### Hero landing */
.hero-img{
  height: 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secundario);
}

/* HERO SLIDESHOW */
.hero-slideshow {
  position: relative;
  height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 2rem;
}

.hero-slideshow::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  animation: heroSlide 25s infinite;
  z-index: 1;
}

/* OSCURECER LAS IMÁGENES */
.hero-slideshow .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}


@media (max-width: 567px) {
    .hero-slideshow {
      height: 50vh;
    }
    .hero-title {
      font-size: 2.5rem;
      font-weight: 700;
    }

    .hero-img {
      height: 150px;
    }
}


/* ANIMACIÓN DEL SLIDESHOW */
@keyframes heroSlide {
  0% {
    background-image: url("/static/img/home/portadas/peluqueria.b9b6766c74b8.webp");
    opacity: 1;
  }

  20% {
    background-image: url("/static/img/home/portadas/estetica.3a066a35ddb9.webp");
    opacity: 1;
  }

  40% {
    background-image: url("/static/img/home/portadas/canchas-futbol.085e35b70bd9.webp");
    opacity: 1;
  }

  60% {
    background-image: url("/static/img/home/portadas/canchas-padel.e1789b0e2ab0.webp");
    opacity: 1;
  }

  80% {
    background-image: url("/static/img/home/portadas/peluqueria.b9b6766c74b8.webp");
    opacity: 1;
  }

  100% {
    background-image: url("/static/img/home/portadas/profesionales.72fd9e8a970d.webp");
    opacity: 1;
  }
}


/* COMO FUNCIONA # negocios */

.diapositivas-container {
  position: relative;
  height: 300px;
}

.diapositiva {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  
}

.diapositiva.active {
  opacity: 1;
}

.diapositivas {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  
}

.diapositivas.active {
  opacity: 1;
}



/* ICON BOXES */
.icon-box {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.8rem;
  transition: 0.3s ease;
  height: 100%;
  text-align: center;
}

.icon-box:hover {
  transform: translateY(-5px);
  border-color: var(--principal);
}

.icon-box h5 {
  font-weight: 700;
  margin-top: 1rem;
}

/* HIGHLIGHT */
.highlight {
  background: var(--principal);
  color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  font-size: 1.15rem;
}

/* CTA */
.cta-btn {
  background: var(--principal);
  color: #fff;
  padding: 0.9rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.cta-btn:hover {
  background: var(--emerald-dark);
  color: #fff;
}

/* FOOTER */
footer {
  background: var(--dark);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  margin-top: 4rem;
}


/* ######### ELEGIR DASHBOARD ########## */

#elegir-dashboard .hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#elegir-dashboard .hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

#elegir-dashboard .card-body i {
  transition: transform 0.4s ease;
}

#elegir-dashboard .hover-card:hover i {
  transform: scale(1.1);
}

/* ######### CENTRO DE AYUDA ########## */

 .help-header {
   background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
     url("/static/img/home/portadas/portada2.133337f7ce2e.jpg") center/cover no-repeat;
   color: #fff;
   padding: 10rem 0rem;
 }

 .section-title-ayuda {
   color: var(--secundario);
   font-weight: 700;
   text-align: center;
   margin: 3rem 0 2rem;
   font-size: 2.5rem;
 }

 .lead-ayuda{
  font-size: 1.3rem;
 }

 .accordion-button:not(.collapsed) {
   background-color: var(--principal-oscuro);
   color: #fff;
   box-shadow: none;
 }

 .accordion-button::after {
   filter: invert(1);
 }

 .accordion-item {
   border-radius: 10px;
   overflow: hidden;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
   margin-bottom: 1rem;
 }

 .bi {
   color: var(--emerald);
   margin-right: 0.5rem;
 }

 @media (max-width: 567px) {
    .help-header {
      padding: 4rem 0rem;
    }
    .section-title-ayuda {
      font-size: 1.5rem;
    }
    .lead-ayuda{
      font-size: 1rem;
    }
}