/* --- ESTILOS PARA LA GALERÍA (gallery-style.css) - VERSIÓN FINAL --- */

/* ... (Los estilos globales, header y footer que te di antes) ... */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
:root { --purple: #3467f3; --black: #000000; --white: #F7F5F2; --grey: #DFDFDE; }
* { font-family: 'Roboto', sans-serif; box-sizing: border-box; margin: 0; padding: 0; text-decoration: none; border: none; outline: none; transition: all 0.2s linear; }
html { font-size: 62.5%; }
body { background-color: var(--black); color: var(--white); }
.degradado { background: linear-gradient(to right, #2d2dda, #3f3ff5, #4040cf); -webkit-background-clip: text; background-clip: text; color: transparent; }
header { position: relative; padding: 2rem 5%; display: flex; justify-content: space-between; align-items: center; background: rgba(30, 30, 30, 0.5); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); z-index: 999; }
header .logo h2 { font-size: 2.5rem; font-weight: 900; }
header .navbar { display: flex; align-items: center; }
header .navbar a { color: var(--white); font-size: 1.8rem; margin-left: 1.5rem; }
header .navbar a:hover { color: var(--purple); }
header .navbar .navbar-contact-social { display: flex; align-items: center; margin-left: 2rem; }
header .navbar .nav-icon-link { font-size: 1.6rem; color: var(--white); margin-left: 1.5rem; }
header #menu-btn { display: none; }

/* --- GALLERY AREA (TU ESTILO ORIGINAL) --- */
.gallery-area { padding: 80px 5%; min-height: calc(100vh - 160px); }
.gallery-area .heading { margin-bottom: 4rem; text-align: center; }
.gallery-area .heading h2 { font-size: 5rem; color: var(--purple); margin-bottom: 10px; }
.gallery-area .heading p { font-size: 2.1rem; color: var(--grey); max-width: 700px; margin: 0 auto; }
.gallery-area .box-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.gallery-item { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border-radius: 15px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; } /* AÑADIDO: cursor: pointer */
.gallery-item a { display: block; text-decoration: none; color: inherit; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-item .caption { padding: 15px; }
.gallery-item .caption h4 { font-size: 1.5rem; color: var(--white); margin: 0; font-weight: 600; text-align: center; }
.gallery-item:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); }

/* --- FOOTER --- */
footer { padding: 25px 5%; background-color: rgba(34, 34, 34, 0.75); backdrop-filter: blur(8px); text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); }
footer .content p { font-size: 1.5rem; color: #d0d0d0; margin: 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) { .gallery-item img { height: 200px; } }
@media (max-width: 480px) { .gallery-item img { height: 180px; } }

/* --- FIX DEFINITIVO PARA BUG VISUAL --- */
body.lg-on .header,
body.lg-on footer {
  visibility: hidden !important;
}
.lg-container {
    z-index: 99999 !important;
}