/* Desktop Navigation */
.nav-item {
    position: relative;
}

/* Button */
.nav-button {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 8px 12px;
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #000;
    border-radius: 12px;
    padding: 16px;
    display: none;
    z-index: 100000;
}

.dropdown::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    height: 12px;
}

/* Titles */
.dropdown-title {
    display: block;
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 600;
    color: #d1d5db;
}

/* Links */
.dropdown a {
    display: block;
    padding: 6px 0;
    color: #b1b6ba;
    text-decoration: none;
}

.dropdown a:hover {
    text-decoration: underline;
}

/* KEEP OPEN */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    display: block;
}

/* Rotate arrow when hovering the nav item */
.nav-item:hover .arrow-icon {
    transform: rotate(180deg);
}

/* Smooth animation */
.arrow-icon {
    transition: transform 0.2s ease;
}

main {
    position: relative;
    z-index: 1;
}

header {
    z-index: 99;
}

.nav ul {
    pointer-events: auto;
}

.nav a[data-v-3faa160e]:is(:hover, :focus-visible, .router-link-active) {
    color: #0066FF !important;
}

.nav-dropdown-trigger[data-v-79500c25]:hover {
    color: #0066FF !important;
}

.cta-button[data-v-3faa160e]:hover {
    color: #0066FF !important;
}

.cta-button:hover .link-active[data-v-3faa160e]:after {
    background-color: #0066FF !important;
}

.nav a[data-v-3faa160e]:after,
.nav-dropdown-trigger[data-v-79500c25]:after {
    background-color: #0066FF !important;
    box-shadow: none;
}

/* ===================================
   MOBILE MENU STYLES
   =================================== */

/* Mobile submenu */
.mobile-submenu {
    display: none;
    padding-left: 1.5rem;
    margin-top: 0.5rem;
}

.mobile-submenu a {
    display: block;
    padding: 0.75rem 0;
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
}

.mobile-submenu a:hover {
    opacity: 1;
}

/* Mobile nav item button */
.mobile-menu .nav-item-button {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    font-size: inherit;
}

.mobile-menu .nav-item-button.open .chevron-right {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.mobile-menu .chevron-right {
    transition: transform 0.3s ease;
}

/* Mobile menu contact button */
.mobile-menu-contact {
    grid-area: b;
    padding: 1rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.mobile-contact-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--c-lime, #00ff00);
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

/* Override dropdown styles for mobile */
@media (max-width: 1023px) {
    .mobile-menu .dropdown {
        position: static;
        width: 100%;
        background: transparent;
        border-radius: 0;
        padding: 0;
        padding-left: 1.5rem;
        margin-top: 0.5rem;
    }
    
    .mobile-menu .dropdown::before {
        display: none;
    }
    
    .mobile-menu .dropdown a {
        color: #fff;
        opacity: 0.8;
        padding: 0.75rem 0;
    }
    
    .mobile-menu .dropdown a:hover {
        opacity: 1;
        text-decoration: none;
    }
    
    /* Fix mobile menu items to not overlap contact */
    .mobile-menu-items {
        overflow-y: auto;
        max-height: calc(100% - 100px);
        pointer-events: auto;
    }
    
    /* Ensure contact button is clickable */
    .mobile-menu-contact {
        pointer-events: auto;
    }
    .mobile-contact-button[data-v-5de7f57b]
 
    {
        background-color: #fff;
        border-radius: 8px;
        color: var(--c-dark-green);
        display: block;
        font-family: var(--font-mono);
        font-weight: 700;
        padding: 1rem;
        text-align: center;
        text-decoration: none;
        text-transform: uppercase;
        transition: background-color .2s var(--ease-out);
        width: 100%;
    }
}