/* Optional: Just to keep your nav items sitting nicely side-by-side */
.nav-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* The dropdown container - essential for positioning the menu correctly */
.dropdown {
    position: relative;
    display: inline-block;
}

.regular {
    font-size: 20px;
}

/* Style the trigger button to look like your other links */
.dropbtn {
    background-color: transparent;
    color: #333;
    padding: 10px;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

/* Hide the dropdown menu by default and position it right under the button */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    z-index: 1;
    border-radius: 4px;
}

/* Style the links inside the dropdown so they stack vertically */
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change link color on hover inside the dropdown */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* THE MAGIC: Show the dropdown menu when hovering over the .dropdown container */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Optional: Slight visual change to the trigger button on hover */
.dropdown:hover .dropbtn {
    color: #007bff;
}

/* This code only runs on screens that are 768px wide or smaller */
/* BY DEFAULT (Desktop view) */
.desktop-nav {
    display: flex; /* Show desktop navigation */
}

.mobile-nav {
    display: none; /* Hide mobile navigation completely */
}

/* CONDITIONAL SCREEN CHECK (Mobile view) */
@media screen and (max-width: 1200px) {
    .desktop-nav {
        display: none; /* Hide desktop navigation on small screens */
    }

    .dropbtn {
        font-size:16px; /* Adjust font size for mobile */
    }

    .regular {
        font-size: 12px; /* Adjust font size for mobile */
    }

    .nav-container {
        gap: 5px; /* Reduce gap between nav items on mobile */
    }
    
    .mobile-nav {
        display: block; /* Show mobile navigation on small screens */
    }
}