/* Sistemas Mlg - Custom Cyber-Elite Utilities */

.glass-panel, .glass-card {
    background-color: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.glow-neon {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.glow-neon-hover:hover {
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.4);
}

.text-glow {
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.6);
}

.glow-indigo {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.25);
}

.input-tech {
    background-color: #0f172a;
    border: 1px solid #3a494b;
    color: #dae2fd;
    transition: all 0.3s ease;
}

.input-tech:focus {
    border-color: #00f2ff;
    box-shadow: 0 0 12px rgba(0, 242, 255, 0.35);
    outline: none;
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #00f2ff 0%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.grid-bg-pattern {
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* WordPress Core Alignment & Typography Classes */
.aligncenter { display: block; margin: 0 auto; }
.alignright { float: right; margin-left: 1.5em; }
.alignleft { float: left; margin-right: 1.5em; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #b9cacb; text-align: center; margin-top: 0.5rem; }

/* WP Block Styles Overrides for Dark Mode */
.entry-content p { margin-bottom: 1.5rem; line-height: 1.75; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { color: #ffffff; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.entry-content a { color: #00f2ff; text-decoration: underline; }
.entry-content a:hover { color: #e1fdff; }
.entry-content ul, .entry-content ol { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content blockquote { border-left: 4px solid #00f2ff; padding-left: 1.25rem; font-style: italic; color: #b9cacb; margin: 1.5rem 0; }

/* Resaltado del enlace activo en el menu de navegacion */
nav .menu-item.current-menu-item > a > span,
nav .menu-item.current_page_item > a > span,
nav .menu-item.current-menu-parent > a > span {
    color: #00f2ff !important;
    border-bottom: 2px solid #00f2ff;
    padding-bottom: 4px;
}

#mobile-menu .menu-item.current-menu-item > a > span,
#mobile-menu .menu-item.current_page_item > a > span {
    color: #00f2ff !important;
}
/* Mensajes del formulario de contacto */
.mlgs-contacto-mensaje {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 14px;
    font-family: monospace;
    border: 1px solid transparent;
}

.mlgs-contacto-mensaje.mlgs-contacto-exito {
    background: rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.3);
    color: #8ef4ff;
}

.mlgs-contacto-mensaje.mlgs-contacto-error {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
    color: #fda4af;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}


/* Efectos hover que faltaban: usados en tarjetas bento de Servicios, Mision, Contacto y Citas */
.glow-hover {
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}
.glow-hover:hover {
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.25);
    border-color: rgba(0, 242, 255, 0.4);
    transform: translateY(-3px);
}

.glow-accent {
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.18);
    transition: box-shadow 0.3s ease;
}
.glow-accent:hover {
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.3), 0 0 15px rgba(0, 242, 255, 0.15);
}


/* Boton CTA solido: bg-neon-cyan via Tailwind CDN no compila de forma fiable en algunos botones, se refuerza con CSS propio */
.btn-cta-solid {
    background-color: #00f2ff !important;
    color: #0f172a !important;
}
.btn-cta-solid:hover {
    background-color: #7df9ff !important;
    box-shadow: 0 0 22px rgba(0, 242, 255, 0.55);
}
