/* ═══════════════════════════════════════════════
   CRAZY JOE'S — NAV SYSTEM  (Harry Rosen-inspired)
   Utility bar → sticky logo bar → mega-menu dropdown
   ═══════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

/* ── UTILITY BAR ── */
.cj-utility {
  background: #1a1a1a;
  color: #b0a99a;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .07em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 36px;
  position: relative;
  z-index: 1000;
}
.cj-utility a { color: #b0a99a; text-decoration: none; }
.cj-utility a:hover { color: #fff; }
.cj-utility-left { display: flex; align-items: center; gap: 20px; }
.cj-utility-right { display: flex; align-items: center; gap: 20px; }
.cj-utility-sep { color: #3a3a3a; }

/* ── MAIN NAV BAR ── */
.cj-nav {
  background: #fff;
  border-bottom: 1px solid #e8e2da;
  position: sticky;
  top: 0;
  z-index: 999;
  transition: box-shadow .2s;
}
.cj-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.cj-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
}

/* Logo */
.cj-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  gap: 1px;
}
.cj-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: .05em;
  line-height: 1;
}
.cj-logo-sub {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  color: #8a7f74;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Primary nav links */
.cj-nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  height: 72px;
}
.cj-nav-links > li {
  position: relative;
  height: 72px;
  display: flex;
  align-items: center;
}
.cj-nav-links > li > a {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #2a2520;
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 0 18px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
}
.cj-nav-links > li > a:hover,
.cj-nav-links > li.active > a {
  color: #0a0a0a;
  border-bottom-color: #0a0a0a;
}
.cj-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s;
}
.cj-nav-links > li:hover .cj-chevron {
  transform: rotate(225deg) translateY(2px);
}

/* Right side CTAs */
.cj-nav-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cj-nav-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  color: #0a0a0a;
  text-decoration: none;
  letter-spacing: .02em;
}
.cj-nav-phone:hover { color: #8a6a3e; }
.cj-btn-quote {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s;
  white-space: nowrap;
}
.cj-btn-quote:hover { background: #8a6a3e; }

/* ── MEGA MENU DROPDOWN ── */
.cj-mega {
  position: absolute;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-top: 2px solid #0a0a0a;
  border-bottom: 1px solid #e8e2da;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  min-width: 760px;
  padding: 36px 40px 40px;
  display: none;
  z-index: 998;
  gap: 48px;
}
.cj-nav-links > li:hover .cj-mega { display: flex; }

.cj-mega-col { flex: 1; }
.cj-mega-col-wide { flex: 1.4; }

.cj-mega-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8a7f74;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0ece6;
}
.cj-mega ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cj-mega ul li { margin-bottom: 10px; }
.cj-mega ul li a {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #3a3530;
  text-decoration: none;
  transition: color .12s;
  letter-spacing: .02em;
}
.cj-mega ul li a:hover { color: #0a0a0a; }
.cj-mega ul li a strong {
  font-weight: 600;
  color: #0a0a0a;
}

/* Mega promo panel */
.cj-mega-promo {
  flex: 0 0 220px;
  background: #f7f4f0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
}
.cj-mega-promo img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  margin-bottom: 16px;
}
.cj-mega-promo-label {
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8a7f74;
  margin-bottom: 6px;
}
.cj-mega-promo-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  color: #0a0a0a;
  line-height: 1.3;
  margin-bottom: 12px;
}
.cj-mega-promo-link {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cj-mega-promo-link::after {
  content: '→';
  font-size: 14px;
  transition: transform .15s;
}
.cj-mega-promo:hover .cj-mega-promo-link::after {
  transform: translateX(4px);
}

/* Simple dropdown (no mega) */
.cj-dropdown {
  position: absolute;
  top: 72px;
  left: 0;
  background: #fff;
  border-top: 2px solid #0a0a0a;
  border-bottom: 1px solid #e8e2da;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  min-width: 240px;
  padding: 20px 0;
  display: none;
  z-index: 998;
}
.cj-nav-links > li:hover .cj-dropdown { display: block; }
.cj-dropdown li a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #3a3530;
  text-decoration: none;
  padding: 9px 24px;
  letter-spacing: .02em;
  transition: background .1s, color .1s;
}
.cj-dropdown li a:hover {
  background: #f7f4f0;
  color: #0a0a0a;
}

/* ── MOBILE HAMBURGER ── */
.cj-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.cj-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #0a0a0a;
  transition: all .2s;
}

/* ── MOBILE MENU ── */
.cj-mobile-menu {
  display: none;
  background: #fff;
  border-top: 1px solid #e8e2da;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.cj-mobile-menu.open {
  max-height: 600px;
  overflow-y: auto;
}
.cj-mobile-menu a {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #2a2520;
  text-decoration: none;
  padding: 13px 24px;
  border-bottom: 1px solid #f0ece6;
  letter-spacing: .04em;
}
.cj-mobile-menu a.cj-mobile-parent {
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8a7f74;
  background: #f7f4f0;
  padding: 10px 24px;
}
.cj-mobile-cta {
  display: block;
  background: #0a0a0a;
  color: #fff !important;
  text-align: center;
  padding: 16px 24px !important;
  font-weight: 600 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase;
  font-size: 11px !important;
  border: none !important;
  margin: 12px 24px;
  border-radius: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cj-nav-links { display: none; }
  .cj-hamburger { display: flex; }
  .cj-nav-phone { display: none; }
  .cj-nav-inner { padding: 0 20px; }
  .cj-utility { padding: 0 20px; font-size: 10px; }
}
@media (max-width: 640px) {
  .cj-utility-left { display: none; }
  .cj-utility { justify-content: center; }
}
