/* =========================
   MOBILE HAMBURGER + DRAWER
   (separate file — DO NOT put in style.css)
========================= */

/* Lock body scroll when menu is open */
body.lock {
  overflow: hidden;
}

/* Hamburger button (in your existing header) */
.hamburger {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}

.hamburger:focus {
  outline: 2px solid rgba(255,255,255,0.45);
  outline-offset: 2px;
}

/* Backdrop */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 900;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 340px);
  background: #1F3A5F;
  border-left: 1px solid rgba(255,255,255,0.14);
  transform: translateX(100%);
  transition: transform 0.22s ease;
  z-index: 1000;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}

.mobile-drawer.open {
  transform: translateX(0);
}

/* Close button */
.drawer-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  align-self: flex-end;
}

.drawer-close:focus {
  outline: 2px solid rgba(255,255,255,0.45);
  outline-offset: 2px;
}

/* Drawer nav links */
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.drawer-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}

.drawer-nav a:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
}



/* ===============================
   MOBILE DRAWER: LIGHT PILLS + NAVY TEXT
   =============================== */



/* Reset opacity issues on links */
#mobileDrawer .drawer-nav a {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 900px) {
  .site-header {
    position: relative;
  }
}

 


/* ===============================
   HAMBURGER POSITION — TOP LEFT (MOBILE ONLY)
   =============================== */
@media (max-width: 900px) {
  .hamburger {
    position: absolute;
    top: 6px;
    left: 12px;
    right: auto;
    z-index: 1200;
  }
}



/* HAMBURGER — FIXED TOP LEFT (DESKTOP ONLY) */
@media (min-width: 901px) {
  .hamburger {
    position: fixed;
    top: 14px;
    left: 14px;
    right: auto;
    z-index: 1200;
  }
}
/* =========================
   SANITY CHECK — FORCE DRAWER LINKS VISIBLE
   (Paste at VERY BOTTOM of mobile-menu.css)
========================= */

#mobileDrawer { 
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

#mobileDrawer .drawer-nav{
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}


/* ===============================
   MOBILE DRAWER – NAVY PILLS + WHITE TEXT (FINAL)
   =============================== */





/* MOBILE LOGO SIZE – FINAL */
@media (max-width: 900px) {
  img.site-logo {
    width: 340px !important;
    max-width: 94vw !important;
    height: auto !important;
  }
}
/* ===============================
   MOBILE DRAWER — COOL BLUE NAV (FINAL)
   =============================== */

@media (max-width: 900px) {

  #mobileDrawer .drawer-nav a {
    background: #1F3A5F;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    transition: all 0.18s ease;
  }

  #mobileDrawer .drawer-nav a:hover,
  #mobileDrawer .drawer-nav a:focus {
    background: #243f6d;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.35);
  }

  #mobileDrawer .drawer-nav a:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  }

}

/* ===============================
   MOBILE DRAWER — FINAL NAV STYLE (OVERRIDE)
   =============================== */

@media (max-width: 900px) {

  #mobileDrawer .drawer-nav a,
  #mobileDrawer .drawer-nav a:link,
  #mobileDrawer .drawer-nav a:visited,
  #mobileDrawer .drawer-nav a:hover,
  #mobileDrawer .drawer-nav a:active,
  #mobileDrawer .drawer-nav a:focus {
    background: #2D4F85 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: 12px;
    border-left: 4px solid #DAAD42;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  }

}
/* =========================
   MOBILE: HIDE DESKTOP NAV
   ========================= */

@media (max-width: 900px) {

  nav,
  .nav,
  .nav-links,
  .nav-pills,
  ul.nav,
  ul.nav-links {
    display: none !important;
  }

}
/* =========================
   MOBILE: LARGER HAMBURGER
   ========================= */

@media (max-width: 900px) {

  .hamburger {
    font-size: 44px;      /* was ~28px */
    padding: 14px 16px;   /* bigger tap area */
  }



  }



@media (max-width: 900px){ body{ margin:0; } }
@media (max-width: 900px){ nav ul{ padding-left:0; } }

@media (max-width: 900px){ .site-header{ padding-left:0 !important; } }
@media (max-width: 900px){ #mobileDrawer .drawer-nav a{ border-left:0 !important; } }




