/* css/final-design.css */

/* --- 1. Ajustes Generales y Tipografía --- */
body {
    font-family: 'Manrope', sans-serif;
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    color: #003068; /* Un color carbón oscuro, muy profesional */
}

.fw-bold {
    font-weight: 800 !important;
}

.bg-light {
    background-color: #f7fafc !important;
}


/* --- 2. Header / Barra de Navegación --- */


#header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), transparent);
    transition: background-color 0.3s ease;
    padding: 1rem 0;
}

#header .nav-link {
    color: #ffffff;
    font-weight: 700;
    margin: 0 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

#header .nav-link:hover, #header .nav-link.active {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

#header .btn-outline-light {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    border-width: 2px;
    font-weight: 700;
}

/* --- 3. Hero Section (la sección principal) --- */
#hero {
    height: 90vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/hero.jpg'); /* REEMPLAZA ESTA IMAGEN */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
}

#hero .btn-dark {
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #1a202c;
    border-color: #1a202c;
}

#hero .btn-dark:hover {
    background-color: #000000;
    border-color: #000000;
}

/* --- 4. Secciones de Contenido --- */
section {
    padding: 6rem 0;
}

.rounded-4 {
    border-radius: 1.5rem !important;
}

/* --- 5. Tarjetas de Productos --- */
.product-card {
    display: flex;
    align-items: center;
    background-color: #f7fafc !important;
    padding: 2rem;
    border-radius: 1.5rem;
}

.product-card img {
    height: 50px; /* Ajusta según el tamaño de tus íconos */
    margin-right: 1.5rem;
}

.product-card h3 {
    margin-bottom: 0;
    font-weight: 700;
    font-size: 1.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f7fafc !important;
  border-radius: 20px;
  text-align: center;
}

.product-card img {
  max-width: 100px;
  margin-bottom: 15px;
}

.product-card h3 {
  font-size: 1.2rem;
  margin: 0;
}
.product-card img {
  width: 100%;              /* Aprovecha todo el ancho del contenedor */
  max-width: 500px;         /* Límite opcional para que no se pasen */
  height: auto;             /* Mantiene proporción */
  object-fit: contain;      /* Evita recortes */
  margin-bottom: 15px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f7fafc !important;
  border-radius: 20px;
  text-align: center;
}

#bloque-beneficios {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.ventajas-custom {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.ventajas-custom .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.ventajas-custom .item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  will-change: transform, filter;
}

.ventajas-custom .item:hover img {
  transform: scale(1.2) translateY(-10px);
  filter: brightness(1.1) drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.ventajas-custom .item p {
  margin-top: 14px;
  font-weight: 600;
  color: #003068;
  font-size: 18px;
  transition: color 0.3s ease;
}

.ventajas-custom .item:hover p {
  color: #001c3a;
}


@media (max-width: 768px) {
  .ventajas-custom {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}
#hero {
    height: 90vh;
    background: 
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url('../img/hero.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* <- esto fija el fondo */
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    overflow: hidden;
}
.img-hover-zoom {
  overflow: hidden;
  border-radius: 15px;
}

.img-hover-zoom img {
  transition: transform 0.4s ease;
}

.img-hover-zoom:hover img {
  transform: scale(1.1);
}
