/* =========================================================
   ESTILOS PERSONALIZADOS PARA ESSENTIA
   Proyecto: Rediseño Sitio Web EssentIA
   Autor: Enrique Mastalli
   Notas:
   - Este archivo complementa a Bootstrap 5.
   - Aquí se incluyen estilos específicos de la marca Essentia.
   - Todos los cambios están documentados explícitamente.
   ========================================================= */

/* ------------------------------
   GENERALES
   ------------------------------ */

/* Fuente base y colores principales */
body {
  font-family: "Roboto", Arial, Helvetica, sans-serif;
  color: #212529;
  background-color: #ffffff;
}


/* Links personalizados */
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

/* ------------------------------
   NAVBAR
   ------------------------------ */
.navbar {
  padding: 0.8rem 1rem;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: bold;
}

.navbar-nav .nav-link {
  margin-left: 1rem;
  font-weight: 500;
  color: #333 !important;
}

.navbar-nav .nav-link.active {
  color: #dc3545 !important; /* rojo Essentia */
}

/* ------------------------------
   HERO (SECCIÓN PRINCIPAL CON VIDEO)
   ------------------------------ */
section.bg-dark {
  background-color: #000 !important;
}

section.bg-dark h1 {
  font-size: 2.2rem;
  font-weight: bold;
}

/* ------------------------------
   SECCIÓN CAPACIDADES
   ------------------------------ */
section.text-white {
  position: relative;
  background-attachment: fixed; /* efecto parallax */
}

section.text-white h2 {
  font-size: 2rem;
  font-weight: bold;
}

section.text-white .btn {
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 30px; /* botones redondeados */
}

/* ------------------------------
   TEXTO EXPLICATIVO
   ------------------------------ */
section.py-5 h3 {
  color: #0d6efd; /* azul Bootstrap */
}

section.py-5 p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ------------------------------
   BLOQUE ESSENTIA
   ------------------------------ */
section.bg-light {
  background-color: #f8f9fa !important;
}

section.bg-light h3 {
  color: #198754; /* verde Bootstrap */
}

section.bg-light img {
  max-width: 120px;
}

/* ------------------------------
   SECCIÓN SOLUCIONES
   ------------------------------ */
section.text-center h3 {
  font-size: 2rem;
  font-weight: bold;
}

section.text-center i {
  transition: transform 0.3s ease;
}

section.text-center i:hover {
  transform: scale(1.2); /* animación íconos */
}

section.text-center p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ------------------------------
   FOOTER
   ------------------------------ */
footer {
  background-color: #000 !important;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

footer a {
  color: #fff;
  margin: 0 10px;
}

footer a:hover {
  color: #0d6efd; /* azul al pasar mouse */
}

/* ------------------------------
   RESPONSIVIDAD (MEDIA QUERIES)
   ------------------------------ */

/* Tablets y móviles */
@media (max-width: 768px) {
  section.bg-dark h1 {
    font-size: 1.6rem;
  }

  section.text-white h2 {
    font-size: 1.5rem;
  }

  footer p {
    font-size: 0.9rem;
  }
}

