.banner-nav-toggle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
    z-index: 1001;
    pointer-events: auto;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-nav-toggle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.banner-nav-toggle.active {
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.banner-nav-toggle i {
    color: white;
    font-size: 20px;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-nav-toggle.active i {
    color: var(--gracie-red);
    transform: rotate(90deg);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: 70px;
    width: 0;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    overflow: hidden;
    transition: width 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .nav-menu {
        left: 60px;
    }
    
    .banner-nav-toggle {
        width: 36px;
        height: 36px;
    }
    
    .banner-nav-toggle i {
        font-size: 18px;
    }
    
    .nav-menu.active {
        width: 220px;
    }
    
    .nav-menu-link {
        font-size: 1.2rem;
    }
}

.nav-menu.active {
    width: 250px;
}

.nav-menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.nav-menu.active .nav-menu-items {
    opacity: 1;
}

.nav-menu-item {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav-menu-item:last-child {
    border-bottom: none;
}

.nav-menu-link {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-menu-link:hover {
    color: var(--gracie-red);
    transform: translateX(5px);
}

/* Dropdown styles */
.nav-menu-item.has-dropdown > .nav-menu-link::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.nav-menu-item.has-dropdown.active > .nav-menu-link::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 5px 0 0 15px;
}

.nav-menu-item.active > .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 8px 0;
}

.dropdown-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
}

.dropdown-link:hover {
    color: var(--gracie-red);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .nav-menu {
        left: 0;
        top: 60px;
        width: 100%;
        height: 0;
        transition: height 0.3s ease;
    }

    .nav-menu.active {
        width: 100%;
        height: auto;
        max-height: 60vh;
        background-color: rgba(0, 0, 0, 0.9);
    }

    .nav-menu-items {
        padding: 10px;
        margin-top: 5px;
    }

    .nav-menu-item {
        text-align: center;
        padding: 8px 15px;
    }

    .dropdown-link {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        font-size: 1.2rem;
        transition: color 0.3s ease, transform 0.3s ease;
        display: block;
    }

    .dropdown-menu {
        margin: 5px 0;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 6px;
        padding: 6px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        left: 0;
        top: 60px;
        width: 100%;
        height: 0;
        transition: height 0.3s ease;
    }

    .nav-menu.active {
        width: 100%;
        height: calc(55vh - 20px);
    }

    .nav-menu-items {
        padding: 20px;
    }

    .nav-menu-item {
        text-align: center;
        padding: 10px 20px;
    }

    .dropdown-menu {
        margin: 8px 0;
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 8px;
        padding: 8px;
    }

}