/* ✅ NORMALIZACIÓN */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Roboto Mono', monospace;
    list-style: none;
    text-decoration: none;
    color: white;
}

/* ✅ FONDO GENERAL */
html, body {
    min-height: 100%;
    height: auto;
    width: 100%;
    background: linear-gradient(245.59deg, #31494e 0%, #385e70 25%, #131313 75%);
    color: #fff;
    z-index: 1;
    background-attachment: fixed;
    overflow-x: hidden;
}

/* ✅ HEADER */
header {
    position: relative;
    right: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 3%;
    background-color: transparent;
}

.logo {
    font-size: 30px;
    font-weight: 800;
}

.navlist {
    display: flex;
}

.navlist a {
    margin-left: 60px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all .5s ease;
}

.navlist a:hover {
    border-bottom: 2px solid white;
}

#menu-icon {
    display: none;
    font-size: 35px;
    z-index: 101;
    cursor: pointer;
}

#menu-toggle {
    display: none; /* ✅ Oculto y sin estado marcado */
}

.menu-icon-action {
    display: none;
}

/* ✅ HERO SECTION */
.hero {
    width: 100%;
    min-height: 100vh;
    background: transparent;
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    z-index: 1;
}

section {
    padding: 0 8%;
}

.hero-text h5 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 25px;
}

.hero-text h1 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 50px;
    line-height: 1;
    margin: 0 0 30px;
}

.hero-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 80%;
    margin-bottom: 40px;
    line-height: 1.9;
}

.hero-img img {
    border-radius: 50%;
    width: 400px;
    margin: 10% 0 0 10%;
    height: auto;
    transition: all 2s linear;
}

.hero-img img:hover {
    width: 450px;
    opacity: 0.6;
}

.hero-text a {
    display: inline-block;
    background-color: #676767;
    border: 1px solid transparent;
    padding: 15px 30px;
    line-height: 1.4;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    transition: all .5s ease;
}

.hero-text a:hover {
    background-color: transparent;
    border: 1px solid white;
    transform: translateX(8px);
}

.hero-text a.videos {
    background-color: transparent;
    border: 1px solid white;
    margin-left: 20px;
}

.hero-text a.videos i {
    vertical-align: middle;
    margin-right: 5px;
}

/* ✅ ICONOS Y SCROLL */
.icons {
    position: absolute;
    top: 50vh;
    padding: 0 3%;
    transform: translateY(-50%);
}

.icons i {
    display: block;
    margin: 26px 0;
    font-size: 24px;
    transition: all .5s ease;
}

.icons i:hover {
    color: #4d4d4d;
    transform: translateY(-5px);
}

.scroll-down {
    position: absolute;
    bottom: 6%;
    right: 3%;
}

.scroll-down i {
    display: block;
    padding: 12px;
    font-size: 25px;
    background-color: #21383d;
    border-radius: 30px;
    transition: all .5s ease;
}

.scroll-down i:hover {
    transform: translateY(-5px);
}

/* ✅ DROPDOWN CV (ahora desplaza el contenido) */
.dropdown-cv {
    position: relative;
    display: inline-block;
}

.dropdown-cv .dropdown-content {
    display: none; /* ✅ Oculto al inicio */
    position: relative; /* ✅ Ahora en el flujo normal */
    margin-top: 10px; /* ✅ Empuja contenido hacia abajo */
    background: transparent;
    backdrop-filter: blur(8px);
    border-radius: 8px;
    padding: 16px 0;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-cv:hover .dropdown-content {
    display: block;
}

.dropdown-cv .dropdown-content a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-cv .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ✅ CARRUSEL INFINITO */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    margin: 20px auto 0 auto;
    background-color: transparent;
    z-index: 0;
}

.carousel-track {
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

.bx {
    font-size: 60px;
    color: rgba(128, 128, 128, 0.6);
    transition: transform 0.3s ease, color 0.3s ease;
}

.bx:hover {
    transform: scale(1.2);
    color: rgba(200, 200, 200, 0.9);
}

    /* ✅ ICONOS DE REDES */
.icons {
    position: absolute;
    top: 50vh;
    padding: 0 3%;
    transform: translateY(-50%);
    z-index: 1;
}

.icons i {
    display: block;
    margin: 26px 0;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7); /* ✅ Gris suave por defecto */
    transition: all 0.3s ease;
}

.icons i:hover {
    color: #f2bb13; /* ✅ Resalta con el color de tu paleta */
    transform: translateY(-5px);
}


/* ✅ MEDIA QUERIES */
@media (max-width: 992px) {
    section {
        padding: 0 3%;
        transition: .2s;
    }

    .hero-text {
        padding-top: 0;
    }

    .hero-img {
        text-align: center;
    }

    .icons {
        display: none;
    }

    .hero-text p {
        font-size: 70%;
    }

    .hero-img img {
        width: 80%;
        margin: 10% 0 0 10%;
    }

    .scroll-down {
        display: none;
    }
}

@media (max-width: 768px) {
    .menu-icon-action {
        display: block;
    }

    #menu-icon {
        display: block;
    }

    .hero-text {
        text-align: center;
        padding-top: 100px;
    }

    .hero-img {
        text-align: center; /* ✅ Centra el contenido */
    }

    .hero-img img {
        width: 300px;
        margin: 20px auto 0 auto; /* ✅ Centra horizontalmente */
        display: block;
    }

    .hero-img img:hover {
        width: 320px;
        opacity: 0.6;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .navlist {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 200px;
        height: auto;
        background-color: #021719bd;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        transition: all .5s ease-in-out;
    }

    .navlist a {
        display: block;
        margin: 7px 0;
    }

    #menu-toggle:checked + label.menu-icon-action + ul {
        right: 0;
    }

    .carousel {
        position: relative;
    }

    .icons {
        position: inherit;
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }
}
