/* Estilos personalizados para MonroyNet */

body {
    background-color: #050505;
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Glassmorphism Opaco (sin brillos internos) */
.nav-pill {
    background: rgba(15, 15, 15, 0.85); /* Más opaco */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.glass-card {
    background: rgba(20, 20, 20, 0.6); /* Fondo sólido y opaco */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative; /* Necesario para el pseudo-elemento del neón */
    z-index: 1;
}

/* Efecto LED Neon Blanco en la parte de atrás (borde) al hacer hover */
.glass-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: transparent;
    border-radius: inherit; /* Hereda el border-radius de la card */
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.6); /* Resplandor neón blanco */
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.02);
}

.glass-card:hover::before {
    opacity: 1;
    animation: neonPulse 1.5s infinite ease-in-out;
}

/* Definición de la animación del neón (ya está en Tailwind, pero la dejamos por si acaso) */
@keyframes neonPulse {
    0%, 100% { box-shadow: 0 0 5px 2px rgba(255, 255, 255, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(255, 255, 255, 0.8); }
}

/* Efecto LED sutil en el ícono (opcional, para darle vida) */
.service-icon i {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    transition: filter 0.3s ease;
}

.glass-card:hover .service-icon i {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

/* Estilos para la galería (los items necesitan position relative para el overlay) */
.gallery-item {
    position: relative;
    cursor: pointer;
}

/* Clases de utilidad para animaciones */
.animation-delay-100 { animation-delay: 0.1s; }
.animation-delay-200 { animation-delay: 0.2s; }
.animation-delay-300 { animation-delay: 0.3s; }
.animation-delay-2000 { animation-delay: 2s; }

/* Scrollbar personalizada */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #ffffff; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #cccccc; }

/* Estilos para selects y inputs en modo oscuro */
#campo-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: white !important;
}
#campo-select option {
    background-color: #1a1a1a !important;
    color: white !important;
}
select::-ms-expand { display: none; }

/* Responsive */
@media (max-width: 768px) {
    .nav-pill { width: 95%; padding: 12px 16px; }
}