/* ========================================= */
/* VARIABLES Y RESETEOS                      */
/* ========================================= */
:root {
    --bg-dark: #0a0a0a;
    --text-light: #ffffff;
    --text-muted: #8b8f9e;     
    --accent-green: #009e90;   
    --accent-blue: #322bde; /* Azul brillante del boceto para el botón */
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Arial, sans-serif; }
body, a, button { cursor: none !important; }

body {
    background-image: url('assets/background-1920.jpg'); 
    background-attachment: fixed; background-size: cover; 
    background-position: center; background-repeat: no-repeat; 
    background-color: var(--bg-dark); color: var(--text-light);
    overflow-x: hidden; 
}

/* ========================================= */
/* CLASE MAESTRA: 1200px                     */
/* ========================================= */
.container { max-width: 1200px; width: 100%; margin: 0 auto; padding: 0 40px; }

/* ========================================= */
/* CURSOR                                    */
/* ========================================= */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999; pointer-events: none;
}
.cursor-dot { width: 8px; height: 8px; background-color: white; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.5); }

/* ========================================= */
/* HEADER Y NAVEGACIÓN                       */
/* ========================================= */
.navbar {
    background-color: #0f1016; padding: 20px 0;
    position: fixed; width: 100%; z-index: 100; 
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 60px; transition: 0.3s ease; }
@media (max-width: 992px) { .nav-logo { height: 35px; } }

.navbar nav { display: flex; align-items: center; }
.navbar nav a {
    color: var(--text-muted); text-decoration: none;
    margin: 0 15px; font-size: 1.1rem; font-weight: 500; transition: 0.3s ease; 
}
.navbar nav a:hover { color: var(--text-light); }
.navbar nav a.active { color: var(--accent-green); }

/* BOTÓN CONTÁCTANOS (WHATSAPP) */
.btn-contacto {
    border: 2px solid var(--accent-blue); 
    padding: 10px 30px;
    border-radius: 30px; /* Forma de píldora */
    color: var(--text-light) !important; 
    margin-left: 20px !important; 
    background: transparent;
}
.btn-contacto:hover {
    background: rgba(50, 43, 222, 0.2); /* Brillo azul al pasar el mouse */
    box-shadow: 0 0 15px rgba(50, 43, 222, 0.4);
}

/* MENÚ MÓVIL */
.menu-toggle { display: none; flex-direction: column; gap: 6px; z-index: 1000; }
.menu-toggle .bar { width: 30px; height: 2px; background-color: white; transition: 0.3s; }

@media (max-width: 992px) {
    .menu-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(15px); 
        display: flex; flex-direction: column; justify-content: center; align-items: center;
        gap: 30px; opacity: 0; visibility: hidden; transition: all 0.4s ease;
    }
    .nav-menu.active { opacity: 1; visibility: visible; }
    .nav-menu a { font-size: 1.5rem !important; margin: 0 !important; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ========================================= */
/* HERO SECTION                              */
/* ========================================= */
.hero { height: 100vh; display: flex; align-items: center; padding-top: 80px; }
.hero-container { display: flex; justify-content: center; align-items: center; width: 100%; }
.title-wrapper { display: flex; align-items: center; justify-content: center; gap: 40px; width: 100%; }
.main-title { width: 90%; max-width: 750px; display: block; }
.dona { position: relative; width: 270px; flex-shrink: 0; z-index: 10; }

@media (max-width: 992px) {
    .title-wrapper { flex-direction: column; gap: 20px; }
    .main-title { width: 100%; }
    .dona { width: 180px; display: block; }
}

/* ========================================= */
/* SECCIONES CENTRADAS (SOMOS Y NOSOTROS)    */
/* ========================================= */
.section-center-container {
    display: flex; flex-direction: column; justify-content: center; 
    align-items: center; text-align: center;
}
.somos, .nosotros { min-height: 80vh; display: flex; align-items: center; }

/* SOMOS */
.megafono { width: 250px; margin-bottom: 20px; position: relative; z-index: 2; }
.somos-text { width: 100%; max-width: 700px; }

/* NOSOTROS */
.burbujas { width: 180px; margin-bottom: 40px; }
.nosotros-texto {
    max-width: 900px; font-size: 20px; line-height: 1.6;
    color: #e0e0e0; font-weight: 300;
}

/* ========================================= */
/* SECCIÓN PROYECTOS                         */
/* ========================================= */
.proyectos { padding: 100px 0; min-height: 80vh; display: flex; align-items: center; }
.proyectos-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad auto, mitad texto */
    gap: 60px;
    align-items: center;
}

/* La imagen del Auto */
.proyectos-img img {
    width: 100%;
    /* Borde redondeado derecho superior e inferior */
    border-radius: 10px 50px 50px 10px; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: block;
}

/* Título y Cohete */
.evolucion-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
}
.evolucion-title {
    width: 100%;
    max-width: 380px;
    display: block;
}
.rocket {
    position: absolute;
    top: -50px; /* Lo sube por encima del texto */
    right: -60px; /* Lo tira hacia la derecha */
    width: 120px;
    z-index: 5;
}

.proyectos-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #e0e0e0;
    font-weight: 300;
    max-width: 95%;
}

@media (max-width: 992px) {
    .proyectos-container { grid-template-columns: 1fr; }
    .rocket { right: -20px; width: 90px; top: -30px; }
}

/* ========================================= */
/* SECCIÓN PORTFOLIO (CHICA)                 */
/* ========================================= */
.portfolio { padding: 50px 0 100px 0; }
.portfolio-container { display: flex; justify-content: center; }
.card-girl {
    width: 100%;
    max-width: 600px; /* Mantiene un tamaño ideal centrado */
    background: #11101d; 
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.05);
    display: flex; justify-content: space-between; align-items: flex-end; 
    padding: 0 40px; padding-top: 40px;
}
.card-img-girl { height: 350px; object-fit: contain; display: block; }
.card-girl h2 { margin-bottom: 40px; font-size: 2rem; }

/* ========================================= */
/* ELFSIGHT Y SCROLL UP                      */
/* ========================================= */
.social-feed { padding: 100px 0; text-align: center; }
.social-title { font-size: 2.5rem; margin-bottom: 50px; color: var(--text-light); }

/* BOTÓN SCROLL UP */
.scroll-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white; cursor: none;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; /* Oculto por defecto */
    transition: 0.3s ease; z-index: 1000;
    backdrop-filter: blur(5px);
}
.scroll-top svg { width: 24px; height: 24px; }
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background-color: var(--accent-green); border-color: var(--accent-green); }

/* ========================================= */
/* FOOTER                                    */
/* ========================================= */
.site-footer {
    background-color: #050505; /* Un negro súper profundo */
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Una línea separadora muy sutil */
    position: relative;
    z-index: 10;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer div {
    color: #8b8f9e; /* Gris apagado elegante */
    font-size: 0.9rem;
    font-weight: 300;
}

/* Estilo para tu nombre / link */
.site-footer a {
    color: var(--accent-green); /* Usa el turquesa de la marca */
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.site-footer a:hover {
    color: var(--text-light); /* Se ilumina en blanco al pasar el mouse */
}

/* Responsive para que en celulares el footer quede centrado y apilado */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}