html, body {
  width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #E6E6E6;
  color: #333;
  padding-top: 80px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

header img {
  width: 100%;
  height: auto;
  max-height: 222px; /* Ajustá a lo que te guste */
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
}
/* Botón hamburguesa */
.menu-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 10px;
  background: #000;
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1001;
  cursor: pointer;
}

/* Navegación */
nav {
  background-color: #ffffff;
  border-bottom: 2px solid #ccc;
}

/* Estilo general de la navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  background-color: #ffffff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #f2f2f2;
  border: 2px solid #ddd;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 1em;
  transition: all 0.3s ease;
}

.navbar a:hover {
  background-color: #e0e0e0;
  border-color: #aaa;
  color: #000;
}

.navbar a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.navbar a.inicio {
  background-color: #007BFF;
  color: #fff;
  border-color: #007BFF;
}

.navbar a.inicio:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

/* Secciones */
section {
  margin: 20px 0;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 10px;
}

section h2 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: #444;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  justify-items: center;
}

.gallery img {
  width: 100%;
  max-width: 220px;
  height: 180px; /* ? Cambio aplicado aquí */
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #ccc;
}

.gallery img:hover {
  transform: scale(1.05);
}

.titulo-con-descripcion {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.titulo-con-descripcion h2 {
  font-size: 2em;
  color: #333;
  margin: 0;
}

.titulo-con-descripcion p {
  font-size: 1em;
  color: #555;
  max-width: 800px;
  margin: 0;
}

/* Pie de página */
footer {
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  color: #666;
  background-color: #fff;
  margin-top: 40px;
  border-top: 1px solid #ccc;
}

/* Responsive: versión móvil */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 0;
    display: none;
    position: fixed;
    top: 60px;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }

  .navbar.show {
    display: flex;
  }

  .navbar a {
    margin: 6px 0;
    width: 90%;
    max-width: 250px;
    font-size: 0.95em;
    padding: 6px 12px;
  }
}

/* Contacto */
.contacto-container {
  background-color: #f0f0f0;
  padding: 40px 20px;
  text-align: center;
}

.contacto-container h2 {
  color: #333;
  font-size: 2em;
  margin-bottom: 30px;
}

.contacto-iconos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.contacto-icono {
  text-align: center;
  font-size: 1.1em;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contacto-icono i {
  font-size: 2em;
  display: block;
  margin-bottom: 8px;
}

.contacto-icono.whatsapp { color: #25D366; }
.contacto-icono.instagram { color: #E1306C; }
.contacto-icono.facebook { color: #1877F2; }
.contacto-icono.email { color: #D44638; }
.contacto-icono.telefono { color: #4CAF50; }

.contacto-icono:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
