* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Barlow Condensed', sans-serif;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: rgb(0, 0, 0);
}

.logo img {
  height: 40px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #1DBF73;
}

.hero {
  height: 100vh;
  background: url('fondo-redtone.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 12px 24px;
  border: none;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn.dark {
  background-color: white;
  color: black;
}

.btn.light {
  background-color: #1DBF73;
  color: white;
}

.btn:hover {
  opacity: 0.8;
}

nav ul li {
  position: relative;
}

.submenu {
  list-style: none;
  position: absolute;
  top: 100%; /* justo debajo del padre */
  left: 0;
  background: rgb(0, 0, 0);
  min-width: 180px;
  display: none;
  padding: 10px 0;
  border-radius: 4px;
  z-index: 1000;
}

.submenu li {
  width: 100%;
}

.submenu a {
  display: block;
  padding: 10px 15px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
}

.submenu a:hover {
  background: #1DBF73;
  color: #fff;
}

/* Mostrar submenú al pasar el cursor */
.dropdown:hover .submenu {
  display: block;
}

.banner {
  height: 400px;              /* Alto de la franja (podés ajustarlo) */
  background-size: cover;     
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;        /* Centra el título verticalmente */
  justify-content: center;    /* Centra el título horizontalmente */
  position: relative;
  color: white;
  text-align: center;
}

.banner::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* oscurece la franja para que resalte el texto */
}

.banner h1 {
  position: relative;
  z-index: 1;
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

body {
  padding-top: 80px; /* mismo alto que el header */
}

.banner h1.titulo {
  font-family: 'Alfa Slab One', serif;
  font-weight: 500;   /* Regular */
  font-size: 90px;    /* ajustá según gusto */
  color: white;
  text-align: center;
  margin: 0;
}

/* Contenedor de productos de las paginas por separado*/
.productos {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* siempre 4 columnas */
  gap: 25px; /* espacio entre tarjetas */
  padding: 40px;
  background: #f9f9f9;
}

/* Tarjeta de producto */
.producto {
  background: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: translateY(-5px);
}

.producto img {
  max-width: 80%;
  margin-bottom: 15px;
}
/* fin de Contenedor de productos de las paginas por separado*/

/* Contenedor del buscador */
.buscador {
  display: flex;
  justify-content: flex-end; /* lo manda a la derecha */
  align-items: center;
  margin: 20px 40px;
}

/* Caja de texto */
.buscador input {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 20px 0 0 20px;
  outline: none;
  font-size: 14px;
}

/* Botón con ícono */
.buscador button {
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.buscador button:hover {
  background: #e60000; /* rojo de tu marca */
}

.separador {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
  color: #999;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.separador::before,
.separador::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #ccc;
}

.separador:not(:empty)::before {
  margin-right: 15px;
}

.separador:not(:empty)::after {
  margin-left: 15px;
}

/* estilo del link */
.separador a {
  color: #999; /* Color gris */
  text-decoration: none;
  transition: color 0.3s ease;
}

.separador a:hover {
  color: #000; /* cambia a negro al pasar el mouse */
}

/* Contenedor principal */
.producto-detalle {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
}

/* Imagen */
.producto-imagen img {
  max-width: 400px;
  border-radius: 8px;
}

/* Info */
.producto-info {
  max-width: 600px;
}

.producto-info h1 {
  font-size: 60px;
  font-weight: 800;
  margin-bottom: 20px;
}

.producto-info .descripcion {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.producto-info .sugerencia {
  font-size: 16px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.5;
}

.producto-info .disponible {
  font-size: 25px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.5;
}

.producto-info .opciones {
  font-size: 30px;
  color: #333333;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-comprar:hover {
  background: #e60000; /* rojo marca */
}

/* Responsive */
@media (max-width: 768px) {
  .producto-detalle {
    flex-direction: column;
    text-align: center;
  }

  .producto-imagen img {
    max-width: 100%;
  }
}