body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f4f4;
}

header {
  position: fixed;
  width: 100%;
  background: transparent;
  color: #fff;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 10px;
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,.5);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

.gallery {
  column-count: 3;
  column-gap: 15px;
}

.gallery img {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  cursor: zoom-in;
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #25d366;
  color: white;
  padding: 12px 18px;
  border-radius: 40px;
  text-decoration: none;
}

#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease forwards;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  transform: scale(0.95);
  animation: zoomIn 0.3s ease forwards;
}

#lightbox {
  touch-action: none;
}

#lightbox img {
  touch-action: none;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes zoomIn {
  from { transform: scale(0.95); }
  to { transform: scale(1); }
}

.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  height: 100px;
  z-index: 99999;
  background: transparent;
}

.music-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
}

.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
}

@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}

/* ===== AJUSTE FINO MÓVIL – LEDDA ===== */
@media (max-width: 768px) {

  /* Header y menú */
  header {
    background: rgba(11, 60, 93, 0.9);
    backdrop-filter: blur(8px);
  }

  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 10px 10px 15px;
  }

  nav {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 8px 12px;
    font-size: 16px;
  }

  .lang-switch {
    margin-top: 8px;
  }

  .lang-switch button {
    font-size: 14px;
    padding: 4px 10px;
  }

  /* Hero */
  .hero-text {
    width: 90%;
    padding: 15px;
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero-text p {
    font-size: 14px;
  }

  /* Galerías */
  .gallery {
    column-count: 1;
    column-gap: 0;
  }

  .gallery img {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  /* Lightbox */
  #lightbox img {
    max-width: 95%;
    max-height: 85%;
  }

  #close {
    font-size: 40px;
    top: 15px;
    right: 20px;
  }

  /* Logo */
  .logo {
    height: 40px;
    top: 12px;
    left: 12px;
  }

  /* Botones flotantes */
  .music-btn {
    bottom: 70px;
    right: 15px;
    font-size: 13px;
  }

  .whatsapp {
    bottom: 15px;
    left: 15px;
    font-size: 14px;
    padding: 10px 14px;
  }

  /* Mapa */
  .map-container iframe {
    height: 280px;
    border-radius: 12px;
  }
  footer {
  padding-bottom: 120px;
  }
  html {
  scroll-behavior: smooth;
  }

  .gallery img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .gallery img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  }
.contact-form {
  max-width: 600px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.contact-form button {
  background: #0b3c5d;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #124f78;
}
img.lazy {
  filter: blur(10px);
  transition: filter 0.5s ease;
}

img:not(.lazy) {
  filter: blur(0);
}

}
