header {
    background: linear-gradient(to bottom, #1a1a1a, #0f0f0f);
    border-bottom: 3px solid #5a3a3a;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

ul li {
    flex: 1;
    text-align: center;
    border-right: 1px solid #333;
    transition: background-color 0.3s ease;
}

ul li:last-child {
    border-right: none;
}

ul li:hover {
    background-color: rgba(106, 74, 74, 0.3);
}

ul li a {
    display: block;
    color: #9a7a7a;
    text-decoration: none;
    padding: 18px 20px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

ul li a:hover {
    color: #d0a0a0;
}

ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #7a5a5a;
    transition: width 0.3s ease;
}

ul li a:hover::after {
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    nav {
        padding: 0 10px;
    }

    ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    ul li {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #333;
        text-align: center;
    }

    ul li:last-child {
        border-bottom: none;
    }

    ul li a {
        padding: 15px 16px;
        font-size: 0.95rem;
    }

    ul li a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    ul li a {
        padding: 12px 14px;
        font-size: 0.85rem;
    }
}