.header nav ul{
    display: flex;
    
}

.header nav ul li a{
    font-size: 2rem;
    font-weight: 600;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-family: var(--font-body);
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    border-radius: 12px;
    margin: 0 8px;
    background: transparent;
    backdrop-filter: blur(0px);
}

.header nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff7676, #ffa582, #ff7676, transparent);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 1px;
    opacity: 0;
}

.header nav ul li a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 118, 118, 0.1) 0%, transparent 70%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.header nav ul li a:hover{
    color: #fff;
    transform: translateY(-2px);
    text-shadow: 
        0 0 10px rgba(255, 118, 118, 0.8),
        0 0 20px rgba(255, 118, 118, 0.6),
        0 0 30px rgba(255, 118, 118, 0.4);
    background: linear-gradient(135deg, rgba(255, 118, 118, 0.1), rgba(255, 165, 130, 0.05));
    backdrop-filter: blur(10px);
    box-shadow: 
        0 8px 25px rgba(255, 118, 118, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.02em;
}

.header nav ul li a:hover::before {
    width: 100%;
    height: 3px;
    opacity: 1;
}

.header nav ul li a:hover::after {
    width: 120%;
    height: 120%;
}

/* Efeito de transição suave ao sair do hover */
.header nav ul li a:not(:hover) {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efeito de pulsação sutil no hover */
@keyframes menuPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 118, 118, 0.8),
            0 0 20px rgba(255, 118, 118, 0.6),
            0 0 30px rgba(255, 118, 118, 0.4);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 118, 118, 1),
            0 0 25px rgba(255, 118, 118, 0.8),
            0 0 35px rgba(255, 118, 118, 0.6);
    }
}

.header nav ul li a:hover {
    animation: menuPulse 2s ease-in-out infinite;
}




/*RENPONSIVE*/

.header .menu{
    display: none;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.header .menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 118, 118, 0.1), rgba(255, 165, 130, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header .menu:hover::before {
    opacity: 1;
}

.header .menu:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 118, 118, 0.3);
}

.header nav label{
    display: flex;
    flex-direction: column;
}

.header .hamburguer{
    background: linear-gradient(90deg, #ff7676, #ffa582);
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    top: 28px;
    left: 15px;
    transition: all 0.8s ease-in-out;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 118, 118, 0.3);
}

.header .hamburguer:before,
.header .hamburguer:after{
    background: linear-gradient(90deg, #ff7676, #ffa582);
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.7s ease-in-out;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(255, 118, 118, 0.3);
}

.header .hamburguer:before{
    top: -9px;
}

.header .hamburguer:after{
    bottom: -9px;
}
.header input{
    display: none;
}

.header input:checked ~ label .hamburguer{
    transform: rotate(45deg);
    background: linear-gradient(90deg, #ffa582, #ff7676);
    box-shadow: 0 2px 8px rgba(255, 118, 118, 0.5);
}

.header input:checked ~ label .hamburguer:before{
    transform: rotate(90deg);
    top: 0;
    background: linear-gradient(90deg, #ffa582, #ff7676);
    box-shadow: 0 2px 8px rgba(255, 118, 118, 0.5);
}

.header input:checked ~ label .hamburguer:after{
    transform: rotate(90deg);
    bottom: 0;
    background: linear-gradient(90deg, #ffa582, #ff7676);
    box-shadow: 0 2px 8px rgba(255, 118, 118, 0.5);
}

@media (max-width:1150px){
    .header .menu{
        display: block;
    }

    .header nav ul{
        display: none;
    }
    
    .header input:checked ~ ul{
        display: block;
    }

   .header nav  {
        position: absolute;
        right: 0;
        top: 15px;
        z-index: 1;
    }

    .header ul {
        background: rgba(10, 10, 18, 0.95);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 118, 118, 0.2);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border-radius: 20px;
        padding: 10px 0;
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .header ul li {
        display: block;
        text-align: center;
        width: 200px;
        padding: 15px;
        transition: all 0.3s ease;
    }

    .header ul li:hover {
        background: rgba(255, 118, 118, 0.1);
        transform: translateX(5px);
    }

     .header nav ul li a:hover {
        color: #ff7676;
        transform: translateY(-2px);
        text-shadow: 0 4px 8px rgba(255, 118, 118, 0.3);
     }
    
    .header .links a {
        margin-left: 0px;
    }
    
    .header label {
        display: flex;
        flex-direction: column;
    }

    .header label div {
        align-self: flex-end;
    }
}

@media (max-width: 600px) {
    .header ul {
        width: 180px;
        border-radius: 15px;
        animation: slideInMobile 0.3s ease-out;
    }

    @keyframes slideInMobile {
        from {
            opacity: 0;
            transform: translateX(20px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .header ul li {
        width: 180px;
        padding: 12px;
    }

    .header nav ul li a {
        font-size: 1.6rem;
        padding: 20px;
    }

    .header .menu {
        width: 50px;
        height: 50px;
    }

    .header .hamburguer {
        width: 25px;
        height: 3px;
        top: 23px;
        left: 12px;
    }
}

@media (max-width: 480px) {
    .header ul {
        width: 160px;
        border-radius: 12px;
    }

    .header ul li {
        width: 160px;
        padding: 10px;
    }

    .header nav ul li a {
        font-size: 1.4rem;
        padding: 15px;
    }

    .header .menu {
        width: 45px;
        height: 45px;
    }

    .header .hamburguer {
        width: 22px;
        height: 3px;
        top: 20px;
        left: 11px;
    }
}

@media (max-width: 375px) {
    .header ul {
        width: 140px;
        border-radius: 10px;
    }

    .header ul li {
        width: 140px;
        padding: 8px;
    }

    .header nav ul li a {
        font-size: 1.2rem;
        padding: 12px;
    }

    .header .menu {
        width: 40px;
        height: 40px;
    }

    .header .hamburguer {
        width: 20px;
        height: 3px;
        top: 18px;
        left: 10px;
    }
}