/*
 * Estilos generales para el sitio web de Solconbi
 * Este archivo contiene variables de color, tipografía y estilos de
 * componentes reutilizables como la navegación, secciones, tarjetas y el pie de página.
 */

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* Variables de color */
/*
 * Paleta de colores actualizada inspirada en tendencias modernas de consultoría.
 * Se utilizan azules profundos y claros para transmitir confianza y modernidad,
 * complementados con un gris claro para fondos y un texto oscuro neutro.
 */
:root {
  /* Paleta de colores inspirada en la página de registro de Snowflake: tonos azules y turquesa */
  --primary-color: #0077c8;        /* azul intenso para encabezados y elementos destacados */
  --secondary-color: #e6f4fd;      /* azul muy claro para fondos de secciones y tarjetas */
  --accent-color: #00b5e2;         /* turquesa vibrante para botones y acentos */
  --dark: #1f1f1f;                 /* texto oscuro neutro */
  --light: #ffffff;                /* texto claro */
}

/* Cabecera y navegación */
header {
  background-color: var(--light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Asegurar que el enlace dentro del logo herede el color y no tenga subrayado */
nav .logo a {
  color: var(--primary-color);
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

/* Sección de héroe */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.4)), url('hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light);
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-content .btn {
  background-color: var(--accent-color);
  color: var(--light);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.hero-content .btn:hover {
  background-color: var(--primary-color);
}

/* Botón secundario para el héroe (agenda una presentación) */
.hero-content .btn-secondary {
  background-color: var(--primary-color);
  color: var(--light);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-left: 1rem;
}

.hero-content .btn-secondary:hover {
  background-color: var(--accent-color);
}

/* Sección de llamada a la acción (CTA) */
.cta-section {
  background-color: var(--primary-color);
  color: var(--light);
  padding: 3rem 1rem;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.cta-section .cta-btn {
  background-color: var(--accent-color);
  color: var(--light);
  padding: 0.75rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-section .cta-btn:hover {
  background-color: var(--light);
  color: var(--primary-color);
}

/* Secciones genéricas */
.section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

/* Tarjetas de características */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature i {
  font-size: 2.2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature p {
  font-size: 0.95rem;
  color: var(--dark);
}

/* Listas en columnas para las divisiones */
.divisions-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.division-item {
  flex: 1 1 280px;
  background-color: var(--secondary-color);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.division-item h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Sección de referencias (clientes) */
.references-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.references-grid .ref {
  /* Ajuste del contenedor de logos: se eliminan fondos y bordes para que los logotipos se muestren
     sin recuadros grises. Se mantiene la flexibilidad para acomodar distintos tamaños de logo. */
  flex: 1 1 160px;
  padding: 1rem 0;
  text-align: center;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  font-weight: normal;
  color: inherit;
}

/* Ajustar los logotipos dentro de la sección de referencias */
.references-grid .ref img {
  max-width: 100%;
  max-height: 60px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

/* Formulario de contacto */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

form button {
  align-self: flex-start;
  background-color: var(--accent-color);
  color: var(--light);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: var(--primary-color);
}

/* Pie de página */
footer {
  background-color: var(--primary-color);
  color: var(--light);
  padding: 2rem 1rem;
}

footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

footer h4 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

footer ul li i {
  margin-right: 0.5rem;
}

footer a {
  color: var(--light);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
  nav ul li a {
    margin-left: 0.8rem;
    font-size: 0.9rem;
  }
  .hero-content {
    padding: 4rem 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* Botón flotante de WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

.whatsapp-btn i {
  font-size: 1.8rem;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 80vh;

}


.slider-container {
  display: flex;
  width: 100%; /* ✅ importante */
  transition: transform 0.8s ease;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.4)), url('hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light);
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.slider-container .one{
    background:linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8)), url(hero-1.jpg) center center/cover no-repeat;
}
.slider-container .two{
    background:linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8)), url(hero-2.jpg) center center/cover no-repeat;
}
.slider-container .three{
    background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8)),  url(hero-3.jpg) center center/cover no-repeat;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 2rem;
}

.btn, .btn-secondary {
  display: inline-block;
  margin: 1rem 0.5rem;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
}
.btn {
  background-color: #007bff;
  color: white;
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid #007bff;
  color: #007bff;
}

/* Arrows */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 10;
}
.nav.prev { left: 10px; }
.nav.next { right: 10px; }

/* Estilo para los dots */
.dots {
  position: absolute;
  bottom: 20px; /* puedes ajustar este valor */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  height: 12px;
  width: 12px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #333;
}
.references-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ref {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}