
/* BASE GENERAL   */


body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #fff8f0;
    color: #333;
    padding-top: 90px;
}

button:hover {
    opacity: 0.9;
    transform: scale(1.05);
    transition: all 0.3s ease;
}


/* HEADER */
header {
    background-color: #ad1313;
    color: white;
    padding: 22px 145px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header.scrolled {
    background-color: rgba(173, 19, 19, 0.85);
}

header h2 {
    font-weight: 500;
    margin: 0;
}

header nav a {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin: 0 1rem;
}

header img.logo {
    height: 50px;
    margin-right: auto;
}


/* INICIO */
/* INICIO - Banner solo imagen */
.hero {
  position: relative;
  background-image: url('bannerexhibidorsazonador.jpg');
  background-size: cover;
  background-position: center;
  height: 70vh;
  border-bottom: 6px solid #a67c52; /* borde madera gourmet */
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}



/* PRODUCTOS */
.productos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
}

.producto-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Imagen más pequeña y proporcionada */
.producto-card img {
    width: 150px;           /* Tamaño fijo más pequeño */
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}



.producto button {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #c8102e;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.subtitulo-categoria {
    font-size: 1.8rem;
    color: #6b3e26;
    margin: 3rem 0 1rem;
    border-bottom: 2px solid #d4a373;
    padding-bottom: 0.5rem;
}

select.cantidad {
    margin-top: 0.5rem;
    padding: 0.4rem;
    font-size: 1rem;
    border-radius: 0.4rem;
    border: 1px solid #ccc;
    width: 100%;
}

.btn-carrito {
    margin-top: 1rem;
    background-color: #a0522d;
    color: white;
    border: none;
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 0.6rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-block;
    width: 100%;
}

.btn-comprar {
    background-color: #28a745;       /* Verde éxito */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-left: 1rem;
}

.btn-comprar:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.btn-comprar:active {
    transform: scale(0.97);
}


.btn-carrito:hover {
    background-color: #6b3e26;
    transform: translateY(-2px);
}

.btn-carrito:active {
    transform: scale(0.97);
}


/* CARRITO  */
.carrito {
    background-color: #fdf4eb;
    padding: 4rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.carrito-container {
    max-width: 800px;
    margin: 0 auto;
}

.titulo-carrito {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #8b4513;
    text-align: center;
}

.lista-carrito {
    list-style: none;
    padding: 0;
}

.lista-carrito li {
    background-color: #fff;
    border: 1px solid #ddd;
    margin: 0.5rem 0;
    padding: 1rem;
    border-radius: 0.7rem;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.carrito-controles {
    margin-top: 1.5rem;
    text-align: center;
}

.total {
    font-size: 1.3rem;
    font-weight: bold;
    color: #5c2e14;
    margin-bottom: 1rem;
}

.btn-vaciar {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-vaciar:hover {
    background-color: #c9302c;
}

/* Contenedor del formulario */
.formulario-container {
  max-width: 450px;
  margin: 30px auto;
  padding: 25px 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  font-family: 'Poppins', sans-serif;
}

/* Título */
.formulario-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-weight: 600;
}

/* Etiquetas */
.formulario-container label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

/* Inputs y textarea */
.formulario-container input[type="text"],
.formulario-container input[type="email"],
.formulario-container textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 18px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s ease;
  resize: vertical;
}

/* Cambiar borde al enfocar */
.formulario-container input[type="text"]:focus,
.formulario-container input[type="email"]:focus,
.formulario-container textarea:focus {
  border-color: #ff6600;
  outline: none;
}

/* Botón enviar */
.formulario-container button[type="submit"] {
  width: 100%;
  background-color: #ff6600;
  color: white;
  padding: 14px;
  font-size: 17px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Hover del botón */
.formulario-container button[type="submit"]:hover {
  background-color: #e65500;
}

/* Para pantallas pequeñas */
@media (max-width: 480px) {
  .formulario-container {
    margin: 20px 15px;
    padding: 20px;
  }
}



/* FORMULARIO DE CONTACTO */
.contacto {
    background-color: #b90e0eb2;
    padding: 5rem 1rem;
    display: flex;
    justify-content: center;
}

.contacto-container {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.contacto-container h2 {
    color: #c8102e;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.contacto-container p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.65rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: none;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #c8102e;
    box-shadow: 0 0 0 2px rgba(200, 16, 46, 0.2);
    outline: none;
}

.contacto button {
    background-color: #c8102e;
    color: white;
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: bold;
}

.contacto button:hover {
    background-color: #a10e24;
    transform: scale(1.02);
}


/* HISTORIA  */
.historia {
  background: linear-gradient(to bottom, #fef8f4, #fbe5d5);
  padding: 6rem 2rem;
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: center;
}

.historia-contenido {
  max-width: 900px;
  text-align: center;
}

.titulo-historia {
  font-size: 2.8rem;
  color: #8b4513;
  margin-bottom: 2.5rem;
  position: relative;
}

.titulo-historia::after {
  content: "";
  width: 100px;
  height: 4px;
  background-color: #8b4513;
  display: block;
  margin: 0.5rem auto 0;
  border-radius: 5px;
}

.card-historia {
  background-color: #fff;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  text-align: justify;
  font-size: 1.15rem;
  color: #444;
  line-height: 1.9;
  transition: transform 0.3s ease;
}

.card-historia:hover {
  transform: scale(1.01);
}

.frase-final {
  margin-top: 2rem;
  font-style: italic;
  font-size: 1.3rem;
  color: #a0522d;
  border-left: 5px solid #d4a373;
  padding-left: 1rem;
}


.iconos-beneficios {
    background-color: #000; /* fondo negro elegante */
    padding: 2rem;
    border-radius: 20px;
    margin: 3rem auto 0;
    max-width: 900px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2); /* sutil brillo dorado */
    text-align: center;
    transition: transform 0.3s ease;
}

.iconos-beneficios:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.35);
}

.iconos-beneficios img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3)); /* brillo dorado sutil */
    border-radius: 10px;
}



/* FOOTER */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem;
}

footer a {
    color: #ddd;
    text-decoration: none;
    margin: 0 0.5rem;
}


/* === Menú hamburguesa === */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 25px;
  }

  nav.nav-links {
  max-height: 0;
  overflow: hidden;
  flex-direction: column;
  width: 100%;
  background-color: #ad1313;
  position: absolute;
  top: 80px;
  left: 0;
  z-index: 999;
  transition: max-height 0.4s ease;
  backdrop-filter: blur(6px);
  background-color: rgba(173, 19, 19, 0.95);
}

nav.nav-links.active {
  max-height: 500px; 
}


  nav.nav-links a {
    padding: 1rem;
    border-top: 1px solid #ffffff33;
    text-align: center;
    margin: 0;
    font-size: 1.1rem;
  }

  nav.nav-links.active {
    display: flex;
  }

  .menu-toggle {
  transition: transform 0.3s ease;
}

.menu-toggle.rotado {
  transform: rotate(90deg);
}

}


.ubicacion {
  background-color: #111;
  padding: 40px 20px;
  color: #f1f1f1;
  text-align: center;
}

.ubicacion h2 {
  font-size: 2em;
  color: #f39c12;
  margin-bottom: 15px;
}

.ubicacion p {
  font-size: 1.1em;
  max-width: 700px;
  margin: 10px auto;
}

.ubicacion ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 600px;
  text-align: left;
  color: #ddd;
}

.ubicacion ul li {
  padding: 6px 0;
  font-size: 1em;
}

.imagenes-locales {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
}

.imagenes-locales img {
  width: 250px;
  height: 250px;
  object-fit: contain;
  border-radius: 12px;
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

