@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.image {
  width: 100%;
  height: 100vh;
  background-image: url('https://imgur.com/W22Vk91.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.image-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;
  max-width: 1280px;
  padding: 0 70px;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.title {
  flex: 1;
  max-width: 600px;
  text-align: left;
  position: relative;
  top: -40px;
}

.title h1 {
  font-size: 4rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(135deg, #ff0000, #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.title p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 500px;
}

.content__buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: #ff0000;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid #ff0000;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 0, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
}

.content__items {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.content__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.content__item:hover {
  background: #ff0000;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.4);
}

.content__item i {
  font-size: 1.2rem;
}

.content__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content__logo img {
  max-width: 400px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
  animation: float 3s ease-in-out infinite;
  position: relative;
  top: -50px;
  filter: drop-shadow(0 0 30px rgba(214, 4, 4, 0.4));
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .title {
    text-align: center;
    max-width: 100%;
  }

  .title p {
    margin-left: auto;
    margin-right: auto;
  }

  .content__logo img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .title h1 {
    font-size: 2.5rem;
  }

  .title p {
    font-size: 1.1rem;
  }

  .content__buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }

  .content__logo img {
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .image-overlay {
    padding: 0 15px;
  }

  .title h1 {
    font-size: 2rem;
  }

  .title p {
    font-size: 1rem;
  }

  .content__logo img {
    max-width: 200px;
  }

  .content__item {
    width: 40px;
    height: 40px;
  }
}

/* Sección de Productos Destacados - CORREGIDA */
.featured-products {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 80px 0;
  position: relative;
}

.featured-products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff0000, #ff4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.section-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid de Productos CORREGIDO - No se expande con pocos productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 350px));
  gap: 25px;
  margin-top: 40px;
  justify-content: center;
}

/* Tarjetas de Producto Simplificadas */
.product-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  height: 320px;
  display: flex;
  flex-direction: column;
  max-width: 350px;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #ff0000;
  box-shadow: 0 15px 30px rgba(255, 0, 0, 0.2);
}

.product-image {
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-content p {
  color: #fff;
  opacity: .5;
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ff0000;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* Botón Ver Detalles - Borde rojo sin fondo */
.btn-details {
  background: transparent;
  color: #ff0000;
  border-color: #ff0000;
}

/* Hover del botón Ver Detalles - Con fondo rojo */
.btn-details:hover {
  background: #ff0000;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Botón Comprar - Mantiene el estilo original */
.btn-buy {
  background: #ff0000;
  color: white;
  border-color: #ff0000;
}

.btn-buy:hover {
  background: #cc0000;
  border-color: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Responsive Actualizado */
@media (max-width: 768px) {
  .featured-products {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    gap: 20px;
  }

  .product-card {
    height: 300px;
  }

  .product-image {
    height: 150px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .product-content {
    padding: 15px;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }
}

/* Para pantallas muy grandes, permitir expansión controlada */
@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    max-width: 1300px;
  }
  
  .product-card {
    max-width: none;
  }
}