/* Bar */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 0 40px;
  background: var(--nav-bg, #f6ca5e);
  z-index: 1000;
}

/* ensure content starts below nav */
body {
  margin-top: 100px; /* same as nav height */
}

html {
  scroll-behavior: smooth; /* optional: nice smooth scroll */
  scroll-padding-top: 120px; /* same as your fixed nav height */
}

.nav-inner {
  width: 100%;
  height: 100px; /* fixed height */
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: space-between; /* left group + join */
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand .black {
  display: inline-block;
  width: 180px;
  height: 44px;
  background-image: url("../img/logo/logo_black.svg"); /* adjust path if different */
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
.brand .white {
  display: inline-block;
  width: 180px;
  height: 44px;
  background-image: url("../img/logo/logo_white.svg"); /* adjust path if different */
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.menu-down {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../img/chevrons/menu_down.svg  "); /* adjust path if different */
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.nav-sep {
  display: inline-block;
  width: 1px;
  height: 40px;
  background-image: url("../img/strokes/menu_stroke.svg"); /* adjust path if different */
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  border: none;
  background: none;
}
.menu-item.disabled .menu-link {
  opacity: 0.5;
  cursor: not-allowed;
}
.menu-item a.menu-link {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 146.667% */
  letter-spacing: 0.15px;
  text-transform: uppercase;
}
.chev {
  transition: transform 0.2s ease;
}

/* Button right */
.join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #eb5a68;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

/* Mega dropdown */
.menu-item.has-mega {
  position: relative;
}
.menu-item.has-mega .mega {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  width: 580px;
  border-radius: 14px;
  border: 1px solid #e9e9e9;
  background: #fff;
  padding: 20px;
  display: none;
  z-index: 1000;
}

.menu-item.has-mega .mega::before {
  content: "";
  position: absolute;
  top: -16px; /* height equals the desired visual gap */
  left: 0;
  right: 0;
  height: 16px;
  /* no background: it's invisible but hoverable */
}

.menu-item.has-mega[aria-expanded="true"] .mega,
.menu-item.has-mega .menu-link[aria-expanded="true"] + .mega {
  display: grid;
}

.menu-link > span {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 146.667% */
  letter-spacing: 0.15px;
  text-transform: uppercase;
}

.mega {
  grid-template-columns: 1fr 300px;
  gap: 8px;
  font-family: Poppins;
}
.mega-col {
  min-width: 0;
}

/* Left list */
.mega-list {
  display: flex;
  flex-direction: column;
}
.mega-item {
  color: var(--Black, #000);
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 146.667% */
  letter-spacing: 0.15px;
  padding: 16px;
}
.mega-item:hover {
  border-radius: 8px;
  background: #fcedef;
  color: var(--500-Crea-Pink, #fa455c);
  font-family: Poppins;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px; /* 146.667% */
  letter-spacing: 0.15px;
}

/* Right preview */
.mega-preview__img {
  width: 300px;
  height: 288px;
  border-radius: 16px;
  background: #00807d;
  background-size: cover;
  background-position: center;
}
.mega-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  text-decoration: none;
  font-weight: 700;
  color: #111;
}

/* Open/close affordance */
.menu-item.has-mega:hover .chev,
.menu-item.has-mega .menu-link[aria-expanded="true"] .chev {
  transform: rotate(180deg);
}

/* Keep mega from hugging edges on tiny screens */
@media (max-width: 680px) {
  .nav-inner {
    height: auto;
    padding: 12px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .menu {
    flex-wrap: wrap;
    gap: 12px;
  }
  .menu-item.has-mega .mega {
    width: min(92vw, 560px);
  }
}

/* Primary (filled pink), Outline (black border on yellow) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 48px;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--500-Crea-Pink, #fa455c);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.btn:hover {
  filter: brightness(0.95);
}

.btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-block;
}

.btn--primary {
  background: #eb5a68; /* pink-ish */
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: #000;
  border-radius: 12px;
  border: 1px solid var(--Black, #000);
}

.ex-card__cta {
  font-family: Poppins;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #000;
  text-decoration: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: 0.16px;
  text-transform: uppercase;
  margin-top: 20px;
}
.ex-card__cta:hover {
  text-decoration: underline;
}
.ex-card__cta-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 41px;
  background: #fa455c;
  align-items: center;
  justify-content: center;
}
.ex-card__cta-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.ex-card-wrapper {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}
