/* General Navigation Styling */
.navbar {
    background-color: #333;
    color: #f0f0f0;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.1);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    font-size: 1rem;
    font-weight: 500;
}

.nav-links li a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffd700;
    transition: transform 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* Active Toggle Effect */
.menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Accessibility Improvements */
.nav-links a:focus {
    outline: 2px solid #ffd700;
    outline-offset: 4px;
}
