/* Center the navigation bar */
.nav-buttons {
    margin: 0 auto; /* Center navigation container */
    display: flex;
    justify-content: center; /* Center buttons inside this container */
    gap: 2rem; /* Space between the buttons */
    padding: 1rem;
    flex-direction: row;
}

.nav-links {
    flex-grow: 1; /* Make the navigation take up remaining space */
    display: flex;
    justify-content: center; /* Center the navigation buttons */
    align-items: center;
    gap: 2rem; /* Space between buttons */
}


/* Style for each button */
.nav-button {
    text-decoration: none; /* Remove underline */
    color: white; /* Text color */
    font-size: 1.1rem; /* Slightly larger font size */
    padding: 0.75rem 1.5rem; /* More padding for a better click target */
    border: 2px solid transparent; /* Border for hover effect */
    border-radius: 10px; /* Rounded corners */
    background: linear-gradient(135deg, #4d0eb3, #3a0891); /* Button gradient */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15); /* Subtle shadow effect */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    text-transform: capitalize; /* Capitalize button text appropriately */
}

/* Add hover effect for better user interaction */
.nav-button:hover {
    background: linear-gradient(135deg, #3a0891, #4d0eb3);
    border-color: white; /* Highlighted border on hover */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.25); /* Enhance shadow on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Active state for current page */
.nav-button.active {
    background-color: #1a1a1a; /* Darker background to show active page */
    color: #4d0eb3; /* Text contrast for active state */
    font-weight: bold; /* Emphasize active button */
    border-color: #4d0eb3; /* Add color to the border */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Hamburger Menu Button Styles */
    .hamburger {
        display: flex; /* Show hamburger menu on small screens */
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        width: 25px;
        height: 20px;
        margin-left: auto;
    }

    .hamburger .line {
        background-color: white;
        height: 3px;
        width: 100%;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* Navigation Container */
    .nav-container {
        position: relative;
    }

    /* Dropdown Navigation Links */
    .nav-buttons {
        display: none; /* Initially hidden */
        flex-direction: column;
        background: #1b1b1b;
        position: absolute;
        top: 100%;
        right: 0;
        width: 80%; /* Adjust width */
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        align-items: center; /* Center buttons */
        justify-content: center;
    }

    /* Hamburger toggles dropdown visibility */
    .hamburger.active + .nav-buttons {
        display: flex;
    }

    /* Navigation Buttons */
    .nav-button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        color: white;
        font-size: 0.9rem;
        text-decoration: none;
        background: linear-gradient(135deg, #4d0eb3, #3a0891);
        border-radius: 5px;
        width: 90%; /* Full width with padding */
        text-align: center;
        transition: background 0.2s ease;
    }

    /* Buttons hover effect */
    .nav-button:hover {
        background: linear-gradient(135deg, #3a0891, #4d0eb3);
    }
}
