/* Menubar Styles */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 5px 10px;
    border-radius: 5px;
}

.menu a:hover,
.menu a.active {
    color: #007bff;
    background-color: rgba(255, 255, 255, 0.2);
}

.menu-toggle,
.menu-icon {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar {
        background-color: #ffffff;
    }

    .logo a,
    .menu a {
        color: #333;
        background-color: transparent;
    }

    .menu-icon {
        display: block;
        cursor: pointer;
    }

    .menu-toggle {
        display: none;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .menu li {
        margin: 0;
        padding: 15px 20px;
        border-top: 1px solid #f1f1f1;
    }

    .menu-toggle:checked ~ .menu {
        display: flex;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 20px;
    }

    .menu-icon .bar {
        height: 3px;
        width: 100%;
        background-color: #333;
        transition: 0.3s;
    }
}

/* Scroll effect for navbar */
.navbar.scrolled {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar.scrolled .logo a,
.navbar.scrolled .menu a {
    color: #333;
}