.gallery-container {
    padding: 40px;
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .photo-item:hover {
    transform: scale(1.02);
  }

  .photo-item img,
  .photo-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .zoomed {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
  }

  .zoomed img,
  .zoomed video {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
  }

  .zoomed video {
    width: 80%;
    height: auto;
    max-height: 80vh;
  }

  .close-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: black;
    color: white;
    width: 40px;
    height: 40px;
    font-size: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
  }

  .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 24px;
    border-radius: 50%;
    padding: 10px;
    pointer-events: none;
    z-index: 10;
  }

  .video-item.playing .video-play-icon {
    display: none;
  }

  .zoom-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    font-size: 18px;
    border-radius: 50%;
    padding: 8px;
    z-index: 10;
    display: none;
  }

  .video-item:hover .zoom-icon {
    display: block;
  }

  .fullscreen-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 20px;
    display: none;
    z-index: 1002;
  }

  .zoomed .fullscreen-controls {
    display: flex;
    gap: 15px;
  }

  .control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
  }
  /* Header */
  header {
    background-color: var(--blanco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 120px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  header.sticky {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
  }

  .nav-links li a:hover {
    background-color: rgba(80, 199, 231, 0.1);
    color: var(--azul-agua);
  }

  .logo {
    position: relative;
    overflow: hidden;
  }

  .logo img {
    height: 65px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
    transition: all 0.3s;
    z-index: 2;
    position: relative;
  }

  .logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(80, 199, 231, 0.6));
  }

  .logo::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(
      circle,
      rgba(80, 199, 231, 0.4),
      transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 1;
  }

  .logo:hover::after {
    width: 120px;
    height: 120px;
  }

  .nav-links {
    display: flex;
    list-style: none;
  }

  .nav-links li {
    margin-left: 30px;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--negro);
    font-weight: 600;
    transition: color 0.3s;
  }

  .menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
  }
  /* Estilos generales */
:root {
--azul-agua: #50C7E7;
--naranja: #FF9E4F;
--amarillo: #FFD166;
--verde: #06D6A0;
--blanco: #FFFFFF;
--negro: #333333;
}

html {
scroll-behavior: smooth;
scroll-padding-top: 80px;
}


* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
}

body {
color: var(--negro);
line-height: 1.6;
margin-top: 150px;
}

h1, h2, h3 {
font-family: 'Comic Neue', cursive;
color: var(--negro);
text-align: center;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 10px 0;
}

.section-title {
text-align: center;
font-size: 50px;
color: #333;
position: relative;
}
/* WhatsApp Button */
.whatsapp-btn {
position: fixed;
bottom: 30px;
right: 30px;
background-color: #25D366;
color: white;
width: 60px;
height: 60px;
border-radius: 50%;
text-align: center;
line-height: 60px;
font-size: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
z-index: 999;
transition: all 0.3s;
}

.whatsapp-btn:hover {
transform: scale(1.1);
}

/* Añade esto al final de tu archivo CSS */

/* Estilos generales responsive */
@media (max-width: 1024px) {
  body {
    margin-top: 130px;
  }
  
  .gallery-container {
    padding: 30px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  
  .photo-item {
    height: 220px;
  }
}

@media (max-width: 768px) {
  header {
    height: 100px;
  }
  
  .logo img {
    height: 50px;
  }
  
  body {
    margin-top: 110px;
  }
  
  .gallery-container {
    padding: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }
  
  .photo-item {
    height: 180px;
  }
  
  .gallery-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  header {
    height: 80px;
  }
  
  .logo img {
    height: 40px;
  }
  
  body {
    margin-top: 90px;
  }
  
  .gallery-container {
    padding: 10px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
  }
  
  .photo-item {
    height: 150px;
    border-radius: 8px;
  }
  
  .gallery-title {
    font-size: 1.5rem;
    padding: 0 10px;
  }
  
  .whatsapp-btn {
    width: 45px;
    height: 45px;
    line-height: 45px;
    font-size: 22px;
    bottom: 15px;
    right: 15px;
  }
  
  /* Ajustes para el zoom en móviles */
  .zoomed img,
  .zoomed video {
    max-width: 95%;
    max-height: 60%;
  }
  
  .close-btn {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .fullscreen-controls {
    bottom: 10px;
    padding: 8px;
  }
  
  .control-btn {
    font-size: 16px;
  }
}

/* Mejoras para el zoom en dispositivos táctiles */
@media (hover: none) {
  .photo-item:hover {
    transform: none;
  }
  
  .zoom-icon {
    display: block !important;
    background: rgba(0, 0, 0, 0.8);
  }
}