nav {
    width: 100%;
    padding: 10px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;

    background: transparent;
    box-shadow: none;
    background: rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    
}
nav::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background-image: radial-gradient(rgba(240,100,122,0.4) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: particlesMove 20s linear infinite;
    opacity: 0.3;
    pointer-events: none;
    filter: blur(0.5px);
    height: 3px;
}
nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        rgba(235, 215, 185, 0),
        rgba(235, 215, 185, 0.3),
        rgba(222, 154, 52, 0.6),
        rgba(235, 215, 185, 0.3),
        rgba(235, 215, 185, 0)
    );
}
@keyframes particlesMove {
    from {
        transform: translate(0,0);
    }
    to {
        transform: translate(200px, 200px);
    }
}
nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    position: relative;
    z-index: 2;
}
nav ul li {
    position: relative;
    cursor: pointer;
    transition: 0.3s;    
}
nav ul li::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #f0647a;
    transition: 0.3s;
}
nav ul li:hover::after {
    width: 100%;
}
nav ul li:hover {
    color: #f0647a;
}
nav h1 {
    font-size: 22px;
    letter-spacing: 2px;
}
nav h1,
nav ul li {
    background: linear-gradient(
        to bottom,
        #8a6b54 0%,
        #886951 50%,
        #6b4f3a 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Lora', serif;
    font-size: 23px;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 8px rgba(255, 250, 240, 0.2);
}
nav ul li {
    font-family: 'Lora', serif;
    font-weight: 600;
}
nav ul li i {
    margin-right: 8px;
}
nav ul li a {
    text-decoration: none;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 24px;
}
.logo img {
    height: 50px;
    width: auto;
}
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
    z-index: 3;
}


@media (max-width: 768px) {
    nav {
        padding: 10px 20px;
        flex-wrap: wrap;
        transition: 0.4s;
    }
    .hamburger {
        display: block;
            background: linear-gradient(
            to bottom,
            #8a6b54 0%,
            #886951 50%,
            #6b4f3a 100%
        );
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: 'Lora', serif;
        font-size: 23px;
        background-clip: text;
        color: transparent;
        text-shadow: 0 0 8px rgba(255, 250, 240, 0.2);
    }
    nav ul {
        width: 100%;
        box-sizing: border-box;
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    nav.nav-open ul {
        max-height: 200px;
    }
    nav ul li {
        font-size: 20px;
    }
}