/* ============================================================
   NAV  (css/nav.css)
   Copied VERBATIM from rwhome.css so new pages can stop loading
   rwhome.css. Do not edit here: change it in rwhome.css and
   mirror the change, until every page is on the new stylesheet.
   Load order: site.css -> nav.css -> navigation.css -> footer.css
   ============================================================ */

#navOpenIcon {
    content: none;
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    transition: opacity 0.3s ease-in-out;
}
/* Face + Menu pill */
.nav-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px 4px 6px;
    border: 2px solid #B70000;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
    cursor: pointer;
}


.nav-trigger #navOpenIcon {
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
}

/* Open state: remove the pill and show the close symbol */
header.active .nav-trigger {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}



header.active .nav-trigger #navCloseIcon {
    background: transparent;
    border: 0;
    box-shadow: none;
}

    /* Header Styles */

    header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 10%;
      position: fixed;
      width: 80%;
      top: 0;
      z-index: 1000;
         transform: translateZ(0);
       
    }

    
 header.scrolled {
      background-color:#FFE714;
    }
header.active {
  background-color: #B70000; /* Background color when logo.svg is clicked */
}

    header .logo {
      font-size: 1.5rem;
      font-weight: bold;
    }

    header .nav-trigger img,
    header .nav-trigger .close-icon {
      width: 70px;
      cursor: pointer;
    }

    header .nav-trigger .close-icon {
      font-size: 5rem;
      display: none;
      color: #fff;
    }

    /* Full-Page Navigation */
    .nav-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #B70000;
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      transform: translateY(-100%);
      transition: transform 0.3s ease-in-out;
      padding-left: 10%;
      padding-top: 50px;
       z-index: 999;
    }

    .nav-overlay.active {
      transform: translateY(0);
    }

    .nav-overlay .nav-header {
      position: absolute;
      top: 20px;
      left: 10%;
      font-size: 1.5rem;
      font-weight: bold;
    }

    .nav-overlay ul {
      list-style: none;
      text-align: left;
      width: 100%;
    }

    .nav-overlay ul li {
      margin: 20px 0;
    }

    .nav-overlay ul li a {
      font-size: 3.5vw;
      font-family: "ClashDisplay", sans-serif;
      text-transform: uppercase;
      font-weight: 700;
      line-height: 2vw;
      color: #fff;
      text-decoration: none;
      transition: color 0.3s;
    }

    .nav-overlay ul li a:hover {
      color: #000;
    }

/* generic link rules that style the JS-built menu links */
li a {
  position: relative;
  text-decoration: none;
  color: #000;
  margin: 0 0 -10px 0;
}

.nav-overlay li a::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background-color: #000;
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
}

li a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
 background-color:  #B70000;

}

#header
{
padding:20px 10% 0 10%; 

}

/* mobile (same breakpoint and order as rwhome.css) */
@media (max-width: 800px) {
  header#header {
    width: 100%;
    padding: 10px 5%;
  }

  header .logo img { width: 64px; height: auto; }
  header .nav-trigger img,
  header .nav-trigger .close-icon { width: 44px; }

  .nav-overlay { padding-left: 7%; padding-right: 7%; }
  .nav-overlay ul li { margin: 12px 0; }
  .nav-overlay ul li a {
    display: inline-block;
    font-size: clamp(1.5rem, 7vw, 2.5rem);
    line-height: 1.1;
  }
}
