/* ================= LOGIN CYBERPUNK ================= */

body {
    background: #0a0f1f;
    color: #d6e2ff;
    padding-top: 80px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;    /* Ajustá el valor según la altura de tu navbar */
}

/* Card futurista */
.card-cyber {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid #0ff;
    box-shadow: 0 0 20px #0ff, inset 0 0 10px #0ff;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    padding: 30px;
}

/* Texto de título neón */
.neon-text {
    color: #0ff;
    text-shadow: 0 0 8px #0ff, 0 0 15px #0ff;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Labels estilo Terminal */
.cyber-label {
    color: #a8c8ff;
    font-weight: 600;
    text-shadow: 0 0 4px #4ac7ff;
}

/* Inputs futuristas */
.cyber-input {
    background-color: rgba(0, 10, 20, 0.7);
    border: 1px solid #4ac7ff;
    color: #e7f3ff;
    border-radius: 6px;
}

.cyber-input:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff;
    background-color: #ffffff !important;
}


/* Botón estilo neon */
.btn-cyber {
    background: #00eaff;
    border: none;
    color: #00141f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 12px #00eaff;
    transition: 0.2s;
}

.btn-cyber:hover {
    background: #0ff;
    box-shadow: 0 0 20px #0ff, 0 0 30px #0ff;
}


/* Ajuste responsive */
@media (max-width: 480px) {
    .card-cyber {
        padding: 20px;
    }
}

/* ================= LOGIN CYBERPUNK ================= */

body {
    background: #0a0f1f;
    color: #d6e2ff;
}

/* Card futurista */
.card-cyber {
    background: rgba(10, 15, 30, 0.8);
    border: 1px solid #0ff;
    box-shadow: 0 0 20px #0ff, inset 0 0 10px #0ff;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    padding: 30px;
}

/* Texto de título neón */
.neon-text {
    color: #0ff;
    text-shadow: 0 0 8px #0ff, 0 0 15px #0ff;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Labels estilo Terminal */
.cyber-label {
    color: #a8c8ff;
    font-weight: 600;
    text-shadow: 0 0 4px #4ac7ff;
}

/* Inputs futuristas */
.cyber-input {
    background-color: rgba(0, 10, 20, 0.7);
    border: 1px solid #4ac7ff;
    color: #e7f3ff;
    border-radius: 6px;
}

.cyber-input:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff;
    background-color: rgba(0, 20, 40, 0.9);
}

/* Botón estilo neon */
.btn-cyber {
    background: #00eaff;
    border: none;
    color: #00141f;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 12px #00eaff;
    transition: 0.2s;
}

.btn-cyber:hover {
    background: #0ff;
    box-shadow: 0 0 20px #0ff, 0 0 30px #0ff;
}

/* Ajuste responsive */
@media (max-width: 480px) {
    .card-cyber {
        padding: 20px;
    }
}

/* ========================= */
/*     NAVBAR CYBERPUNK     */
/* ========================= */

.navbar-cyberpunk {
    background: rgba(5, 5, 5, 0.85) !important;
    backdrop-filter: blur(6px);

    border-bottom: 2px solid #00eaff;
    box-shadow:
        0 0 8px #00eaff,
        0 0 15px rgba(0, 234, 255, 0.5);

    font-family: "Orbitron", sans-serif;
    letter-spacing: 1px;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

/* ---------- LOGO ---------- */
.navbar-brand img {
    height: 48px;
    filter: drop-shadow(0 0 6px rgba(0, 234, 255, 0.6));
}

/* ---------- LINKS ---------- */
.navbar-cyberpunk .nav-link {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.navbar-cyberpunk .nav-link:hover,
.navbar-cyberpunk .nav-link.active {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);        /* opcional — da efecto de movimiento */
}


/* ---------- BOTÓN HAMBURGUESA ---------- */
.navbar-toggler {
    border-color: #00eaff !important;
    box-shadow: 0 0 5px #00eaff;
}

.navbar-toggler-icon {
    filter: drop-shadow(0 0 6px #00eaff);
}

/* ---------- EFECTO SCANLINE SUAVE ---------- */
.navbar-cyberpunk:before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 2px);
    pointer-events: none;
    opacity: 0.25;
}

/* ---------------------- */
/*     HERO PRINCIPAL     */
/* ---------------------- */

#inicio {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    grid-area: inicio;
}

/* ===== SLIDE DEL HERO ===== */
.hero-slide {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

/* Transición suave del carrusel */
.carousel-item {
    transition: opacity 1s ease-in-out;
}

/* ===== OVERLAY FUTURISTA ===== */
.overlay-cyberpunk {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(5, 5, 5, 0.85),
            rgba(10, 10, 10, 0.70));
    mask-image: radial-gradient(circle at center, black 70%, transparent 100%);
    background-blend-mode: overlay;
    z-index: 1;
}

/* ===== CONTENIDO ===== */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* ================================ */
/*         EFECTO NEÓN TEXTO        */
/* ================================ */

/* Se activa SOLO cuando el slide está visible */
.carousel-item.active .neon-title {
    animation: neon-flicker 4s infinite;
}

.neon-title {
    font-family: "Orbitron", sans-serif;
    font-size: 4rem;
    color: #00eaff;
    text-shadow:
        0 0 5px #00eaff,
        0 0 10px #00eaff,
        0 0 20px #00eaff,
        0 0 40px rgba(0, 234, 255, 0.8);
    opacity: 1;
}

@keyframes neon-flicker {

    0%,
    100% {
        opacity: 1;
    }

    92% {
        opacity: .8;
    }

    93% {
        opacity: .3;
    }

    94% {
        opacity: 1;
    }
}

/* -------- SUBTÍTULO -------- */
.hero-subtitle {
    font-size: clamp(1rem, 3.2vw, 1.8rem);
    font-family: "Exo", sans-serif;
    color: #eeeeee;
    margin-top: 10px;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* -------- BOTÓN -------- */
.btn-hero {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;
    font-family: "Orbitron", sans-serif;
    color: #00eaff;
    border: 2px solid #00eaff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);

    box-shadow:
        0 0 10px #00eaff,
        inset 0 0 10px rgba(0, 234, 255, 0.4);

    transition: 0.3s ease;
}

.btn-hero:hover {
    box-shadow:
        0 0 20px #00eaff,
        inset 0 0 20px rgba(0, 234, 255, 0.7);
    color: black;
    background: #00eaff;
}

/* ================================ */
/*     ANIMACIÓN FADE + SLIDE UP    */
/* ================================ */

@keyframes fadeSlideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Se activa cuando el slide está visible */
.carousel-item.active .hero-content {
    animation: fadeSlideUp 1.2s ease forwards;
}

/* ================================ */
/*       RESPONSIVE MOBILE          */
/* ================================ */
@media (max-width: 480px) {

    .neon-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 10px 20px;
    }
}



/* ============================= */
/* FOOTER — ESTILO CYBERPUNK    */
/* ============================= */

.footer-cyber {
    background: linear-gradient(135deg, #0a0a0f, #12121c, #0a0a0f);
    color: #eee;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 2px solid #ff009d;
    box-shadow: 0 0 25px #ff009d50;
    text-align: center;
}

/* GRID */
.footer-contenido {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding-bottom: 40px;
}

/* Títulos con glow */
.footer-title-neon {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ff009d;
    text-shadow:
        0 0 4px #ff009d,
        0 0 10px #ff009d,
        0 0 16px #ff009d;
}

/* Texto */
.footer-text,
.footer-info li {
    opacity: 0.9;
    color: #d6d6d6;
    line-height: 1.6;
}

/* ENLACES */
.footer-links li {
    list-style: none;
    margin: 6px 0;
}

.footer-links a {
    color: #c8f8ff !important;
    transition: 0.2s ease;
    font-size: 0.95rem;
    text-shadow: 0 0 4px rgba(0, 234, 255, 0.4);
}

.footer-links a:hover {
    color: #00eaff !important;
    text-shadow:
        0 0 8px #00eaff,
        0 0 20px rgba(0, 234, 255, 0.7);
    transform: translateX(5px);        /* opcional — da efecto de movimiento */
}

/* ================================
   SIDEBAR ESTILO CYBERPUNK
================================ */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(6px);
    padding: 20px 0;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
    z-index: 9999;
    border-right: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 5px 0 25px rgba(0, 255, 255, 0.25);
}

.sidebar.open {
    transform: translateX(0);
}

/* ================================
   BOTÓN HAMBURGUESA (mejorado)
================================ */
.btn-sidebar-toggle {
    position: fixed;
    top: 18px;
    left: 18px;
    background: rgba(0, 255, 255, 0.15);
    border: 1px solid rgba(0, 255, 255, 0.35);
    color: #00eaff;
    padding: 8px 11px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
    z-index: 11000;
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
    transition: all 0.2s ease;
}

.btn-sidebar-toggle:hover {
    background: rgba(0, 255, 255, 0.25);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
}

/* ================================
   PERFIL USUARIO — Avatar dentro del sidebar
================================ */
/* Evita conflictos */
.sidebar-profile {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    text-align: center;
}

.sidebar-user {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 0;
    text-align: center;
    overflow: hidden;
    /* evita que la imagen se salga */
}

/* Avatar pequeño */
.sidebar-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #00eaff;
    box-shadow:
        0 0 10px #00eaff,
        0 0 25px rgba(0, 238, 255, 0.4);
    transition: 0.2s ease;
}

.sidebar-avatar:hover {
    transform: scale(1.05);
}

/* Nombre */
.sidebar-username {
    margin-top: 10px;
    color: #e0f7ff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 0 6px rgba(0, 238, 255, 0.6);
}

/* Responsive avatar */
@media (max-width: 768px) {
    .sidebar-avatar {
        width: 55px;
        height: 55px;
    }
}

/* ================================
   MENÚ
================================ */
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    color: #b6c9d6;
    text-decoration: none;
    font-size: 16px;
    transition: 0.25s all ease;
}

.sidebar-menu li a i {
    font-size: 20px;
    color: #00d4ff;
}

.sidebar-menu li a:hover {
    background: rgba(0, 255, 255, 0.12);
    color: #00eaff;
    border-left: 3px solid #00eaff;
    padding-left: 28px;
    box-shadow: inset 0 0 12px rgba(0, 255, 255, 0.25);
}

/* ================================
   BOTÓN LOGOUT
================================ */
.sidebar-logout {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

.logout-btn {
    background: linear-gradient(135deg, #e84118, #c23616);
    color: white;
    border: none;
    padding: 11px 18px;
    width: 85%;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.25s ease;
    box-shadow: 0 0 12px rgba(255, 60, 0, 0.4);
}

.logout-btn:hover {
    background: linear-gradient(135deg, #ff4c24, #b4200f);
    box-shadow: 0 0 15px rgba(255, 70, 20, 0.7);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .sidebar {
        width: 230px;
    }

    .sidebar-avatar {
        width: 72px;
        height: 72px;
    }

    .btn-sidebar-toggle {
        top: 12px;
        left: 12px;
        padding: 6px 9px;
    }
}

@media (max-width: 576px) {

    /* El botón hamburguesa baja para no chocar con el logo */
    .btn-sidebar-toggle {
        top: 65px;
        left: 16px;
        transform: scale(0.95);
    }

    .sidebar {
        width: 210px;
    }

    .sidebar-menu li a {
        font-size: 15px;
        padding: 10px 18px;
    }
}


/* ICONOS REDES */
.footer-social img {
    width: 32px;
    margin: 0 8px;
    filter: drop-shadow(0 0 6px #00eaff);
    transition: 0.3s;
}

.footer-social img:hover {
    filter: drop-shadow(0 0 12px #ff009d);
    transform: scale(1.08);
}

/* LEGAL */
.footer-legal {
    border-top: 1px solid #00eaff40;
    padding-top: 15px;
    color: #999;
    font-size: 0.9rem;
}

.footer-legal a {
    color: #ff009d;
    text-decoration: none;
    text-shadow: 0 0 8px #ff009d60;
}

.footer-legal a:hover {
    color: #00eaff;
    text-shadow: 0 0 12px #00eaff;
}