/* =========================
   HEADER BASE
========================= */

.site-header {
  width: 100%;
  background: #ffffff;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner-wide {
  max-width: 1300px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =========================
   LEFT LOGO (LEGACY)
========================= */

.header-left img {
  height: 55px;
  width: auto;
}

/* =========================
   CENTER LOGO (LOANS BY LORAN)
========================= */

.header-center {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #111;
}

.logo-mark {
  background: #000;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-primary {
  font-size: 20px;
  font-weight: 700;
}

.logo-sub {
  font-size: 13px;
  letter-spacing: 1px;
  color: #555;
}




.gadson-header-logo {
  height: 60px;
  width: auto;
  opacity: 0.85;
  object-fit: contain;
}

@media(max-width: 720px) {
  .gadson-header-logo {
    height: 28px;
  }
}
/* =========================
   NAVIGATION
========================= */

.header-right {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #AE8400;
}

.main-nav a.active {
  color: #AE8400;
}

/* =========================
   BURGER MENU
========================= */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #111;
  display: block;
}

/* =========================
   MOBILE STYLES
========================= */

@media (max-width: 900px) {

  .header-inner-wide {
    padding: 15px 20px;
  }

  /* Hide legacy logo */
  .header-left {
    display: none;
  }

  /* Adjust logo sizing */
  .logo-primary {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 12px;
  }

  /* Hide desktop nav */
  .main-nav {
    display: none;
  }

  /* Show burger */
  .nav-toggle {
    display: flex;
  }

  /* Open state */
  .main-nav.open {
    display: block;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 20px 0;
  }

  .main-nav.open ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

}

/* =========================
   PREVENT HORIZONTAL SCROLL
========================= */

html, body {
  overflow-x: hidden;
}
