/* ----------- IMPORTACIÓN DE FUENTE ----------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

/* ----------- ESTILOS GENERALES ----------- */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff3e0;
  color: #333333;
}

/* ----------- ENCABEZADO Y MENÚ ----------- */
.encabezado {
  text-align: center;
  background-color: #ffffff;
  padding: 30px 0 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  max-width: 100%;
  height: auto;
  max-height: 120px;
  margin-bottom: 15px;
}

.menu {
  margin-top: 10px;
}

.menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #333333;
  font-weight: bold;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #a5272a;
}

/* ----------- CONTENEDOR DINÁMICO ----------- */
#contenido {
  padding: 40px 20px;
  max-width: 900px;
  margin: 20px auto;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* ----------- TÍTULOS ----------- */
h2, h3 {
  color: #a5272a;
  margin-bottom: 15px;
}

/* ----------- SECCIÓN SERVICIOS ----------- */
#servicios {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto 40px; /* Quitamos margen superior para reducir separación */
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
}

#servicios h2 {
  color: #a5272a;
  margin-top: 0; /* Evita espacio hacia arriba si es el primer título */
  margin-bottom: 15px;
}

#servicios p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Cuadrícula de servicios */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* Tarjeta de servicio */
.servicio {
  background-color: #fff9f3;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.servicio img {
  max-width: 64px;
  margin-bottom: 15px;
}

.servicio h3 {
  color: #a5272a;
  font-size: 1.1em;
  margin: 10px 0 8px;
}

.servicio p {
  font-size: 0.95em;
  color: #555;
  line-height: 1.4;
}

/* ----------- SECCIÓN CONTACTO ----------- */
#contacto {
  padding: 40px 20px;
  background-color: #ffffff;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#contacto form {
  margin-top: 20px;
}

#contacto input,
#contacto textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  font-family: inherit;
}

/* ----------- BOTONES ----------- */
button {
  background-color: #a5272a;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #8d1f20;
}

/* ----------- PIE DE PÁGINA ----------- */
footer {
  background-color: #6e5849;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}
/* ----------- CATÁLOGO DE PRODUCTOS ----------- */

.catalogo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Tarjeta de producto */
.producto {
  background-color: #fff9f3;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 20px;
  text-align: center;
}

/* Imagen de producto uniformada */
.producto .galeria img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto 15px;
  transition: transform 0.3s ease;
}

.producto .galeria img:hover {
  transform: scale(1.05);
}

/* Información del producto */
.producto .info h3 {
  font-size: 1.1rem;
  color: #a5272a;
  margin: 10px 0 6px;
}

.producto .info p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* ----------- SECCIÓN QUIÉNES SOMOS ----------- */
#quienes-somos {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 ;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  text-align: left;
}

#quienes-somos h2 {
  color: #a5272a;
  margin-bottom: 20px;
  font-size: 1.8rem;
  margin-top: 0;
  text-align: center;
}

#quienes-somos p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 15px;
}

#quienes-somos .valores h3 {
  color: #a5272a;
  font-size: 1.4rem;
  margin-top: 20px;
  margin-bottom: 15px;
}

#quienes-somos ul {
  list-style: none;
  padding-left: 0;
}

#quienes-somos ul li {
  position: relative;
  padding-left: 1.8em;
  margin-bottom: 10px;
  color: #444444;
}

#quienes-somos ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  color: #a5272a;
}
.imagen-quienes-somos {
  display: block;
  margin: 20px auto;
  max-width: 300px;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ----------- CONTACTO SECCION ----------- */
.botones-contacto {
  display: flex;
  flex-direction: column;
  gap: 8px; /* Menor separación entre botones */
  margin-top: 10px; /* Menor margen superior */
  align-items: flex-start;
}

.boton-whatsapp,
.boton-correo {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px; /* Menor padding interno */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px; 
  width: 220px; /* Ajusta este valor según lo que se vea mejor */
  color: white;
  transition: background-color 0.2s ease;
}

.boton-whatsapp {
  background-color: #25D366;
}

.boton-whatsapp:hover {
  background-color: #1ebe5d;
}

.boton-correo {
  background-color: #0072C6;
}

.boton-correo:hover {
  background-color: #005fa3;
}

.icono-contacto {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
}

.carrusel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  margin: auto;
}

.carrusel .imagenes {
  display: flex;
  width: 100%;
  transition: transform 0.3s ease-in-out;
}

.carrusel img {
  flex: 0 0 100%;
  width: 100%;
  object-fit: cover;
  height: 200px;
  border-radius: 6px;
}


.carrusel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  z-index: 1;
  font-size: 20px;
  border-radius: 50%;
}

.carrusel .prev {
  left: 10px;
}

.carrusel .next {
  right: 10px;
}




/* ----------- RESPONSIVE ----------- */
@media (max-width: 768px) {
  .menu a {
    display: inline-block;
    margin: 8px;
  }

  .catalogo-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .servicio img {
    max-width: 48px;
  }
   .producto .galeria img {
    width: 100%;
    height: auto;
  }

}

