/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 5 20px;
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 20px;
  background: #222;
  color: #fff;
}

header .logo {
  max-width: 120px;
  border-radius: 10px;
  margin-bottom: 10px;
}

header h1 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CONTENIDO PRINCIPAL ===== */
.contenido {
  text-align: center;
  padding: 20px;
}

.contenido h2 {
  margin-top: 15px;
  color: #222;
}

/* ===== GALERÍA ===== */
.galeria {
  margin: 30px 0;
  text-align: center;
}

.galeria h2 {
  margin-bottom: 15px;
}

.imagenes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.imagenes img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.imagenes img:hover {
  transform: scale(1.05);
}

/* ===== FOOTER ===== */
footer {
  background: #222;
  padding: 15px;
  margin-top: 30px;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #25d366; /* verde estilo WhatsApp */
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.4rem;
  }

  .imagenes {
    grid-template-columns: 1fr;
  }
}

/* Ajuste en celular */
@media (max-width: 600px) {
  .imagenes {
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
    gap: 10px;
  }

  .imagenes img {
    max-width: 100%;   /* ocupa su columna sin salirse */
    border-radius: 6px;
  }
}
@media (max-width: 400px) {
  body {
    font-size: 1.05rem; /* sube un poquito la base */
  }
}
footer .direccion {
  margin-top: 10px;
  text-align: center;
  color: #bbb;
  font-size: 0.9rem;
}

