body, ul, li, a, button {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header * {
    font-family: 'Audiowide', sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.header {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 0.5rem 2rem;
    width: 100%;
    flex-wrap: nowrap;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}


.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links li a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    font: 400 16px / 30px 'Audiowide', sans-serif;
    white-space: nowrap;
    text-transform: uppercase;  /* <-- This is the key */
    transition: background 0.3s ease, color 0.3s ease;
}



.nav-links li a:hover {
    background-color: #000;
    color: #fff;
}

.quote-btn {
    background-color: #000;
    color: #fff !important;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.quote-btn:hover,
.quote-btn:focus,
.quote-btn:active {
    background-color: #ee2e24;
    color: #fff !important;
}

.menu-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-btn:hover {
    color: #ee2e24;
}




/* Dropdowns */
.nav-links .dropdown {
    position: relative;
}

.nav-links .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 275px;
    z-index: 999;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-links .dropdown-menu li a,
.nav-links .nested-dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    white-space: nowrap;
    font-size: 0.95rem; /* Slightly smaller text for dropdowns and nested menus */
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links .dropdown-menu li a:hover,
.nav-links .nested-dropdown-menu li a:hover {
    background-color: #000;
    color: #fff;
}

/* Nested submenus (right-side flyout) */
.nav-links .dropdown-menu .dropdown {
    position: relative;
}

.nav-links .nested-dropdown-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    padding: 0.5rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 250px;
    z-index: 999;
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links .dropdown-menu .dropdown:hover .nested-dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.arrow {
    font-size: 0.8em;
    margin-left: 5px;
    pointer-events: none;
}

.arrow-right {
    font-size: 0.8em;
    margin-left: 5px;
    pointer-events: none;
}

/* Mobile View */
@media (max-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
  }

  .logo-link {
    width: 100%;
    max-width: 280px;
    display: flex;
    align-items: center;
  }

  .logo {
    width: 100%;
    height: auto;
    display: block;
  }


    .menu-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        border-top: 1px solid #ccc;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #ddd;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .arrow, .arrow-right {
        display: none;
    }

    .quote-btn {
        width: 100%;
        text-align: center;
    }
}
