/* ============================= */
/* MAIN NAV */
/* ============================= */

.mainnav {
  --brand-red: #D11242;
  --brand-red-hover: #b9151b;
  --text-white: #ffffff;
  --text-dark: #1f1f1f;
}

/* Reset */
.mainnav {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ===== NAV TOP BAR ===== */
.mainnav .custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 60px 40px 5px;
  z-index: 9999;
}

/* ===== LOGOS ===== */
.mainnav .nav-logo img {
  height: 50px;
}

.mainnav .logo-desktop {
  display: block;
}

.mainnav .logo-mobile {
  display: none;
}

.mainnav .nav-spacer {
  flex: 1;
}

/* ===== PHONE ===== */
.mainnav .nav-phone {
  font-size: 20px;
  font-weight: 300;
  margin-right: 30px;
}

.mainnav .nav-phone a {
  text-decoration: none;
  color: var(--text-dark);
  transition: color 0.25s ease;
}

.mainnav .nav-phone:hover a {
  color: var(--brand-red);
}

/* ===== CTA ===== */
.mainnav .nav-cta {
  background: var(--brand-red);
  color: var(--text-white);
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  margin-right: 18px;
  border: 2px solid var(--brand-red);
  transition: all 0.25s ease;
}

.mainnav .nav-cta:hover {
  background: transparent;
  color: var(--brand-red);
}

/* ===== HAMBURGER ===== */
.mainnav .hamburger {
  font-size: 42px;
  cursor: pointer;
  user-select: none;
  color: var(--text-dark);
}

/* ===== MOBILE NAV ===== */
@media (max-width: 768px) {
  .mainnav .nav-cta {
    display: none;
  }

  .mainnav .custom-nav {
    padding: 10px 15px;
  }

  .mainnav .nav-phone {
    padding: 1px 5px;
    font-size: 20px;
    margin-right: 15px;
  }

  .mainnav .logo-desktop {
    display: none;
  }

  .mainnav .logo-mobile {
    display: block;
    height: 20px;
  }

  .mainnav .hamburger {
    font-size: 30px;
  }
}

/* ===== SLIDE MENU ===== */
.mainnav .menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease;
  z-index: 9998;
}

.mainnav .menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.mainnav .slide-menu {
  position: fixed;
  top: 0;
  right: -330px;
  width: 312px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #6b6b6b 0%,
    #4a4a4a 42%,
    #2f2f2f 100%
  );
  padding: 32px 26px;
  transition: right 0.32s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.mainnav .slide-menu.open {
  right: 0;
}

.mainnav .menu-close {
  font-size: 28px;
  font-weight: 300;
  color: #ffffff;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 40px;
}

.mainnav .menu-close:hover {
  color: var(--brand-red);
}

.mainnav .slide-menu a {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-white);
  text-decoration: none;
  margin-bottom: 26px;
  transition: color 0.24s ease;
}

.mainnav .slide-menu a:hover {
  color: var(--brand-red);
}

.mainnav .menu-phone {
  font-size: 20px;
  font-weight: 500;
  margin-top: auto;
  margin-bottom: 16px;
}

.mainnav .menu-phone a {
  color: var(--text-white);
  text-decoration: none;
}

.mainnav .menu-phone a:hover {
  color: var(--brand-red);
}

.mainnav .menu-cta {
  background: var(--brand-red);
  color: var(--text-white);
  padding: 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: 2px solid var(--brand-red);
  transition: all 0.25s ease;
}

.mainnav .menu-cta:hover {
  background: white;
  color: var(--brand-red);
}

/* ===== OFFSET ===== */
.mainnav .nav-offset {
  height: 72px;
}

/* ============================= */
/* SECONDARY NAV */
/* ============================= */

.customsecondnav {
  --brand-red: #D11242;
  --brand-red-hover: #b9151b;
  --text-white: #ffffff;
  --text-dark: #1f1f1f;
}

/* ===== NAV BAR ===== */
.customsecondnav .custom-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: transparent;
  display: flex;
  align-items: center;
  padding: 0 40px;
  z-index: 9999;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ===== LOGO ===== */
.customsecondnav .nav-logo {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.customsecondnav .nav-logo.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}

.customsecondnav .nav-logo img {
  height: 80px;
}

.customsecondnav .logo-desktop {
  display: block;
}

.customsecondnav .logo-mobile {
  display: none;
}

.customsecondnav .nav-spacer {
  flex: 1;
}

/* ===== PHONE ===== */
.customsecondnav .nav-phone {
  font-size: 20px;
  font-weight: 300;
  margin-right: 24px;
  transition: color 0.3s ease;
}

.customsecondnav .nav-phone a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

.customsecondnav .nav-phone.scrolled a {
  color: var(--brand-red);
}

/* ===== CTA ===== */
.customsecondnav .nav-cta {
  background: var(--brand-red);
  color: var(--text-white);
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  margin-right: 18px;
  border: 2px solid var(--brand-red);
  transition: all 0.25s ease;
}

.customsecondnav .nav-cta:hover {
  background: transparent;
  color: var(--brand-red);
}

/* ===== HAMBURGER ===== */
.customsecondnav .hamburger {
  width: 46px;
  height: 46px;
  background: var(--brand-red);
  color: white;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .customsecondnav .nav-cta {
    display: none;
  }

  .customsecondnav .custom-nav {
    padding: 0 15px;
    background: white;
  }

  .customsecondnav .nav-phone {
    font-size: 18px;
    margin-right: 12px;
  }

  .customsecondnav .logo-desktop {
    display: none;
  }

  .customsecondnav .logo-mobile {
    display: block;
    height: 20px;
  }

  .customsecondnav .hamburger {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }
}

/* ===== SLIDE MENU ===== */
.customsecondnav .menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.32s ease;
  z-index: 9998;
}

.customsecondnav .menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

.customsecondnav .slide-menu {
  position: fixed;
  top: 0;
  right: -330px;
  width: 312px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #6b6b6b 0%,
    #4a4a4a 42%,
    #2f2f2f 100%
  );
  padding: 32px 26px;
  transition: right 0.32s ease;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.customsecondnav .slide-menu.open {
  right: 0;
}

.customsecondnav .menu-close {
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 40px;
}

.customsecondnav .menu-close:hover {
  color: var(--brand-red);
}

.customsecondnav .slide-menu a {
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  margin-bottom: 26px;
}

.customsecondnav .slide-menu a:hover {
  color: var(--brand-red);
}

.customsecondnav .menu-phone {
  margin-top: auto;
  font-size: 20px;
}

.customsecondnav .menu-phone a {
  color: #fff;
  text-decoration: none;
}

.customsecondnav .menu-phone a:hover {
  color: var(--brand-red);
}

.customsecondnav .menu-cta {
  background: var(--brand-red);
  color: #fff;
  padding: 16px;
  border-radius: 999px;
  text-align: center;
  margin-top: 12px;
  text-decoration: none;
}

.customsecondnav .menu-cta:hover {
  background: #fff;
  color: var(--brand-red);
}

.customsecondnav .nav-offset {
  height: 72px;
}

/* ===============================
   Secondary Header Bottom Block
================================ */

.customsecondnav .secondary-phone-block {
  background: transparent;
  padding: 0px;
  margin-top: 20px;
}

/* Phone text */
.customsecondnav .secondary-phone-block .phone-main {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 1px;
}

.customsecondnav .secondary-phone-block .phone-sub {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}

/* Social icons row */
.customsecondnav .secondary-socials {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.customsecondnav .secondary-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.customsecondnav .secondary-socials a:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.customsecondnav .secondary-socials img {
  width: 18px;
  height: 18px;
  filter: none; /* ❌ remove invert */
}

