/* ======================================================== */
/* PORTFOLIO VICTORIA - STYLE.CSS                           */
/* ======================================================== */

/* 1. IMPORTACIÓN DE FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Space+Grotesk:wght@500;700&display=swap');

/* 2. VARIABLES Y NUEVA PALETA TECH */
:root {
    /* Basado en tu imagen: Verde Neón, Púrpura y Oscuro Azulado */
    --color-titulos: #B6FF00;       /* Verde Neón para títulos y botones */
    --color-texto: #E0DADA;         
    --color-accent: #7D53FF;        /* Púrpura para subtítulos y detalles */
    
    /* Fondos y Componentes */
    --bg-body: #0f111a;             /* Fondo profundo principal */
    --bg-card: rgba(36, 40, 52, 0.8); /* El oscuro azulado #242834 con transparencia */
    --color-borde: #7D53FF;         /* Bordes en Púrpura */
    
    /* Efectos */
    --neon-glow: 0 0 15px rgba(182, 255, 0, 0.5);
    --transicion: all 0.3s ease;
}

/* 3. RESETEO Y BASES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* =========================================
   4. FONDO SÓLIDO (SIN EFECTOS)
   ========================================= */
body {
    font-family: 'Inter', sans-serif;
    color: var(--color-texto);
    overflow-x: hidden;
    
    /* Eliminamos los gradientes y dejamos el azul oscuro de tu paleta */
    background-color: #0e0f14; 
    min-height: 100vh;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 8rem;
    position: relative;
    /* Mantenemos una separación muy sutil en negro o púrpura oscuro */
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

/* TIPOGRAFÍA */
h1, h2, h4, .logo {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-titulos); /* Verde Neón para títulos principales */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Subtítulos en Púrpura */
h3, h5, .skill-title, .proyecto-subtitulo {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--color-accent); /* Púrpura */
    text-transform: uppercase;
}

p {
    font-size: 1.8rem;
    line-height: 1.8;
    font-weight: 300;
}

/* TÍTULOS DE SECCIÓN */
.heading {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 6rem;
    text-transform: uppercase;
    color: var(--color-titulos);
    text-shadow: var(--neon-glow);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-accent); /* Detalle de línea en Púrpura */
    margin: 1rem auto 0;
    box-shadow: 0 0 10px var(--color-accent);
}

/* =========================================
   5. HEADER Y NAVEGACIÓN (ESTILO FLOTANTE)
   ========================================= */

.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 2rem 5%;
    
    background: transparent; /* Eliminamos el fondo de barra sólida */
    backdrop-filter: none; /* Quitamos el desenfoque de la barra */
    border-bottom: none; /* Eliminamos la línea inferior de la barra */
    
    display: flex;
    justify-content: center; 
    align-items: center;     
    flex-wrap: nowrap;       
    z-index: 1000;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espaciado entre botones flotantes */
}

.navbar a {
    font-size: 1.6rem;
    color: var(--color-texto);
    margin: 0 0.5rem;
    font-weight: 500;
    transition: var(--transicion);
    white-space: nowrap;
    
    /* Estilo de botón redondeado y "en el aire" */
    padding: 0.8rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--color-accent); 
    border-radius: 50px; 
}

.navbar a:hover, .navbar a.active {
    color: var(--color-titulos); /* Verde Neón */
    border-color: var(--color-titulos);
    text-shadow: 0 0 10px rgba(182, 255, 0, 0.6);
    box-shadow: var(--neon-glow);
}

/* Las banderas (ES / EN) */
.flags {
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    margin-left: 2rem;
    padding: 0.5rem; 
    background: var(--bg-card);
    border: 1px solid var(--color-accent);
    border-radius: 50px; 
    white-space: nowrap;
}

.flags__item {
    cursor: pointer;
    transition: var(--transicion);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: transparent;
}

.lang-text {
    font-size: 1.4rem;
    color: var(--color-texto);
    font-weight: 600;
    transition: var(--transicion);
}

.flags__item:hover {
    background: rgba(182, 255, 0, 0.1); /* Fondo verde sutil */
    transform: translateY(-2px); /* Flota un poquito */
}

.flags__item:hover .lang-text {
    color: var(--color-titulos); /* Texto Verde Neón */
    text-shadow: 0 0 10px rgba(182, 255, 0, 0.6);
}

.flags__item:active {
    transform: scale(0.9); 
    background: var(--color-titulos); 
}

.flags__item:active .lang-text {
    color: #1a1a1a; /* Texto oscuro para contrastar con el fondo verde */
    text-shadow: none;
}

/* MENÚ HAMBURGUESA (MÓVIL) */
.menu-icon {
    font-size: 3rem;
    color: var(--color-titulos);
    display: none;
    cursor: pointer;
    margin-left: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        justify-content: space-between;
    }

    /* Contenedor flotante compacto a la IZQUIERDA */
    .navbar {
        position: absolute;
        top: 100%; 
        left: 5% !important; /* ¡CLAVE! Alineado a la izquierda */
        right: auto !important; /* ¡CLAVE! Desengancha el lado derecho */
        width: auto !important; 
        min-width: 220px; 
        background: rgba(36, 40, 52, 0.95);
        backdrop-filter: blur(15px);
        border: 1px solid var(--color-accent);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(125, 83, 255, 0.2);
        display: none; 
        flex-direction: column;
        align-items: center; 
        padding: 2rem;
        gap: 1.2rem; 
    }
    
    .navbar.active { display: flex; }
    
    .navbar a { 
        display: block; 
        margin: 0; 
        font-size: 1.5rem; 
        padding: 0.8rem 2rem;
        width: 100%;
        text-align: center;
    }
    
    /* Banderas */
    .flags { 
        display: flex; 
        justify-content: center;
        margin: 0.5rem auto 0 auto;
        padding: 0.3rem;
        width: fit-content;
        border-left: none; 
    }
    
    /* Mueve el ícono de las 3 rayitas a la izquierda */
    .menu-icon { 
        display: block; 
        order: -1; /* Lo manda al extremo izquierdo */
        margin-left: 0; /* Anula cualquier margen anterior */
    }
}

/* =========================================
    6. COMPONENTES TECH (Botones Redondeados)
   ========================================= */

.btn, .btn-proyecto {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 3.5rem;
    background: transparent;
    color: var(--color-titulos); /* Verde Neón */
    border: 1px solid var(--color-titulos);
    
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transicion);
    margin-top: 2rem;
    border-radius: 50px; /* Cambio a botones redondeados */
}

.btn:hover, .btn-proyecto:hover {
    background: var(--color-titulos);
    color: #1a1a1a;
    box-shadow: 0 0 20px rgba(182, 255, 0, 0.6);
}

/* 7. ESTILOS POR SECCIÓN */

/* =========================================
   SECCIÓN INICIO
   ========================================= */

#inicio {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; 
    align-items: center !important;
    width: 100% !important;
    min-height: 85vh;
    padding-top: 9rem !important; 
    padding-bottom: 5rem;
    text-align: center !important;
    background-color: #0e0f14; /* Fondo azul oscuro sólido */
}

.inicio-contenido {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* "Hola, soy" */
.inicio-contenido h3:first-child {
    font-size: 2rem;
    color: var(--color-texto);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Nombre Principal en Verde Neón */
.inicio-contenido h1 {
    font-size: 6rem;
    line-height: 1.1;
    margin: 1rem 0 2rem 0;
    text-transform: uppercase;
    color: var(--color-titulos); /* Verde Neón */
    text-shadow: var(--neon-glow);
}

/* Rol / Subtítulo en Púrpura */
.inicio-contenido h3:nth-of-type(2) {
    font-size: 2.5rem;
    color: var(--color-accent); /* Púrpura */
    margin-bottom: 2rem;
    font-weight: 700;
}

.inicio-contenido p {
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 3rem auto; /* El 'auto' a los lados centra el bloque */
    color: var(--color-texto);
    text-align: center; /* Centra el texto por dentro */
}

/* Redes Sociales con acento Verde Neón */
.social-media {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2.5rem;
    width: 100%;
    margin-bottom: 0.5rem;
}

.social-media a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5.5rem; 
    height: 5.5rem;
    border: 1px solid var(--color-titulos); /* Borde Verde Neón */
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-media a i {
    font-size: 2.4rem;
    color: var(--color-titulos) !important; /* Icono Verde Neón */
}

.social-media a:hover {
    background: var(--color-titulos);
    box-shadow: var(--neon-glow); /* Brillo Verde Neón */
    transform: translateY(-5px);
}

.social-media a:hover i {
    color: #1a1a1a !important; /* Color oscuro para contraste sobre el verde */
}

/* =========================================
   SOBRE MÍ
   ========================================= */

.sobre-mi {
    display: flex;
    align-items: center;
    gap: 5rem;
    background-color: #181b23;
}

.sobre-mi-contenido {
    padding: 3rem;
    border: none;
}

/* Imagen con brillo Púrpura */
.sobre-mi-img img {
    width: 30vw;
    border: none;
    background: transparent;
    box-shadow: none;
    filter: drop-shadow(0 0 15px rgba(182, 255, 0, 0.6)); 
    animation: float 4s ease-in-out infinite;
}

@media (max-width: 768px) {
    .inicio-contenido h1 {
        font-size: 4rem;
    }
    .inicio-contenido h3:nth-of-type(2) {
        font-size: 2rem;
    }
    #inicio {
        padding-top: 12rem !important;
    }
}

/* =========================================
   HABILIDADES
   ========================================= */

.habilidades-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, 100px); 
    justify-content: center; 
    gap: 1.5rem;
    width: 100%;
    margin: 0 auto;
}

.habilidad-box {
    background: var(--bg-card); /* Azul oscuro de tu paleta */
    border: 1px solid var(--color-accent); /* Borde Púrpura inicial */
    aspect-ratio: 1 / 1; 
    width: 100%; 
    padding: 0.5rem;
    text-align: center;
    border-radius: 0;
    transition: var(--transicion);
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    gap: 1rem;
}

.habilidad-box i {
    font-size: 3.5rem;
    color: var(--color-titulos); /* Iconos en Verde Neón */
}

.habilidad-box span {
    font-size: 1.3rem;
    color: var(--color-texto);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.habilidad-box:hover {
    border-color: var(--color-titulos); /* Cambio a Verde Neón al pasar el mouse */
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
    background: #1a1e2a; /* Tono ligeramente distinto para el hover */
}

.habilidad-box:hover i {
    color: #fff;
}

.skill-title {
    font-size: 2.2rem;
    text-align: center;
    display: block;
    margin-bottom: 2.5rem;
    color: var(--color-accent); 
    text-transform: uppercase;
    letter-spacing: 2px;
}

.skill-group {
    margin-bottom: 5rem; 
}

/* =========================================
   FORMACIÓN
   ========================================= */

.formacion {
    padding: 8rem 0;
    position: relative;
    background: #181b23; /* Fondo azul oscuro sólido */
}

.formacion-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
}

/* EFECTO DE CONEXIÓN EN PÚRPURA */
.formacion-container::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--color-accent);
    z-index: 0;
}

.formacion-container::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 10px; height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--color-accent), 0 0 40px var(--color-accent);
    animation: pulse 2s infinite;
    z-index: 1;
}

.formacion-box {
    flex: 1 1 350px;
    max-width: 450px;
    background: #0e0f14; /* Azul oscuro translúcido */
    border: 1px solid var(--color-accent); /* Bordes Púrpura */
    backdrop-filter: blur(10px);
    padding: 4rem 3rem;
    text-align: center;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.formacion-box:hover {
    transform: translateY(-10px);
    border-color: var(--color-titulos); /* Resalta en Verde al pasar el mouse */
    box-shadow: 0 0 40px rgba(182, 255, 0, 0.2);
}

.formacion-box i {
    font-size: 5rem;
    color: var(--color-titulos); /* Iconos en Verde Neón */
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(182, 255, 0, 0.4);
    display: inline-block;
    transition: 0.3s;
}

.formacion-box:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 30px var(--color-titulos);
}

.formacion-box h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.formacion-box p {
    font-size: 1.6rem;
    color: #ccc;
    font-weight: 300;
}

/* Animación de pulso actualizada al Púrpura */
@keyframes pulse {
    0% { box-shadow: 0 0 10px var(--color-accent); opacity: 0.8; }
    50% { box-shadow: 0 0 30px var(--color-accent); opacity: 1; }
    100% { box-shadow: 0 0 10px var(--color-accent); opacity: 0.8; }
}

@media (max-width: 900px) {
    .formacion-container::before,
    .formacion-container::after {
        display: none;
    }
    .formacion-container {
        flex-direction: column;
        gap: 3rem;
    }
    .formacion-box {
        width: 100%;
    }
}

/* =========================================
   PROYECTOS
   ========================================= */

.proyectos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 6rem;
    padding: 2rem;
}

.proyecto-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

.device-stage {
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* MONITOR (WEB) */
.monitor-frame {
    width: 100%;           
    max-width: 550px;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 3px solid #333;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 0 20px rgba(125, 83, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.monitor-screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.monitor-screen .prev, .monitor-screen .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: transparent; 
    color: var(--color-titulos) !important;
    font-size: 3rem;
    font-weight: bold;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 10;
    transition: 0.3s;
}
.monitor-screen .prev { left: 0; }
.monitor-screen .next { right: 0; }
.monitor-screen .prev:hover, .monitor-screen .next:hover {
    background-color: rgba(0,0,0,0.5);
}

.monitor-screen .slide {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; 
    object-position: center !important; 
    background: #000;
}

/* CELULAR (APP) */
.phone-frame {
    height: 450px;
    aspect-ratio: 9 / 16;
    background: #0a0a0a;
    border: 3px solid #2a2a2a;
    border-radius: 30px;
    padding: 9px;
    box-shadow: 0 0 20px rgba(125, 83, 255, 0.4);
    position: relative;
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid #111;
}

.monitor-screen .prev, .monitor-screen .next,
.phone-screen .prev, .phone-screen .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--color-titulos) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem; 
    font-weight: bold;
    z-index: 100;
    user-select: none;
    transition: all 0.3s ease;
}

.monitor-screen .prev, .phone-screen .prev { left: 10px; }
.monitor-screen .next, .phone-screen .next { right: 10px; }

.monitor-screen .prev:hover, .monitor-screen .next:hover,
.phone-screen .prev:hover, .phone-screen .next:hover {
    background-color: var(--color-titulos);
    color: #1a1a1a !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 10px rgba(182, 255, 0, 0.6);
}

.phone-screen .prev { left: 5px; }
.phone-screen .next { right: 5px; }

.phone-screen .prev:hover, .phone-screen .next:hover {
    background-color: var(--color-titulos);
    color: #1a1a1a !important;
}

.phone-notch {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 40%; height: 15px; background: #000;
    border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
    z-index: 15;
}

.mobile-slider { width: 100%; height: 100%; display: flex; justify-content: center; background: #000; }
.mobile-slider .slide { width: 100% !important; height: 100% !important; object-fit: cover; }

.proyecto-capa { padding: 1rem 0; text-align: left; }
.proyecto-capa h4 { color: var(--color-titulos); font-size: 2.5rem; margin-bottom: 0.5rem; }
.proyecto-subtitulo { color: var(--color-accent); font-size: 1.5rem; margin-bottom: 1.5rem; font-weight: 300; }
.proyecto-tech { border-top: 1px solid var(--color-accent); padding-top: 1.5rem; margin-top: auto; color: var(--color-accent); font-family: 'Space Grotesk', monospace; font-size: 1.3rem; }
.proyecto-links { margin-top: 2rem; display: flex; gap: 1rem; }

@media (max-width: 768px) {
    .proyectos-container { grid-template-columns: 1fr; gap: 4rem; }
    .device-stage { height: 300px; }
}

/* LAYOUT ZIG-ZAG */
.proyectos-container {
    display: flex;
    flex-direction: column;
    gap: 13rem;
    padding: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.proyecto-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6rem;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.proyecto-card:nth-child(even) {
    flex-direction: row-reverse; 
}

.proyecto-card:nth-child(odd) .proyecto-capa {
    text-align: left;
    align-items: flex-start;
}

.proyecto-card:nth-child(even) .proyecto-capa {
    text-align: right;
    align-items: flex-end;
}

.proyecto-card:nth-child(even) .proyecto-links,
.proyecto-card:nth-child(even) .proyecto-tech {
    justify-content: flex-end;
}

.device-stage, .proyecto-capa {
    flex: 1;
    width: 50%;
}

.device-stage {
    height: auto; 
    min-height: 400px;
}

@media (max-width: 968px) {
    .proyectos-container {
        gap: 6rem;
    }
    .proyecto-card {
        flex-direction: column !important;
        gap: 3rem;
    }
    .proyecto-card:nth-child(even) {
        flex-direction: column !important; 
    }
    .device-stage, .proyecto-capa {
        width: 100%;
        text-align: center !important;
        align-items: center !important;
    }
    .proyecto-links, .proyecto-tech {
        justify-content: center !important;
    }
}
/* =========================================
   CONTACTO
   ========================================= */

#contacto {
    padding: 8rem 2rem;
    background-color: #181b23; /* Fondo azul oscuro sólido */
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center !important;
}

.contenedor-contacto {
    text-align: center;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitulo-contacto {
    font-size: 1.8rem;
    color: #aaa;
    margin-bottom: 4rem;
    font-weight: 300;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-card {
    background: #0e0f14; /* Tono más oscuro para contraste */
    border: 1px solid var(--color-accent); /* Borde Púrpura */
    padding: 4rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-color: rgba(125, 83, 255, 0.5); /* Púrpura translúcido */
    box-shadow: 0 0 15px rgba(125, 83, 255, 0.1);
}

.contact-card h3 {
    font-size: 2.5rem;
    color: #fff;
    margin: 1.5rem 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-card p {
    font-size: 1.4rem;
    color: #ccc;
    margin-bottom: 3rem;
}

.cta-text {
    font-size: 1.4rem;
    color: var(--color-titulos); /* Verde Neón */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--color-accent); /* Borde Púrpura */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.icon-circle i {
    font-size: 3.5rem;
    color: #fff;
}

.contact-card:hover {
    transform: translateY(-10px);
}

.email-card:hover {
    background: rgba(182, 255, 0, 0.05);
    border-color: var(--color-titulos);
    box-shadow: 0 0 30px rgba(182, 255, 0, 0.2);
}
.email-card:hover .icon-circle {
    background: var(--color-titulos);
    border-color: var(--color-titulos);
    box-shadow: 0 0 20px rgba(182, 255, 0, 0.6);
}

.whatsapp-card:hover {
    background: rgba(182, 255, 0, 0.05);
    border-color: var(--color-titulos);
    box-shadow: 0 0 30px rgba(182, 255, 0, 0.2);
}
.whatsapp-card:hover .icon-circle {
    background: var(--color-titulos);
    border-color: var(--color-titulos);
    box-shadow: 0 0 20px rgba(182, 255, 0, 0.6);
}

.contact-card:hover .cta-text {
    color: #fff;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

#contacto .titulo-seccion {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto 2rem auto !important;
    font-size: 4rem; 
    color: var(--color-titulos); /* Verde Neón */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 20px rgba(182, 255, 0, 0.5),
        0 0 40px rgba(182, 255, 0, 0.3);
}

/* FOOTER */
.footer {
    background: #0a0c12; /* Azul muy oscuro para el footer */
    padding: 3rem; 
    text-align: center; 
    border-top: 1px solid var(--color-accent);
}

.footer-iconTop a {
    padding: 1rem 1.3rem; 
    background: var(--color-accent); /* Fondo Púrpura */
    color: #fff;
    display: inline-block; 
    margin-top: 1.5rem;
    border-radius: 50px; /* Bordes redondeados como la navbar */
    transition: var(--transicion); /* Transición suave */
}

.footer-iconTop a:hover {
    background: var(--color-titulos); /* Cambia a Verde Neón */
    color: #1a1a1a; /* Icono en oscuro para hacer contraste */
    box-shadow: 0 0 15px rgba(182, 255, 0, 0.6); /* Brillo verde */
    transform: translateY(-5px); /* Pequeño salto hacia arriba */
}

@media (max-width: 991px) { section { padding: 10rem 4% 6rem; } }
@media (max-width: 768px) {
    .menu-icon { display: block; }
    .navbar {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #0f111a; 
        border-top: 1px solid var(--color-titulos);
        display: none; flex-direction: column; padding: 2rem;
    }
    .navbar.active { display: flex; }
    .navbar a { display: block; margin: 1.5rem 0; font-size: 2rem; }
    .inicio { flex-direction: column-reverse; padding-top: 14rem; }
    .sobre-mi { flex-direction: column; }
    .sobre-mi-img img { width: 100%; }
    #contacto { margin: 4rem 2%; }
}

/* =========================================
   SECCIÓN INICIO (Con Logo Flotante)
   ========================================= */

.inicio-logo-container {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.logo-hero {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(125, 83, 255, 0.4)); /* Brillo Púrpura */
    animation: float 4s ease-in-out infinite;
}

.inicio-contenido {
    flex: 1 1 400px;
    text-align: left;
    max-width: 600px;
}

.inicio-contenido h1 {
    font-size: 6rem;
    margin: 1rem 0;
    line-height: 1.1;
    text-shadow: var(--neon-glow); /* Brillo Verde Neón */
}

.social-media {
    display: flex;
    justify-content: flex-start;
    gap: 1.5rem;
}

.social-media a {
    margin: 0 0 3rem 0;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 991px) {
    #inicio {
        flex-direction: column;
        text-align: center;
        padding-top: 12rem;
        gap: 3rem;
    }
    
    .inicio-contenido {
        text-align: center;
        order: 2;
    }
    
    .inicio-logo-container {
        order: 1;
        max-width: 300px;
    }
    
    .social-media {
        justify-content: center;
    }
}

/* =========================================
   CORRECCIÓN DE COLORES EN TEXTOS TRADUCIDOS
   ========================================= */

.btn:hover span, 
.btn-proyecto:hover span {
    color: #1a1a1a !important; 
}

.contact-card:hover span,
.contact-card:hover .cta-text span {
    color: #fff !important;
}