body {
    font-family: 'Montserrat', sans-serif;
    background-color: #258e927e; 
    color: #000000; 
}

/* Ajuste para fondo difuminado sin desenfocar el texto */
.hero-bg {
    position: relative;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-image: linear-gradient(rgba(143, 209, 235, 0.4), rgba(0, 0, 0, 0.5)), url('imagenes/Fondo pagina.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px); /* Intensidad del difuminado */
    transform: scale(1.05); /* Evita bordes blancos por el blur */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 10; /* Mantiene el texto nítido por encima del fondo */
}

/* Subrayado animado del menú */
.nav-link {
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #E07A5F; 
    transition: width 0.3s;
}

.nav-link:hover::after, 
.nav-link.active::after {
    width: 100%;
}

/* Botones de filtro de galería */
.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #3D405B;
    color: #ffffff;
}

/* Efecto hover en ítems de la galería */
.gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

/* Ocultar lightbox */
#lightbox.hidden {
    display: none;
}