/**
 * Header styling
 *
 * Table of Contents
 * -----------------------------------------------
 * 1. Hamburger
 * 2. Navbar
 * 3. Dropdown Menu
 * 4. Mobile Styling (max-width: 1200px)
 * 5. Mobile Styling (max-width: 992px)
 * 6. Mobile Styling (max-width: 576px)
 */
 
 
/* ==========================================================================
   1. Hamburger
   ========================================================================== */
 
.hamburger {
  display: none;
}
 
 
/* ==========================================================================
   2. Navbar
   ========================================================================== */
 
.navbar-default {
  height: 80px;
  background-color: #000e;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  margin-top: -2px;
  margin-bottom: 0;
  font-weight: bold;
}
 
.navbar-header {
  position: absolute;
}
 
.navbar-default > .container {
  height: 100%;
  position: relative;
}

.navbar-collapse {
  display: block !important;
  height: auto !important;
  padding-bottom: 0 !important;
  overflow: visible !important;
}
 
.navbar-dropdown-menus {
  float: right;
  display: flex;
  position: absolute;
  top: 7px;
  /* Match the centered content column's edges. */
  left: calc(50% - 25vw + 3.75px);
  right: calc(50% - 25vw + 3.75px);
  align-items: center;
  justify-content: flex-end;
  font-size: 16px;
  box-sizing: border-box;
}
 
@media (min-width: 993px) {
  .navbar-dropdown-menus {
    pointer-events: none;
  }

  .navbar-header {
    left: calc(50% - 25vw + 3.75px);
    width: min(170px, calc(50vw - 594.36px));
  }

  .navbar-header #logo,
  .navbar-header #logo .navbar-brand {
    width: 100%;
  }

  .navbar-header .logo {
    width: calc(100% - 16px);
    max-width: none;
  }
}

.navbar-dropdown-menus > li {
  pointer-events: auto;
  border-bottom: 3px solid transparent;
  transition: background-color 0.15s, border-color 0.15s;
}


/* Hover state — shows a faint gold underline + subtle background */
.navbar-dropdown-menus > li:hover {
  border-bottom: 3px solid rgba(218, 165, 32, 0.6);
  background-color: rgba(255, 255, 255, 0.06);
}

.navbar-dropdown-menus > li:hover > a {
  color: #fff;
}

/* Active/current page — full gold underline + warm tint */
.navbar-dropdown-menus > li.active {
  border-bottom: 3px solid rgba(218, 165, 32, 0.6);
  background-color: rgba(225, 165, 32, 0.7);
  color: #fff;
  font-weight: 500;
}

.current-menu-parent {
  border-bottom: 3px solid rgba(218, 165, 32, 0.6);
}

.current-menu-parent > a {
  color: #fff;
  font-weight: 500;
}

#menu-header-menu .active > a {
  color: #fff;
  font-weight: 500;
}

.navbar-dropdown-menus > li > a {
  position: relative;
  display: block;
  color: #f6cf75;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 26px;
  padding: 20px 7px;
  text-decoration: none;
  text-transform: uppercase;
}

.navbar-dropdown-menus .dropdown-menu a {
  color: #f6cf75;
}
 
 
/* ==========================================================================
   3. Dropdown Menu
   ========================================================================== */
 
.dropdown-menu {
  position: absolute;
  padding: 0;
  margin-top: 0;
  background: rgba(34, 34, 34, 0.9);
  border-radius: 0 0 5px 5px;
  border-bottom: none;
  font-size: 14px;
}
 
.dropdown-menu li a {
  display: block;
  padding: 14px 20px;
  clear: both;
}

.dropdown-menu li a:hover {
  color: #fff;
}

.dropdown-menu li.active {
  border-bottom: 3px solid rgba(218, 165, 32, 0.6);
  background-color: rgba(225, 165, 32, 0.7);
}
 
 
/* ==========================================================================
   4. Mobile Styling (max-width: 1200px)
   ========================================================================== */
 
@media (max-width: 1399px) {
  .navbar-dropdown-menus > li > a {
    font-size: 14px;
  }
 
  .navbar > .container .navbar-brand {
    font-size: 18px;
  }
}
 
@media (min-width: 1200px) and (max-width: 1399px) {
  .navbar-header {
    width: min(90px, calc(50vw - 507.2px));
  }
}

@media (min-width: 993px) and (max-width: 1199px) {
  .navbar-dropdown-menus {
    left: calc(50% - 29.1667vw + 4.375px);
    right: calc(50% - 29.1667vw + 4.375px);
  }

  .navbar-header {
    left: calc(50% - 29.1667vw + 4.375px);
    width: min(90px, calc(58.3333vw - 508.45px));
  }
}

 
/* ==========================================================================
   5. Mobile Styling (max-width: 992px)
   ========================================================================== */
 
@media (max-width: 992px) {
  .dropdown-menu {
    top: 0;
  }
 
  .container {
    height: 100%;
  }
 
  .container .navbar-header .navbar .container {
    display: block;
  }
 
  .container #hamburger-button {
    display: block;
    float: right;
    padding: 0;
    margin-left: auto;
    outline: 0;
    z-index: 1;
  }
 
  .container #hamburger-button .hamburger-box {
    vertical-align: middle;
  }
 
  .container #hamburger-button .hamburger-box .hamburger-inner {
    background-color: #daa520;
  }
 
  .container #hamburger-button .hamburger-box .hamburger-inner::before,
  .container #hamburger-button .hamburger-box .hamburger-inner::after {
    background-color: #daa520;
  }
 
  #navbar {
    display: block;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    background: rgba(34, 34, 34, 0.9);
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
  }
 
  #navbar.overlay-active {
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: transform 0.4s ease-in-out;
  }
 
  #navbar #menu-header-menu {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: flex;
    align-items: center;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -moz-justify-content: center;
    justify-content: center;
    flex-flow: column nowrap;
    height: 100%;
    padding: 0 2rem;
    margin: 0;
    list-style: none;
    text-align: left;
    float: none;
    font-size: 30px;
    font-weight: 700;
  }
 
  #navbar #menu-header-menu li {
    border-top: #daa520 1px solid;
    border-bottom: #daa520 1px solid;
    width: 50%;
  }
 
  #navbar #menu-header-menu li:first-child {
    border-top: 0;
    border-bottom: 0;
  }

  #navbar #menu-header-menu li.active,
  #navbar #menu-header-menu li.current-menu-parent {
    background-color: #daa520;
    border-radius: 4px;
  }

  #navbar #menu-header-menu li.active > a,
  #navbar #menu-header-menu li.current-menu-parent > a {
    color: #1f1f1f;
  }
 
  #navbar #menu-header-menu li ul {
    position: relative;
    background-color: transparent;
    box-shadow: none;
    -webkit-box-shadow: none;
  }
 
  #navbar #menu-header-menu li ul.dropdown-menu.show {
    display: block;
  }
 
  #navbar #menu-header-menu li ul li {
    width: 100% !important;
    border-top: 0;
    border-bottom: 0;
  }
 
  #navbar #menu-header-menu li ul li a {
    padding: 18px;
    font-size: 30px;
    font-weight: 700;
  }
 
  #navbar #menu-header-menu li a {
    font-size: 3rem;
    line-height: 3rem;
  }
}
 
@media (max-width: 768px) {
  #navbar #menu-header-menu li {
    width: 65%;
  }
}
 
 
/* ==========================================================================
   6. Mobile Styling (max-width: 576px)
   ========================================================================== */
 
@media (max-width: 576px) {
  #menu-header-menu {
    padding-top: 100px !important;
  }
 
  #menu-header-menu li {
    width: 80% !important;
  }
 
  #menu-header-menu li a {
    font-size: 2rem !important;
    line-height: 2rem !important;
  }
 
  #menu-header-menu .menu-item-has-children ul li {
    width: 100%;
  }
 
  #menu-header-menu .menu-item-has-children ul li a {
    font-size: 20px !important;
    font-weight: 700;
  }
 
  #menu-header-menu .menu-item-has-children ul li:last-child a {
    border-bottom: #daa520 1px solid;
  }
}
 