/* General Header Styling */
.nativeconvo-header {
    padding: 10px 20px;
    background-color: transparent;
    color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font: Outfit;
    text-transform: uppercase;
}

/* Overriding Materialize nav styles with more specific selectors */
.nativeconvo-header nav {
    background-color: transparent !important;
    width: fit-content;
    text-transform: uppercase;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.nativeconvo-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nativeconvo-header nav ul li {
    display: inline-block;
    margin-left: 20px;
}

.nativeconvo-header nav ul li a {
    color: var(--site-primary, #002E7A);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s ease, color 0.3s ease;
    outline: none !important;
    box-shadow: none !important;
}

.nativeconvo-header nav ul li a:hover {
    transform: scale(1.1);
    color: var(--site-accent, #DD5144);
}

.nativeconvo-header nav ul li a:focus,
.nativeconvo-header nav ul li a:active {
    color: var(--site-accent, #DD5144);
    text-decoration: underline;
    outline: none;
    box-shadow: none;
}

/* Container for logo and menu */
.nativeconvo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nativeconvo-logo a {
    font-weight: bold;
    font-size: 2.5rem;
    color: var(--site-accent, #DD5144);
    text-decoration: none;
}

/* Desktop Menu Styling */
.nativeconvo-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide desktop menu on mobile */
@media (max-width: 768px) {
    .nativeconvo-menu {
        display: none;
    }
}

/* Hamburger Menu Icon (Mobile Only) */
.nativeconvo-hamburger-menu {
    display: none;
    /* Hidden on desktop, visible on mobile */
    flex-direction: column;
    cursor: pointer;
}

.nativeconvo-hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #4C8BF5;
    margin: 4px 0;
}

/* Show hamburger menu icon on mobile */
@media (max-width: 768px) {
    .nativeconvo-hamburger-menu {
        display: flex;
    }
}

/* Mobile Menu Styling */
.nativeconvo-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 200px;
    height: 100vh;
    background: #4C8BF5;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    transform: translateX(-100%);
    /* Initially hidden off-screen on the left */
    transition: transform 0.3s ease;
}

/* Show mobile menu when active */
.nativeconvo-mobile-menu.active {
    transform: translateX(0);
    /* Slide into view */
}

.nativeconvo-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nativeconvo-mobile-menu ul li {
    padding: 15px;
    text-align: left;
    display: block;
    /* Ensure each item is on a separate line */
    width: 100%;
    /* Take full width of the container */
    box-sizing: border-box;
    /* Include padding in width calculation */
    border-bottom: 1px solid #ddd;
}

.nativeconvo-mobile-menu ul li:last-child {
    border-bottom: none;
    /* Remove divider on the last item */
}

.nativeconvo-mobile-menu ul li a {
    text-decoration: none;
    color: #FFCD46;
    font-weight: 600;
    display: block;
    font: Ovation;
    text-transform: uppercase;
    /* Ensure the anchor tag takes the full width of the list item */
}

/* Accessibility: Ensure no outline or box-shadow appears on focus or active states */
.nativeconvo-header nav ul li a:focus,
.nativeconvo-header nav ul li a:active {
    outline: none !important;
    box-shadow: none !important;
}