/* =========================================================
   01. Global Variables
   ========================================================= */

:root {
  --og-orange: #f47a21;
  --og-white: #ffffff;
  --og-muted: rgba(255, 255, 255, 0.72);
  --og-glass-strong: rgba(0, 0, 0, 0.78);
  --og-border: rgba(255, 255, 255, 0.13);
  --og-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  --og-font: "Inter", "Montserrat", "Segoe UI", Arial, sans-serif;
}


/* =========================================================
   02. Base Reset
   ========================================================= */

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* =========================================================
   03. Sticky Header Wrapper
   ========================================================= */

.site-header {
  background: transparent;
  position: fixed;
  inset: 0 0 auto;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 150px;
  padding: 0px clamp(26px, 5.5vw, 112px) 20px;
  transition: box-shadow 0.28s ease, backdrop-filter 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
  -webkit-transition: box-shadow 0.28s ease, backdrop-filter 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
  -moz-transition: box-shadow 0.28s ease, backdrop-filter 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
  -ms-transition: box-shadow 0.28s ease, backdrop-filter 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
  -o-transition: box-shadow 0.28s ease, backdrop-filter 0.28s ease, min-height 0.28s ease, padding 0.28s ease;
}

.home .site-header {
  position: fixed;
  inset: 0 0 auto;
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(22, 22, 22, 0.9);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.page-template-default .site-header {
  background: #000;
}

/* =========================================================
   04. Top Header: Contact Button + Phone Number
   ========================================================= */

.site-header__top {
  position: absolute;
  top: 10px;
  right: clamp(26px, 5.5vw, 112px);
  z-index: 1001;
  width: auto;
}

.site-header__top-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.site-header__top-spacer {
  display: none;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  white-space: nowrap;
}

.site-btn__book {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 30px;
  border: 2px solid var(--og-orange);
  border-radius: 999px;
  color: var(--og-white);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  -webkit-transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  -moz-transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  -ms-transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  -o-transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.site-btn__book span {
  width: 26px;
  height: 11px;
  background: var(--og-orange);
  clip-path: polygon(0 0, 100% 0, 68% 100%, 0% 100%);
}

.site-btn__book:hover,
.site-btn__book:focus-visible {
  background: rgba(255, 122, 26, 0.13);
  outline: none;
  transform: translateY(-1px);
  color: #FFF;
}

.site-nav__panel .site-btn__book {
  display: none;
}

.site-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: clamp(21px, 2vw, 21px);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.22s ease;
  color: #FFF;
}

.site-header__phone span {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--og-orange);
}

.site-header__phone:hover,
.site-header__phone:focus-visible {
  color: var(--og-orange);
  outline: none;
}


/* =========================================================
   05. Main Header: Logo + Navigation Area
   ========================================================= */

.site-header__main {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 1000;
  width: min(970px, 54vw);
  transform: translate(-50%, -10%);
  -webkit-transform: translate(-50%, -10%);
  -moz-transform: translate(-50%, -10%);
  -ms-transform: translate(-50%, -10%);
  -o-transform: translate(-50%, -10%);
}

.site-header__main-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-nav {
  width: 100%;
}

.site-nav__panel {
  width: 100%;
}

.ham__phone,
.site-nav__toggle {
  display: none;
}


/* =========================================================
   06. Logo Area
   ========================================================= */

.site-header__logo {
  position: absolute;
  top: 50%;
  left: clamp(26px, 5.5vw, 112px);
  z-index: 1002;
  transform: translateY(-42%);
}

.site-header__logo a {
  display: inline-flex;
  align-items: center;
}

.site-header__logo img {
  display: block;
  width: clamp(120px, 13vw, 150px);
  height: auto;
  max-width: 100%;
  transition: width 0.22s ease, height 0.22s ease;
  -webkit-transition: width 0.22s ease, height 0.22s ease;
  -moz-transition: width 0.22s ease, height 0.22s ease;
  -ms-transition: width 0.22s ease, height 0.22s ease;
  -o-transition: width 0.22s ease, height 0.22s ease;
}


/* =========================================================
   08. WordPress Menu: Main Level
   ========================================================= */

.site-nav__menu {
  min-height: 80px;
  margin: 0;
  padding: 0 50px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3.2vw, 52px);
  background: linear-gradient(180deg, rgba(25, 25, 25, 0.52), rgba(8, 7, 7, 0.7));
  border: 1px solid var(--og-border);
  border-radius: 60px;
  box-shadow: var(--og-shadow);
  backdrop-filter: blur(12px);
  transition: min-height 0.22s ease, padding 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, backdrop-filter 0.22s ease;
}

.site-nav__menu .menu-item {
  position: relative;
}

.site-nav__menu>.menu-item>a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: var(--og-white);
  font-size: clamp(20px, 1.55vw, 20px);
  font-weight: 600;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: color 0.22s ease, transform 0.22s ease;
}

.site-nav__menu a:hover,
.site-nav__menu a:focus-visible,
.site-nav__menu .current-menu-item>a,
.site-nav__menu .current-menu-ancestor>a {
  color: var(--og-orange);
  outline: none;
}


/* =========================================================
   09. Dropdown Arrows
   ========================================================= */

.menu-item-has-children>a::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
  position: absolute;
  right: 12px;
}

.menu-item-has-children>a::after {
  content: "";
  width: 8px;
  height: 8px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
  position: relative;
  right: 0;
  margin-left: auto;
}

.menu-item-has-children.is-open>a::after {
  transform: rotate(225deg) translateY(-1px);
}


/* =========================================================
   10. Desktop Dropdown Menus
   ========================================================= */

.sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 20;
  min-width: 244px;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: #000000c2;
  border: 1px solid var(--og-border);
  border-radius: 18px;
  box-shadow: var(--og-shadow);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
}

.menu-item:hover>.sub-menu,
.menu-item:focus-within>.sub-menu,
.menu-item.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.sub-menu .menu-item {
  width: 100%;
}

.sub-menu a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 14px;
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--og-white);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.sub-menu a:hover,
.sub-menu a:focus-visible {
  color: var(--og-orange);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  padding-left: 18px;
}

.menu-item.icon-brand>a {
  position: relative;
}

.icon-brand>a::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url('https://duptronicssolutions.com/og/wp-content/uploads/2026/07/menu-icon.png') no-repeat center;
  background-size: contain;
}

/* =========================================================
   11. Desktop Nested Dropdown Menus
   ========================================================= */

.sub-menu .sub-menu {
  top: -12px;
  left: calc(100% + 14px);
  transform: translate(12px, 0);
}

.sub-menu .menu-item:hover>.sub-menu,
.sub-menu .menu-item:focus-within>.sub-menu,
.sub-menu .menu-item.is-open>.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

.submenu-toggle {
  display: none;
}

/* =========================================================
   13. Responsive: Large Tablet / Small Desktop
   ========================================================= */

@media (max-width: 1280px) {
  .site-header {
    min-height: 160px;
    padding: 0 36px 0;
  }

  .site-header__main {
    width: min(900px, 70vw);
    right: 0;
    left: auto;
    transform: translate(-36px, -10%);
    -webkit-transform: translate(-36px, -10%);
    -moz-transform: translate(-36px, -10%);
    -ms-transform: translate(-36px, -10%);
    -o-transform: translate(-36px, -10%);
    transition: transform 0.22s ease;
    -webkit-transition: transform 0.22s ease;
    -moz-transition: transform 0.22s ease;
    -ms-transition: transform 0.22s ease;
    -o-transition: transform 0.22s ease;
  }

  .site-header__top {
    right: 36px;
  }

  .site-header__logo {
    left: 36px;
  }

  .site-header__logo img {
    width: 130px;
  }

  .site-header__book {
    min-height: 50px;
    padding-inline: 22px;
  }

  .site-header__phone {
    font-size: 24px;
    gap: 16px;
  }
}


/* =========================================================
   Responsive: Tablet
   ========================================================= */

@media (max-width: 1024px) {
  .site-header__actions {
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .site-header__logo {
    top: 10px;
    transform: inherit;
  }

  .site-header__logo img {
    width: 70px;
  }

  .site-header__main {
    width: 95%;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    transform: translate(0, -5%);
  }
}


/* =========================================================
   Responsive: Mobile Header
   ========================================================= */

@media (max-width: 767px) {

  .site-header,
  .site-header.is-scrolled {
    min-height: 70px;
    padding: 10px 18px;
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(14px);
  }

  .site-header__top {
    display: none;
  }

  .site-header__logo {
    top: 52%;
    left: 18px;
    transform: translateY(-50%);
  }

  .site-header__logo img {
    width: 70px;
  }

  .is-scrolled .site-header__main,
  .site-header__main {
    position: static;
    width: auto;
    transform: translate(0, 0);
    width: 100%;
  }

  .site-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav {
    width: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
    gap: 10px;
  }

  .site-nav__toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
  }


}


/* =========================================================
   Responsive: Mobile Toggle Button
   ========================================================= */

@media (max-width: 767px) {
  .site-nav__toggle {
    position: relative;
    z-index: 1002;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .site-nav__toggle span {
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: var(--og-white);
    transition: transform 0.24s ease, opacity 0.24s ease;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}


/* =========================================================
   Responsive: Mobile Slide Menu
   ========================================================= */

@media (max-width: 767px) {
  .site-nav__panel {
    position: fixed;
    inset: -10px -18px 0px auto;
    width: min(88vw, 390px);
    height: 100vh;
    padding: 104px 18px 28px;
    background: rgba(6, 6, 6, 0.96);
    box-shadow: -24px 0 42px rgba(0, 0, 0, 0.34);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.32s ease, visibility 0.32s ease;
    overflow-y: auto;
  }

  .site-nav__panel.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .site-nav__panel .site-btn__book {
    display: inline-flex;
    margin-top: 20px;
  }
}


/* =========================================================
   Responsive: Mobile Menu Items
   ========================================================= */

@media (max-width: 767px) {
  .site-nav__menu {
    min-height: auto;
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav__menu>.menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-nav__menu>.menu-item>a {
    width: 100%;
    min-height: 58px;
    justify-content: space-between;
    font-size: 21px;
  }
}


/* =========================================================
   Responsive: Mobile Dropdown Menus
   ========================================================= */

@media (max-width: 767px) {

  .sub-menu,
  .sub-menu .sub-menu {
    position: static;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.28s ease;
  }

  .menu-item.is-open>.sub-menu {
    max-height: 620px;
    transform: translate(0, 0);
  }

  .sub-menu a {
    min-height: 48px;
    padding: 10px 18px 10px 18px;
    color: var(--og-muted);
    font-size: 16px;
  }

  .sub-menu a:hover,
  .sub-menu a:focus-visible {
    padding-left: 22px;
  }

  .sub-menu .sub-menu a {
    padding-left: 34px;
  }

  .menu-item:hover>.sub-menu,
  .menu-item:focus-within>.sub-menu,
  .menu-item.is-open>.sub-menu {
    transform: translate(0, 0);
  }

}

@media (max-width:767px) {
  /* =========================================================
   Mobile Submenu Toggle
   ========================================================= */

  .menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }


  .menu-item-has-children>a {
    width: calc(100% - 54px);
  }

  .submenu-toggle {
    width: 54px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: .25s;
    position: absolute;
    top: 0;
    right: 0;
  }

  .submenu-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform .3s ease;
  }

  .submenu-toggle path {
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .menu-item-has-children.is-open>.submenu-toggle svg {
    transform: rotate(180deg);
  }

  /* .submenu-toggle {
    width: 54px;
    height: 58px;

    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border: 0;

    cursor: pointer;
    flex-shrink: 0;
}

.submenu-toggle span {
    position: absolute;

    width: 14px;
    height: 2px;

    background: #fff;

    transition: .25s ease;
}

.submenu-toggle span:last-child {
    transform: rotate(90deg);
}

.submenu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(0);
} */

  .menu-item-has-children>.sub-menu {
    width: 100%;
  }

  .menu-item-has-children>a::after {
    display: none;
  }

  .submenu-toggle[aria-expanded="true"] span {
    background: var(--og-orange);
  }
}

/* =========================================================
   Responsive: Mobile Phone Icon
   ========================================================= */

@media (max-width: 767px) {
  .ham__phone {
    display: block;
    width: 100%;
  }

  .hamburger_phone {
    -webkit-mask-image: url('../img/phone-icon.svg');
    mask-image: url('../img/phone-icon.svg');
    mask-size: 35px;
    -webkit-mask-size: 35px;
    background-color: #FFF;
    height: 35px;
    width: 35px;
    background-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    display: block;
  }
}