:root {
  --principal: #1A5DBA;
  --secundario: #FF6600;
  --secundario-oscuro: #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;
}

.text-custom {
  color: var(--font1);
}

.text-custom2 {
  color: var(--oscuro);
}

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

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




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

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

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

/* HERO SLIDESHOW */
.hero-slideshow {
  position: relative;
  height: 90vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.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;
}

/* CONTENIDO */
.hero-slideshow .container {
  z-index: 3;
  color: white;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-top: 1rem;
}

.hero-img {
  height: 120px;
}

@media (max-width: 567px) {
    .hero-title {
      font-size: 2rem;
      font-weight: 700;
    }

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




/* 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/profesionales.72fd9e8a970d.webp");
    opacity: 1;
  }

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

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

/* 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);
}