/* RESETEO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #0F1724;
    color: white;
}

/* HEADER */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #205DA8;
    padding: 10px 20px;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-nav {
    width: 50px;
}

/* MENU DESKTOP */
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
}

.menu li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* HAMBURGUESA MÓVIL */
.hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    min-height: 90vh;
    background: url("img/fondo_hero3.png") center/cover no-repeat;
    color: white;
    padding-top: 130px;
    text-align: center;
}

.hero p {
    margin-top: -30px;
    font-size: 16px;
    text-shadow: 6px 6px 15px rgba(0, 0, 0, 0.9);
    /* Aumenté el desplazamiento y difuso */
}

.hero h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 110px;
    text-shadow: 6px 6px 15px rgba(0, 0, 0, 0.9);
    /* Aumenté el desplazamiento y difuso */
}

.floating-logo {
    width: 150px;
    margin: auto;
}

/* SECCIONES */
.section {
    max-width: 1100px;
    margin: auto;
    padding: 80px 20px;
    text-align: center;
}

.dos-columnas {
    display: flex;
    gap: 0;
    margin-top: 40px;
}

.dos-columnas img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: auto;
    margin-top: 20px;
}


.dos-columnas .col {
    flex: 1;
}

/*** PROYECTOS ***/
.proyecto {
    display: flex;
    gap: 30px;
    margin: 60px 0;
    align-items: center;
}

.columna {
    flex: 1;
}

p {
    text-align: justify;
}

#contacto p,
.hero p,
footer p {
    text-align: center !important;
}

/*** CARRUSEL ***/
.carrusel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carrusel-track {
    display: flex;
    transition: 0.5s ease;
}

.carrusel img {
    width: 100%;
    border-radius: 10px;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    padding: 10px;
    color: white;
    cursor: pointer;
    font-size: 22px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/*** CONTACTO ***/
.iconos-contacto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.iconos-contacto a {
    text-decoration: none;
    color: white;
    font-size: 18px;
}

.iconos-contacto i {
    font-size: 35px;
    margin-bottom: 10px;
}

.linea {
    width: 80%;
    max-width: 900px;
    height: 3px;
    background-color: #05A4C8;
    margin: 40px auto;
    border-radius: 3px;
}

#quienes-somos p {
    margin-top: 30px;         /* Aumenta el espacio arriba */
    text-align: justify;      /* Mantener justificado */
    text-justify: inter-word; /* Evita espacios exagerados */
    hyphens: auto;            /* Permite cortes naturales */
    line-height: 1.8;         /* Mejora la lectura */
}

.proyecto .texto p {
    margin-top: 30px;         /* Mismo margen superior */
    text-align: justify;      /* Mantener justificado */
    text-justify: inter-word; /* Evita espacios exagerados */
    hyphens: auto;            /* Permite cortes naturales */
    line-height: 1.8;         /* Mejora la lectura */
}

/*** FOOTER ***/
footer {
    text-align: center;
    padding: 20px;
    background: #205DA8;
    color: white;
}

/* =============== RESPONSIVE =============== */

/* TABLET */
@media (max-width: 900px) {
    .proyecto {
        flex-direction: column;
    }

    .texto p {
        text-align: center;
    }
}

/* MÓVIL */
@media (max-width: 700px) {

    /* menú hamburguesa */
    .hamburger {
        display: block;
    }

    .menu {
        position: absolute;
        top: 70px;
        right: 0;
        width: 180px;
        background: #111;
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        display: none;
    }

    .menu.show {
        display: flex;
    }

    .dos-columnas {
        flex-direction: column;
    }

    .proyecto {
        flex-direction: column;
    }

    .floating-logo {
        width: 120px;
    }
}