* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.fondo {
    min-height: 100vh;
    background: url("imagenes/fondo.jpg") center/cover no-repeat;
    padding: 30px 15px;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 160px;
}

.bloque {
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 20px;
    margin: 20px auto;
    max-width: 420px;
    border-radius: 20px;
    text-align: center;
}

.bloque h1 {
    font-size: 26px;
    margin-bottom: 5px;
}

.bloque h2 {
    margin-bottom: 15px;
}

.bloque p {
    font-size: 14px;
    opacity: 0.9;
}

.botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.btn {
    text-decoration: none;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.2s;
}

.btn:hover {
    transform: scale(1.05);
    opacity: 0.85;
}

/* COLORES */
.whatsapp { background: #25D366; }
.facebook { background: #1877f2; }
.instagram { background: #E1306C; }
.youtube { background: #ff0000; }
.correo { background: #555; }
.galeria { background: #3498db; }
.maps { background: #e74c3c; }

/* ===== GALERÍA ===== */

.galeria-body {
  background: #111;
  color: white;
}

.galeria-header {
  text-align: center;
  padding: 40px 20px;
}

.galeria-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.galeria-header p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.btn-regresar {
  display: inline-block;
  padding: 10px 20px;
  background: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
}

.galeria {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.item:hover img {
  transform: scale(1.1);
}

.info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover .info {
  opacity: 1;
}

.galeria-footer {
  text-align: center;
  padding: 20px;
  opacity: 0.6;
}