:root {
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #000000;
}

.logo-container {
    position: absolute;
    left: 5%; 
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

header {
    position: fixed; 
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(5px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ESTADO ISLA FLOTANTE */
header.header-flotante {
    top: 20px;
    width: 90%;
    max-width: 1000px;
    border-radius: 50px;
    background-color: rgba(0, 0, 0, 0.8); 
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 0; 
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem; 
    margin: 0;
    padding: 0;
}

.nav-item a {
    text-decoration: none;
    color: #ffffff; 
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px; 
    transition: all 0.3s ease;
    position: relative;
}

.nav-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #00bfff; 
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.nav-item a:hover {
    color: #e0e0e0; 
}

.contenido-inicio {
    text-align: center;
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
}

h1 {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.575);
    padding: 0;
    margin-bottom: 0;
}

.txt-inicio {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0;
    color: #f0f0f0;
    text-shadow: 0px 1px 3px rgba(0,0,0,0.4);
}

.inicio {
    height: 90vh;
    background-image: image-set(url('assets/image2.png') type('image/png'));
    background-size: cover;
    background-position: center;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.wave {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: -2px;
    left: 0;
    display: block;
    line-height: 0;
}

/*SOBRE NOSOTROS*/
.nosotros {
    padding: 6rem 2rem; 
    background-color: #000000;
    text-align: center;
}

.sobre-nosotros {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 4rem;
    max-width: 1200px; 
    margin: 0 auto; 
}

.texto-nosotros {
    flex: 1;
    padding: 1rem;
    color: #ffffff;
    text-align: left;   
}

.titulo-nosotros {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 3px;
    position: relative;
    display: inline-block;
}

.titulo-nosotros::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;            
    bottom: -20px;    
    width: 60px; 
    height: 4px;
    background-color: #00bfff; 
    border-radius: 2px;
}

.txt-nosotros {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
}

.imagen-nosotros {
    flex: 1;
    display: flex;
    justify-content: center;
}

.img-nosotros {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    object-fit: cover;
}

/*PROYECTOS*/
.seccion-proyectos {
    padding: 6rem 2rem;
    background-color: #000000;
    text-align: center;
}

.titulo-proyectos {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 3rem; /* Un poco más de espacio antes del carrusel */
    font-weight: 700;
    position: relative;
    display: inline-block;
    color: #ffffff;
}

/* --- Estilos del Swiper --- */
.swiper {
    width: 100%;
    padding-bottom: 50px; /* Espacio para los puntitos de paginación abajo */
}

.swiper-slide {
    /* Centra el contenido dentro de cada slide */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Fondo sutil para la tarjeta si quieres, sino quítalo */
    /* background-color: #111; */
    border-radius: 12px;
    overflow: hidden; /* Para que la imagen respete el borde redondeado */
}

.imagen-proyecto {
    width: 100%;
    /* IMPORTANTE: Quité el max-width fijo para que se adapte al carrusel */
    height: 300px; /* Altura fija para que todas se vean parejas */
    object-fit: cover; /* Recorta la imagen para llenar el espacio sin deformar */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contenido-card {
    padding: 1.5rem 1rem;
    text-align: left; /* El texto se lee mejor alineado a la izquierda */
    width: 100%;
    max-width: 400px; /* Para que el texto no se estire demasiado */
}

.titulo-proyecto {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    color: #ffffff;
}

.descripcion-proyecto {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* --- Personalización de la navegación de Swiper (Flechas y puntos) --- */

/* Color de las flechas */
.swiper-button-next, .swiper-button-prev {
    color: #00bfff; /* Usé el celeste de tu diseño anterior */
}

/* Tamaño y color de los puntitos de paginación */
.swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #00bfff; /* El puntito activo en celeste */
}

/* Efecto Hover en la tarjeta */
.proyecto-card:hover .imagen-proyecto {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 191, 255, 0.2); /* Sombra celeste al pasar el mouse */
}

/*CONTACTO*/
/* --- SECCIÓN CONTACTO (CTA) --- */
.contactanos {
    /* Fondo con imagen y efecto Parallax */
    background-image: url('assets/image2.png'); /* Usá una de tus fotos lindas acá */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* ESTO HACE LA MAGIA DEL PARALLAX */
    position: relative;
    height: 400px; /* Altura fija para impacto */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Capa oscura encima de la foto para que se lea el texto */
.overlay-contacto {
    background: rgba(0, 0, 0, 0.816); /* Oscurece la foto un 60% */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.titulo-contacto {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.txt-contacto {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Botón llamativo */
.btn-contacto {
    display: inline-block;
    padding: 1rem 2.5rem;
    backdrop-filter: blur(5px);
    background: transparent; /* Fondo transparente */
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-contacto:hover {
    background-color: #00bfff;
    border-color: #00bfff;
    color: #000000;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

/*FOOTER*/
.footer {
    background-color: #0b0b0b; 
    color: #fff;
    padding-top: 4rem;
    border-top: 1px solid #222;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 3rem;
    padding: 0 2rem 4rem 2rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.footer-logo {
    font-size: 2rem;
    color: #fff;
    letter-spacing: 2px;
}

.footer-desc {
    color: #999;
    line-height: 1.6;
}

/* Estilo de los links del footer */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: #bbb;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: #00bfff; 
    padding-left: 5px; 
}

/* Redes Sociales */
.redes-sociales {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.redes-sociales a {
    color: #fff;
    text-decoration: none;
    background: #222;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
    font-size: 0.8rem;
    font-weight: bold;
}

.redes-sociales a:hover {
    background: #00bfff;
}

/* Barra inferior de copyright */
.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    border-top: 1px solid #1a1a1a;
}

/* =========================================
   RESPONSIVE DESIGN (Adaptación a Móviles)
   ========================================= */

@media (max-width: 992px) {
    /* TABLETS Y LAPTOPS CHICAS */
    
    /* Achicamos un poco los títulos gigantes */
    h1 { font-size: 2.5rem; }
    .titulo-nosotros, .titulo-proyectos, .titulo-contacto { font-size: 2.2rem; }
    
    /* Ajustamos el padding de las secciones */
    .nosotros, .seccion-proyectos { padding: 4rem 2rem; }
}

@media (max-width: 768px) {
    /* CELULARES (Vista Móvil) */

    /* --- 1. HEADER Y NAV --- */
    header {
        /* En celular, permitimos que el header crezca si es necesario */
        height: auto; 
        padding: 10px 0;
        flex-direction: column; /* Ponemos el logo arriba y menú abajo */
    }

    /* Ajuste para cuando se hace "Isla Flotante" en celular */
    header.header-flotante {
        width: 95%; /* Que ocupe casi todo el ancho */
        top: 10px;
        padding: 10px 0;
        border-radius: 20px; /* Menos redondeado para ganar espacio */
    }

    .logo-container {
        position: relative; /* Ya no es absolute para que no se superponga */
        left: 0;
        margin-bottom: 10px;
        justify-content: center;
    }

    .nav-list {
        gap: 1rem; /* Menos espacio entre links */
        flex-wrap: wrap; /* Si no entran, que bajen a otra línea */
        justify-content: center;
    }

    .nav-item a {
        font-size: 0.9rem; /* Letra un poco más chica */
    }

    /* --- 2. HERO SECTION --- */
    h1 {
        font-size: 2rem; /* Título principal más chico */
        line-height: 1.2;
    }
    
    .txt-inicio {
        font-size: 1rem;
        padding: 0 1rem; /* Para que no pegue en los bordes */
    }

    .nosotros {
        padding: 4rem 1rem; /* Menos padding lateral */
    }

    /* --- 3. SOBRE NOSOTROS (La clave) --- */
    .sobre-nosotros {
        flex-direction: column; /* APILA texto e imagen */
        gap: 2rem;
    }

    .texto-nosotros {
        text-align: center; /* Centramos el texto */
        padding: 0;
    }

    /* Centramos la línea decorativa debajo del título */
    .titulo-nosotros::after {
        margin: 15px auto 0 auto; 
    }

    /* --- 4. CONTACTO --- */
    .contactanos {
        height: auto; 
        padding: 0; /* CLAVE: Esto elimina el espacio a los costados */
        background-attachment: scroll; 
        background-position: center;
    }

    /* 2. EL RECUADRO NEGRO: Ahora ocupa todo el espacio */
    .overlay-contacto {
        width: 100%; 
        height: 100%; 
        border: none; /* Sacamos el borde finito si querés que se vea limpio */
        padding: 4rem 1.5rem; /* Buen espacio interno para que el texto respire */
    }

    /* 3. TEXTO Y BOTÓN */
    .titulo-contacto {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .btn-contacto {
        max-width: 350px; /* Para que no se deforme en celulares muy anchos */
    }

    /* --- 5. FOOTER --- */
    .footer-container {
        /* El grid ya es responsive, pero forzamos centrado visual */
        text-align: center;
        gap: 2rem;
    }

    .redes-sociales {
        justify-content: center; /* Redes al medio */
    }
    
    .footer-links a:hover {
        padding-left: 0; /* Sacamos el efecto de moverse en celular, a veces marea */
    }
}