/* ==========================================================================
   ABSOLUTE TRANSPARENT HEADER & LEFT DRAWER
   ========================================================================== */
.text-orange {
  color: #b87333 !important;
}
.d-none {
  display: none !important;
}
.h-100 {
  height: 100%;
}

.absolute-transparent-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- Top Bar (Distinct Midnight Black) --- */
.topbar-distinct {
  background-color: #050505;
  height: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.top-info-item {
  font-size: 13px;
  color: #c0c9d6;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.link-hover {
  transition: color 0.3s ease;
}
.link-hover:hover {
  color: #ffffff;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.vertical-divider {
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.2);
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar-socials a {
  color: #c0c9d6;
  font-size: 14px;
  transition: color 0.3s ease;
  text-decoration: none;
}
.topbar-socials a:hover {
  color: #b87333;
}

/* --- Main Navigation Bar --- */
.main-bar-transparent {
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 90px;
  width: 100%;
  transition:
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    padding 0.4s ease;
  z-index: 1000;
}

.main-bar-transparent.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  background-color: #00173c;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-bottom: none;
  height: 80px;
}

.main-bar-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-brand-logo img {
  max-height: 50px;
  width: auto;
  display: block;
  transition: max-height 0.4s ease;
}

.is-sticky .nav-brand-logo img {
  max-height: 42px;
}

/* Desktop Menu */
.nav-menu-desktop {
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 35px;
  height: 100%;
}

.nav-list li {
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-list li a {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.nav-list li a:hover {
  color: #b87333;
}
.nav-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #b87333;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}
.nav-list li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Actions */
.nav-action-area {
  display: flex;
  align-items: center;
  gap: 25px;
  height: 100%;
}

.transparent-search-box form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0;
  height: 42px;
  transition: all 0.3s ease;
}
.transparent-search-box form:focus-within {
  border-color: #b87333;
  background: rgba(0, 0, 0, 0.5);
}
.transparent-search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 150px;
  font-size: 13px;
  color: #ffffff;
  padding-left: 15px;
}
.transparent-search-box input::placeholder {
  color: #c0c9d6;
}
.transparent-search-box button {
  background: transparent;
  color: #ffffff;
  border: none;
  width: 42px;
  height: 100%;
  cursor: pointer;
  transition: color 0.3s ease;
}
.transparent-search-box button:hover {
  color: #b87333;
}

/* Desktop Quote Button */
.btn-engineered-quote {
  background-color: #b87333;
  color: #ffffff;
  height: 42px;
  padding: 0 25px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
}
.btn-engineered-quote:hover {
  background-color: #ffffff;
  color: #00173c;
}

.mobile-hamburger-btn {
  display: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  margin: 0;
}

/* ==========================================================================
   MOBILE LEFT-SIDE DRAWER MENU
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-drawer-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 320px;
  height: 100vh;
  background: #000c24;
  z-index: 10001;
  box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
  transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

#mobile-toggle-checkbox:checked ~ .drawer-overlay {
  opacity: 1;
  visibility: visible;
}
#mobile-toggle-checkbox:checked ~ .mobile-drawer-menu {
  left: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer-logo {
  max-height: 40px;
}
.drawer-close-btn {
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  margin: 0;
}
.drawer-close-btn:hover {
  color: #b87333;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
  flex-grow: 1;
  overflow-y: auto;
}
.drawer-nav-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer-nav-list li a {
  display: block;
  padding: 15px 25px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    color 0.3s,
    padding-left 0.3s;
}
.drawer-nav-list li a:hover {
  color: #b87333;
  padding-left: 35px;
  background: rgba(255, 94, 21, 0.05);
}

/* Mobile Drawer Quote Button */
.drawer-action-btn {
  padding: 0 25px 20px 25px;
}
.btn-drawer-quote {
  background-color: #b87333;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-drawer-quote:hover {
  background-color: #ffffff;
  color: #00173c;
}

.drawer-footer {
  padding: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.drawer-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c0c9d6;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 15px;
}
.drawer-contact i {
  color: #b87333;
  font-size: 16px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1050px) {
  .nav-menu-desktop,
  .topbar-distinct {
    display: none;
  }
  .desktop-quote-btn {
    display: none;
  } /* Hides desktop button */
  .mobile-hamburger-btn {
    display: flex;
  }
}

@media (max-width: 767px) {
  .topbar-distinct {
    height: auto;
    padding: 10px 0;
  }
  .topbar-flex-row {
    flex-direction: column;
    gap: 10px;
  }
  .vertical-divider {
    display: none;
  }
  .topbar-right {
    flex-wrap: wrap;
    justify-content: center;
  }

  .main-bar-transparent {
    height: 75px;
  }
  .nav-brand-logo img {
    max-height: 40px;
  }

  .transparent-search-box {
    display: none;
  }
  .mobile-drawer-menu {
    width: 280px;
  }
}
