/* ===== RESET GENERAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #F2D2BD, #F7D9BC, #223248);
  background-attachment: fixed;
  color: #fff;
  line-height: 1.6;
}

/* Botón Hamburguesa */
.hamburguesa {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburguesa span {
  background: white;
  height: 3px;
  width: 25px;
  margin: 4px 0;
  border-radius: 2px;
}

/* ===== BANNER PRINCIPAL ===== */
.banner-principal-dos-columnas {
  display: flex;
  align-items: center;       /* Centra verticalmente */
  justify-content: space-between; /* Carrusel a la izquierda, catálogo a la derecha */
  gap: 2rem;
  padding: 2rem;
  flex-wrap: nowrap;         /* ❌ Evita que el catálogo salte debajo */
}
.columna-banner {
  flex: 2; /* La imagen del carrusel ocupa más espacio */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;  /* Alinea el contenido a la izquierda */
  position: relative;
}
.carrusel {
  width: 100%;
  max-height: 500px; /* Carrusel grande */
  position: relative;
  overflow: hidden;
}
.carrusel img {
  width: 100%;
  height: 500px;       /* Altura grande */
  object-fit: cover;   /* La imagen cubre el espacio */
  object-position: left; /* Foco a la izquierda */
}

.carrusel img.active {
  display: block;
  animation: fade 1s;
}
@keyframes fade {
  from {opacity: 0.6;}
  to {opacity: 1;}
}
.texto-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 20px 40px;
  border-radius: 10px;
  text-align: center;
}
.texto-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.texto-banner p {
  font-size: 1.4rem;
}

.btn-principal {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;
  background-color: #d4145a;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-principal:hover {
  background: #a01044;
}

.catalogo-descarga {
  text-align: center;
  margin-top: 30px;
}

.btn-descargar {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: #223248;
  color: white;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

.btn-descargar:hover {
  background: #1a2533;
}

/* Columna Catálogo */
.columna-catalogo {
  flex: 1; /* El catálogo ocupa menos espacio */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.columna-catalogo img {
 width: 350px;   /* Aumenta el tamaño del catálogo */
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Efecto elegante */
}



/* ===== CATEGORÍAS ===== */
.categorias-destacadas {
  display: flex;
  justify-content: center;
  gap: 40px; /* Espacio entre categorías */
  padding: 40px 20px;
  background: linear-gradient(135deg, #F2D2BD, #F7D9BC, #223248);
  max-width: 1550px; /* Limita el ancho máximo */
  margin: 0 auto; /* Centra la sección */
}
.categoria {
  text-align: center;
  flex: 1; /* Para que cada categoría crezca igual */
  max-width: 10000px; /* Aumentamos tamaño */
  transition: transform 0.3s ease;
}
.categoria img {
  width: 100%;
  height: 200px; /* Un poco más alto */
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.categoria h3 {
  margin-top: 10px;
  color: #f7f7f7;
}
.categoria:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* ===== CALL TO ACTION ===== */
.call-to-action {
  text-align: center;
  background: linear-gradient(135deg, #F2D2BD, #F7D9BC, #223248);
  color: white;
  padding: 50px 20px;
}
.call-to-action h2 {
  font-size: 2rem;
}
.call-to-action p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.btn-secundario {
  background: white;
  color: #d6005c;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}
.btn-secundario:hover {
  background: #f8f8f8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #d6005c;
    border-radius: 6px;
    padding: 10px;
  }
  .menu.show {
    display: flex;
  }
  .hamburguesa {
    display: flex;
  }
  .banner-principal-dos-columnas {
    flex-direction: column;
  }
}
