/*
 Theme Name: SegundAstra
 Theme URI: https://cursemon.com
 Description: Child theme oscuro para SegundaRealidad.com, con personalizaciones avanzadas fuera del Personalizador.
 Author: Javier Fuentes
 Author URI: https://cursemon.com
 Template: astra
 Version: 1.0.7
 Text Domain: segundastra
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

/* ------------------------------ */
/* 🌌 EFECTOS AVANZADOS Y HOVERS */
/* ------------------------------ */

/* 🔄 Transición global */
body, a, button, input, textarea, select, img, .grid-item, .hero-featured, .main-header-menu li a {
    transition: all 0.3s ease-in-out;
}

/* 🌈 Menú principal */
.main-header-menu li a {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    padding: 10px 15px;
    background-color: transparent;
}

.main-header-menu li a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: var(--ast-global-color-1);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease-in-out;
}

.main-header-menu li a:hover::after {
    width: 100%;
}

.main-header-menu li a:hover {
    text-shadow: 0 0 15px rgba(0, 230, 230, 0.6);
}

.main-header-menu .current-menu-item a {
    border-bottom: 2px solid var(--ast-global-color-2);
}

/* 🌫️ Cabecera sticky */
.site-header-main.ast-header-sticked {
    background-color: rgba(10, 10, 10, 0.85);
    box-shadow: 0 2px 10px rgba(0, 230, 230, 0.2);
}

/* 🏃 Hover en grid-item */
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 40px rgba(0, 230, 230, 0.5);
}

/* 🔍 Buscador sticky */
.ast-header-search .search-form input[type="search"] {
    border-bottom: 2px solid var(--ast-global-color-1);
}

/* 🏃 Scroll-to-top */
.ast-scroll-top {
    background-color: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--ast-global-color-1);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.ast-scroll-top:hover {
    background-color: rgba(102, 252, 241, 0.2);
    border-color: var(--ast-global-color-2);
}

/* 📱 Responsive básico */
@media (max-width: 768px) {
    .custom-logo-link img {
        max-height: 50px;
    }
    .main-header-menu li a {
        padding: 10px;
        font-size: 16px;
    }
}

/* 🌌 Breadcrumbs Rank Math */
.rank-math-breadcrumb a:hover {
    text-shadow: 0 0 10px rgba(102, 252, 241, 0.6);
}

/* 🌌 Entradas relacionadas */
.ast-related-posts .ast-related-post-title.entry-title a {
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.5);
    transition: color 0.3s ease-in-out;
}

.ast-related-posts .ast-related-post-title.entry-title a:hover {
    text-shadow: 0 0 15px rgba(102, 252, 241, 0.7);
}

/* 🌟 Estilos para Fluent Forms */
.fluentform label, 
.fluentform .ff-el-form-control::placeholder,
.ff-el-input-label, 
.fluentform .ff-el-group label {
    color: #00e6e6 !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(0, 230, 230, 0.5);
    transition: color 0.3s ease-in-out;
}

/* 🖋️ Campos del formulario */
.fluentform .ff-el-form-control {
    color: #d0d0d0 !important;
    background-color: rgba(10, 10, 10, 0.8) !important;
    border: 2px solid #00e6e6 !important;
    border-radius: 5px;
}

.fluentform .ff-el-form-control:focus {
    border-color: #66fcf1 !important;
    box-shadow: 0 0 15px rgba(102, 252, 241, 0.5) !important;
    outline: none;
}

.fluentform .ff-el-form-control:focus::placeholder {
    color: #66fcf1 !important;
    opacity: 1 !important;
}

/* 🎯 Botón de envío */
.ff-btn-submit {
    background-color: #00e6e6 !important;
    color: #0a0a0a !important;
    border-radius: 50px;
    padding: 12px 30px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    border: none;
}

.ff-btn-submit:hover {
    background-color: #66fcf1 !important;
    box-shadow: 0 0 20px rgba(102, 252, 241, 0.7);
    color: #0a0a0a !important;
}

.hero-heading {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem; /* Ajusta el tamaño si es necesario */
    font-weight: 700;
    color: #00e6e6;
    text-shadow: 0 0 20px rgba(0, 230, 230, 0.6);
    letter-spacing: 1px;
    text-align: center;
    animation: neonGlow 1.5s infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 0 0 10px rgba(0, 230, 230, 0.4), 0 0 20px rgba(0, 230, 230, 0.3);
    }
    to {
        text-shadow: 0 0 25px rgba(102, 252, 241, 0.8), 0 0 35px rgba(102, 252, 241, 0.6);
    }
}