@charset "UTF-8";
/* CSS Document */

/* Base imports if you want to piggyback brand tokens */
@import url("global-tokens.css");


.top-nav-menu, .top-nav-menu ul, .submenu { list-style: none; padding: 0; }

/* Branding */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--burgundy); /* business name */
  font-weight: 700;
  text-transform: lowercase;
}

.brand-logo {
  height: 50px;     /* perfectly sized for existing nav height */
  width: auto;
  display: block;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}


/* Top navigation bar */
.top-nav {
  min-height: 80px;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--gold-gradient); /* appears to be bg color of topnav */
  color: #green; /* this color does not appear anywhere */
  list-style: none;
}
.top-nav-inner {
  max-width: 100%;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Top navigation menu */
.top-nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.95rem;
}
.top-nav-menu > li {
  position: relative;
}
/* Top-level links: rectangular with comfortable padding */
.top-nav-menu a {
  text-decoration: none;
  color: var(--ink); /* starter text for topnav links */
  padding: 0.6rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 0; /* no round edges */
  transition: background 0.18s ease, color 0.18s ease;
}
.top-nav-menu > li > a:hover,
.top-nav-menu > li > a:focus-visible {
  background: ; /* this is the box behind the topnav when hovering */
  color: var(--sienna); /* rollover text (inside mauve boxes) for topnav top links */
}
/* Indicator for items with submenus */
.top-nav-menu .has-submenu > a::after {
  content: " ▾";
  font-size: 0.7rem;
  opacity: 0.7;
}

/* Dropdown menus */
.top-nav-menu .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  color: var(--ink); /* does not appear */
  padding: 0.45rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1001;
  list-style: none;
}
.top-nav-menu li:hover > .submenu,
.top-nav-menu li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.top-nav-menu .submenu a {
  width: 100%;
  padding: 0.45rem 0.8rem;
  border-radius: 0;
  background: var(--gold); /* dropdown box */
  color: var(--ink); /* starting text inside dropdown box */
  font-size: 0.9rem;
  white-space: nowrap;
}
.top-nav-menu .submenu a:hover,
.top-nav-menu .submenu a:focus-visible {
  color: var(--sienna); /* rollover text of dropdown links */
}
/* Third-level submenu positioning */
.top-nav-menu .submenu .submenu {
  left: 100%;
  top: 0;
  transform: translateX(8px);
}

/* Mobile behavior: show/hide menu */
.nav-toggle {
  display: none;
}
@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0,0,0,0.2);
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
  }
  .top-nav-menu {
    position: static;
    flex-direction: column;
    width: 100%;
    display: none;
    padding-top: 0.5rem;
  }
  .top-nav.open .top-nav-menu {
    display: flex;
  }
  /* Submenus behave like normal lists on small screens */
  .top-nav-menu .submenu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: var(--sienna); /* no sienna in topnav anywhere */
  }
}

header.primary-header,
.top-nav,
header.primary-header *,
.top-nav * {
  opacity: 1 !important;
}

header.primary-header::before,
.top-nav::before {
  content: none !important;
  background: none !important;
}
