/* Remove all existing styles and keep only these */
.nav {
    background-color: #000000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin: 0;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.nav-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 4rem;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    margin: 0;
    width: auto;
}

.logo {
    height: 2rem;
    width: auto;
    margin: 0;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-right: 2rem;
}

.nav-items {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    justify-content: flex-end;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    color: #ffffff;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-button:hover {
    color: #ffffff;
    opacity: 0.8;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background-color: #000000;
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    z-index: 1001;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.mobile-menu-button {
    display: none;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    margin-left: auto;
}

.hamburger {
    width: 24px;
    height: 24px;
    stroke: #fff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }

    .nav-content {
        justify-content: space-between;
    }

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        padding: 0.6rem;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    .mobile-menu-button:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .nav-items {
        display: none;
        position: absolute;
        top: 4rem;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 1rem;
        width: 100%;
        z-index: 1000;
    }

    .nav-items.mobile-active {
        display: flex;
        background-color: #000000;
        position: fixed;
        top: 4rem;
        left: 0;
        right: 0;
        height: calc(100vh - 4rem); /* This fixes the spacing issue */
        overflow-y: auto;
        padding: 1rem;
        z-index: 1000;
    }

    .nav-item {
        width: 100%;
        margin: 0.25rem 0; /* Reduced margin */
    }

    .nav-button {
        width: 100%;
        justify-content: space-between;
        padding: 1rem;
        font-size: 1.1rem;
    }

    .dropdown {
        position: relative;
        width: 100%;
        transform: none;
        margin: 0; /* Remove margin */
        margin-top: 0.5rem;
        left: 0;
        box-shadow: none;
        background-color: rgba(255, 255, 255, 0.05); /* Subtle background */
    }

    .dropdown-item {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

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

    .chevron {
        width: 1.2rem;
        height: 1.2rem;
    }
}

