* {
  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;
}


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 {
  width: 100%;          /* que ocupe el ancho disponible */
  height: 200px;        /* todas la misma altura (ajustalo a tu gusto: 200–250px) */
  object-fit: contain;  /* mantiene proporción y no deforma */
  margin-bottom: 15px;
  display: block;
}

/* 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 */
}

.subcategories a {
  color: #333;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.subcategories a.active {
  color: #d00;
  font-weight: bold;
}

/* Contacto */

.contacto { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.contacto h2 { margin-bottom: 16px; }

#contactForm label { display:block; margin:16px 0 6px; font-weight:600; }
.req { color:#c00; }

.row-2 { display:grid; grid-template-columns: 1fr 1fr; gap:16px; }
.field small { display:block; font-size:12px; color:#666; margin-top:4px; }

#contactForm input,
#contactForm textarea {
  width:100%; padding:10px 12px; border:1px solid #bbb; border-radius:2px;
  font: inherit;
}
#contactForm input:focus,
#contactForm textarea:focus { outline:none; border-color:#111; }

#contactForm button {
  margin-top:18px; 
  margin-bottom:40px;
  padding:10px 18px; 
  border:1px solid #111; 
  background:#111; color:#fff;
  border-radius:22px; 
  cursor:pointer; 
  transition:.2s;
}
#contactForm button:hover { background:#fff; color:#111; }

.form-msg { margin:12px 0 50px; font-weight:600; } /* top 12px, laterales 0, bottom 50px */
.form-msg.ok { color:#187a2f; }
.form-msg.fail { color:#b00020; }

@media (max-width: 720px){
  .row-2 { grid-template-columns:1fr; }
}