/* BODY Y LETRAS*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif; 
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-attachment: fixed; 
    min-height: 100vh;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;   
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.logo-img {
    width: 40px;
    height: 40px;
    filter: invert(1);
    transition: transform 0.3s ease;
}

.logo-img:hover { transform: scale(1.1); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: #999; 
    font-size: 18px;
    font-weight: 500; 
    transition: all 0.3s ease;
    text-transform: uppercase; 
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: #fff;
    text-shadow: 
        0 0 10px #00b7ff, 
        0 0 25px #00b7ff,
        0 0 45px rgba(0, 183, 255, 0.5); 
    transform: translateY(-2px);
}

/* ICONOS SOCIALES */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.social-icons img {
    width: 18px;
    filter: invert(1); 
    opacity: 0.8;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #00b7ff;
    box-shadow: 
        0 0 15px #00b7ff,   
        0 0 40px #00b7ff,  
        0 0 70px #00b7ff;
    transform: scale(1.1);
}

.social-icons a:hover img { filter: invert(0); opacity: 1; }

/* BOTÓN SUBIR */
.btn-up {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(13, 13, 13, 0.6);
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 12px; 
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sombra interna y externa sutil */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-up img {
    width: 18px;
    filter: invert(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.btn-up:hover {
    background: rgba(0, 183, 255, 0.1); 
    border-color: #00b7ff; 
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.4);
}

.btn-up:hover img {
    opacity: 1;
    transform: translateY(-2px); 
}

.btn-up:active {
    transform: translateY(0) scale(0.95);
}

/* SECCIONES (ESTILO DOS COLUMNAS COMO LA IMAGEN) */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 100px 10% 50px 10%;
}
/* Contenedor del texto (Lado Izquierdo) */
.contenido {
    flex: 1;
    max-width: 600px;
    text-align: left; 
    color: #fff;
    z-index: 2;
}
.foto-area{
    width: auto;
}

/* Contenedor de Imagen/Informe */
.area-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.area-visual img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 55px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #00b7ff;
    text-shadow: 0 0 10px rgba(0, 183, 255, 0.5);
}

h2 {
    font-size: 40px;
    color: #00b7ff; 
    margin-bottom: 10px;
    text-transform: uppercase;
}

p {
    font-size: 18px;
    line-height: 1.6; 
    color: #ccc; 
    margin-bottom: 30px;
}

/* carussel */
.proyectos-slider {
    display: flex;
    overflow-x: hidden;
    width: 400px; 
    border-radius: 20px;
    gap: 0; 
}

.proyectos-slider::-webkit-scrollbar { 
    display: none; 
}

/* CADA TARJETA */
.proyecto-card {
    min-width: 400px; 
    scroll-snap-align: center;
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 183, 255, 0.2);
    transition: all 0.4s ease; 
}
.group {
    display: flex;
    width: max-content;
    animation: spin 12s linear infinite;
}

/* EFECTO HOVER EN LA TARJETA */
.proyecto-card:hover {
    border-color: #00b7ff;
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.4);
    transform: translateY(-5px);
}
.proyectos-slider:hover .group {
    animation-play-state: paused;
}

.proyecto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; 
}

.proyecto-card:hover img {
    transform: scale(1.1);
}

.proyecto-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    z-index: 2;
}

.proyecto-info h3 { 
    color: #00b7ff; 
    font-size: 18px; 
    margin: 0; 
    text-align: center;
}

.proyecto-info p { 
    font-size: 14px; 
    margin: 5px 0 0; 
    text-align: center;
}

@keyframes spin {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}   


.gif-integrado {
    height: 450px;
    width: auto;
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
    filter: saturate(0.8) contrast(1.1) drop-shadow(0 0 15px rgba(0, 210, 255, 0.3));
    animation: flotar 4s ease-in-out infinite;
}

@keyframes flotar {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.minimal-footer {
    padding: 10px 20px;
    text-align: center;
    background: rgba(10, 10, 10, 0.5); 
}

.footer-legal {
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* email */
.link-mail {
    position: relative;
}

/* El recuadro simple */
.link-mail::after {
    content: attr(data-mail);
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(0, 183, 255, 0.1);
    color: #00b7ff;
    padding: 6px 12px;
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 0.5px;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
}

/* Mostrar al pasar el mouse */
.link-mail:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


.glass-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    width: 120px; 
}

.card img {
    width: 40px;
    height: 40px;
    display: block;
    margin: 0 auto 10px;
}

.card span {
    color: white;
    font-size: 0.9rem;
}


/* formulario */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.contacto-form input, 
.contacto-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.contacto-form input:focus, 
.contacto-form textarea:focus {
    border-color: #00b7ff;
    box-shadow: 0 0 8px rgba(0, 183, 255, 0.3);
}

.btn-enviar {
    background: #00b7ff;
    color: #000;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-enviar:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 183, 255, 0.4);
    transform: translateY(-2px);
}


/* Ajuste para celulares */
@media (max-width: 600px) {
    .input-group { flex-direction: column; }
}