.my-header {
    height: 100dvh;
    box-sizing: border-box;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #264653, #2A9D8F);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Título e imágenes */
.my-header__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.my-header__title img {
    max-height: 90px;
    width: auto;
    vertical-align: middle;
    cursor: default;
}

.header-img-left,
.header-img-right {
    max-height: 80px;
    pointer-events: none;
}

.header-img-left {
    margin-right: 100px;
}

.header-img-right {
    margin-left: 100px;
}

/* Descripción */
#project-description {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 1000px;
    margin: 0 auto 30px;
    color: #ffffff;
    line-height: 1.4;
}

/* Botón menú (solo visible en móvil) */
#menu-toggle {
    display: none;
    /* Oculto por defecto en escritorio */
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    position: absolute;
    top: 25px;
    right: 20px;
    z-index: 1001;
}

/* Navegación */
.my-header__nav {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 20;
}

.my-header__menu {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 900px;
}

.my-header__menu li {
    position: relative;
}

.my-header__menu li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: white;
    background-color: transparent;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 500;
}

.my-header__menu li a:hover {
    background-color: #00d1b2;
    color: #fff;
}

.my-header__menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Flecha scroll */
.scroll-down-arrow {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    user-select: none;
    cursor: pointer;
    z-index: 1002;
}

.scroll-down-arrow span {
    display: block;
    width: 28px;
    height: 28px;
    border-bottom: 5px solid rgba(255, 255, 255, 0.8);
    border-right: 5px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    animation: slideFade 2s infinite ease-in-out;
}

.scroll-down-arrow span:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes slideFade {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: rotate(45deg) translateY(8px);
        opacity: 0.4;
    }
}

/* Responsive */
@media (max-width: 900px) {
    #menu-toggle {
        display: block;
    }

    /* Oculta menú por defecto */
    .my-header__nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: #287271;
        border-radius: 6px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        padding: 10px 20px;
        width: 200px;
        z-index: 1000;
    }

    /* Mostrar menú si activo */
    .my-header__nav.show {
        display: block;
    }

    /* Menú vertical */
    .my-header__menu {
        flex-direction: column !important;
        gap: 10px;
        justify-content: flex-start;
        max-width: none;
    }

    /* Sin separadores verticales */
    .my-header__menu li:not(:last-child)::after {
        display: none;
    }

    .my-header__menu li a {
        padding: 10px 14px;
        font-size: 1.2rem;
        font-weight: 600;
        background-color: transparent;
        border-radius: 4px;
    }

    .header-img-left,
    .header-img-right {
        display: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}