@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700&display=swap');

/* =========================================
   NAVBAR
========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #111;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ---- LOGO ---- */
.navbar__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.navbar__logo img {
  height: 52px;
  width: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

/* ---- NAV LINKS (Desktop) ---- */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  height: 100%;
  padding: 0;
  margin: 0;
}

.navbar__nav > li {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.navbar__nav > li > a,
.navbar__nav > li > span {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.navbar__nav > li > a::after,
.navbar__nav > li > span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.navbar__nav > li > a:hover::after,
.navbar__nav > li > span:hover::after,
.navbar__nav > li > a.active::after,
.navbar__nav > li > span.active::after {
  transform: scaleX(1);
}

.nav-more {
  font-size: 20px;
  letter-spacing: 0;
  padding: 0 10px !important;
}

/* ---- GET A QUOTE ---- */
.btn-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background: #ad892b;
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-quote:hover {
  background: rgb(42, 39, 106);
  color: #fff;
}

/* =========================================
   SERVICES MEGA DROPDOWN
========================================= */
.dropdown-mega {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  min-width: 900px;
  padding: 32px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-top: 2px solid #ad892b;
  z-index: 999;
  list-style: none;
  margin: 0;
}

.navbar__nav > li:hover .dropdown-mega {
  opacity: 1;
  pointer-events: all;
}

.dropdown-mega a {
  display: block;
  padding: 8px 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}

.dropdown-mega a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.dropdown-mega a:hover {
  color: #fff;
  transform: translateX(6px);
}

.dropdown-mega a:hover::after {
  transform: scaleX(1);
}

/* =========================================
   BRANDS WE SERVE DROPDOWN
========================================= */
.dropdown-brands {
  position: absolute;
  top: 100px;
  left: 0;
  background: #1a1a1a;
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-top: 2px solid #ad892b;
  z-index: 999;
  list-style: none;
  margin: 0;
}

.navbar__nav > li:hover .dropdown-brands {
  opacity: 1;
  pointer-events: all;
}

.dropdown-brands > li {
  position: relative;
  list-style: none;
}

.dropdown-brands > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}

.dropdown-brands > li > a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.dropdown-brands > li > a:hover {
  color: #fff;
  transform: translateX(6px);
}

.dropdown-brands > li > a:hover::after {
  transform: scaleX(1);
}

.arrow-right {
  font-size: 12px;
  margin-left: 8px;
  flex-shrink: 0;
}

/* Sub-dropdown */
.sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  background: #1a1a1a;
  min-width: 180px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border-top: 2px solid #ad892b;
  z-index: 1000;
  list-style: none;
  margin: 0;
}

.dropdown-brands > li:hover .sub-dropdown {
  opacity: 1;
  pointer-events: all;
}

.dropdown-brands > li:hover > a {
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.sub-dropdown li {
  list-style: none;
}

.sub-dropdown li a {
  display: block;
  padding: 10px 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  transition: color 0.2s, transform 0.2s;
}

.sub-dropdown li a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

.sub-dropdown li a:hover {
  color: #fff;
  transform: translateX(6px);
}

.sub-dropdown li a:hover::after {
  transform: scaleX(1);
}

/* =========================================
   HAMBURGER
========================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
  flex-shrink: 0;
  margin-left: 16px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================
   MOBILE MENU
========================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #1a1a1a;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 32px;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.mobile-nav {
  list-style: none;
  flex: 1;
  margin-top: 16px;
  padding: 0;
}

.mobile-nav > li {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav > li > .mobile-nav__row {
  display: flex;
  align-items: center;
}

.mobile-nav > li > .mobile-nav__row > a {
  flex: 1;
  display: block;
  padding: 18px 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.mobile-nav__toggle:hover {
  background: rgba(255,255,255,0.05);
}

.mobile-nav__toggle .toggle-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.mobile-nav__toggle.expanded .toggle-arrow {
  transform: rotate(90deg);
}

/* Mobile sub-lists */
.mobile-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0,0,0,0.2);
  padding: 0;
  margin: 0;
}

.mobile-sub.open {
  max-height: 2000px;
}

.mobile-sub li {
  border-top: 1px solid rgba(255,255,255,0.06);
  list-style: none;
}

.mobile-sub li a {
  display: block;
  padding: 14px 32px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #bbb;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.mobile-sub li a:hover {
  color: #fff;
}

/* Mobile brands nested */
.mobile-brands-sub {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.25);
  padding: 0;
  margin: 0;
}

.mobile-brands-sub.open {
  max-height: 600px;
}

.mobile-brands-sub li {
  border-top: 1px solid rgba(255,255,255,0.04);
  list-style: none;
}

.mobile-brands-sub li a {
  display: block;
  padding: 12px 48px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #999;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.mobile-brands-sub li a:hover {
  color: #fff;
}

.mobile-brands-row {
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-brands-row > a {
  flex: 1;
  display: block;
  padding: 14px 32px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #bbb;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.mobile-brands-row .mobile-nav__toggle {
  width: 44px;
  height: 44px;
  border-left: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}

/* Mobile footer */
.mobile-menu__footer {
  padding: 24px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-menu__footer .btn-quote {
  width: 100%;
  font-size: 18px;
  padding: 16px 24px;
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.mobile-socials a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-socials a:hover {
  color: #fff;
}

.mobile-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 1100px) {
  .navbar__nav > li > a,
  .navbar__nav > li > span {
    padding: 0 10px;
    font-size: 15px;
  }
  .btn-quote {
    padding: 10px 24px;
    font-size: 15px;
  }
  .dropdown-mega {
    min-width: 700px;
  }
}

@media (max-width: 900px) {
  .navbar__nav,
  .btn-quote {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 16px;
  }
  .navbar__logo img {
    height: 42px;
    max-width: 220px;
    object-fit: contain;
  }
}

@media (max-width: 379px) {
  .navbar {
    padding: 0 10px;
  }
  .navbar__logo img {
    height: 32px;
    max-width: 200px;
    object-fit: contain;
  }
  .hamburger {
    width: 32px;
    height: 32px;
    margin-left: 10px;
  }
  .hamburger span {
    width: 20px;
  }
}