/* ==========================================================================
   Discover Flores — Mega Nav
   All selectors prefixed .dfnav- to avoid bleed into the theme / Elementor.
   Brand: black #0D0D0D · teal #2DC5A2 · forest-dark #0A3D36 · cream #FDFAF6
   Fonts: Bricolage Grotesque (brand) · Montserrat (UI/caps) · Inter (body)
   No serif fonts — all sans-serif by design.
   ========================================================================== */

.dfnav, .dfnav * { box-sizing: border-box; }

/* ── Topbar (thin utility strip above the main nav) ── */
.dfnav-topbar {
  background: #080808;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-family: 'Montserrat', sans-serif;
  padding-top: 5px;
  position: relative;
}
.dfnav-topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 32px;
  display: flex;
  align-items: center;
}
.dfnav-topbar-right {
  position: absolute;
  right: 32px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}
.dfnav-topbar-left { display: flex; align-items: center; gap: 24px; }
.dfnav-topbar a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.18s;
}
.dfnav-topbar-left a:hover { color: #FDFAF6; }
.dfnav-topbar-right a { color: #2DC5A2; }
.dfnav-topbar-right a:hover { color: #3DDBB8; }

/* ── "What's On" dropdown (in the topbar) ── */
.dfnav-tb-dropdown { position: relative; }
.dfnav-tb-trigger {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0;
  transition: color 0.18s;
}
.dfnav-tb-caret { font-size: 9px; opacity: 0.7; transition: transform 0.2s; }

.dfnav-tb-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  padding: 8px 0;
  display: none;
  z-index: 9500;
}
.dfnav-tb-dropdown.is-open .dfnav-tb-menu { display: block; }
.dfnav-tb-dropdown.is-open .dfnav-tb-trigger { color: #FDFAF6; }
.dfnav-tb-dropdown.is-open .dfnav-tb-caret { transform: rotate(180deg); }

.dfnav-tb-menu a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  border-bottom: 1px solid #F0EBE3;
}
.dfnav-tb-menu a:last-child { border-bottom: none; }
.dfnav-tb-menu strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  letter-spacing: 0;
  text-transform: none;
}
.dfnav-tb-menu span {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #999;
  letter-spacing: 0;
  text-transform: none;
}
.dfnav-tb-menu a:hover strong { color: #2DC5A2; }

@media (min-width: 981px) {
  .dfnav-tb-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
  }
}

/* ── Main nav bar ── */
.dfnav {
  background: #0D0D0D;
  border-bottom: 3px solid #2DC5A2;
  font-family: 'Inter', sans-serif;
  position: relative;
  z-index: 9000;
  margin-bottom: 0;
}

/* Collapse the WordPress block theme gap below the nav. */
.wp-site-blocks { padding-top: 0 !important; }
.is-layout-constrained > :first-child,
.wp-block-group:first-child,
.site-content > :first-child,
main.wp-block-group > :first-child { margin-top: 0 !important; }

.dfnav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
}

/* ── Brand (logo badge + wordmark) ── */
.dfnav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 40px;
  flex-shrink: 0;
}
.dfnav-logo {
  height: 44px;
  width: 44px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.dfnav-brand-text {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #FDFAF6;
  letter-spacing: -0.4px;
}
.dfnav-brand-text em { font-style: normal; font-weight: 800; color: #2DC5A2; }

/* ── Top-level list ── */
.dfnav-list {
  display: flex;
  align-items: stretch;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  flex: 1;
}

.dfnav-item { position: static; height: 100%; display: flex; align-items: center; }

.dfnav-top {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.75);
  white-space: nowrap;
  position: relative;
  transition: color 0.18s;
}

.dfnav-top::after {
  content: '';
  position: absolute;
  bottom: 0; left: 16px; right: 16px;
  height: 3px; background: #2DC5A2;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.2s ease;
}

.dfnav-item:hover .dfnav-top,
.dfnav-item:focus-within .dfnav-top { color: #FDFAF6; }
.dfnav-item:hover .dfnav-top::after,
.dfnav-item:focus-within .dfnav-top::after { transform: scaleX(1); }

.dfnav-chevron {
  margin-left: 5px; font-size: 9px; opacity: 0.6;
  display: inline-block; transition: transform 0.2s;
}
.dfnav-item:hover .dfnav-chevron,
.dfnav-item:focus-within .dfnav-chevron { transform: rotate(180deg); }

/* ── Utility (right) ── */
.dfnav-utility {
  margin-left: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

.dfnav-btns {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  flex-shrink: 0;
}

/* Auth block */
.dfnav-auth {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.dfnav-auth-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.18s;
}
.dfnav-auth-link:hover { color: #FDFAF6; }

/* Account dropdown — logged-in state */
.dfnav-acct-dropdown { position: relative; }
.dfnav-acct-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.dfnav-acct-caret {
  font-size: 9px;
  opacity: 0.6;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s;
}
.dfnav-acct-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 170px;
  background: #FFFFFF;
  border: 1px solid #E8E2D9;
  box-shadow: 0 12px 30px rgba(0,0,0,0.16);
  padding: 6px 0;
  display: none;
  z-index: 9500;
}
.dfnav-acct-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.dfnav-acct-dropdown.is-open .dfnav-acct-menu { display: block; }
.dfnav-acct-dropdown.is-open .dfnav-acct-caret { transform: rotate(180deg); }
@media (min-width: 981px) {
  .dfnav-acct-dropdown:hover .dfnav-acct-menu { display: block; }
  .dfnav-acct-dropdown:hover .dfnav-acct-caret { transform: rotate(180deg); }
}
.dfnav-acct-menu a {
  display: block;
  padding: 9px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #1A1A1A;
  text-decoration: none;
  border-bottom: 1px solid #F0EBE3;
  letter-spacing: 0.2px;
  transition: color 0.15s;
}
.dfnav-acct-menu a:last-child { border-bottom: none; }
.dfnav-acct-menu a:hover { color: #2DC5A2; }

/* Add Your Business — outline button */
.dfnav-invest {
  display: inline-block !important;
  width: auto !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #2DC5A2 !important;
  text-decoration: none !important;
  background: transparent !important;
  border: 1px solid #2DC5A2 !important;
  padding: 9px 12px !important;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: all 0.2s;
}
.dfnav-invest:hover { background: #2DC5A2 !important; color: #0D0D0D !important; }

/* Plan Your Trip — primary filled button */
.dfnav-cta {
  display: inline-block !important;
  width: auto !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0D0D0D !important;
  background: #2DC5A2 !important;
  text-decoration: none !important;
  border: 1px solid #2DC5A2 !important;
  padding: 9px 14px !important;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.2;
  transition: all 0.2s;
}
.dfnav-cta:hover { background: #25A88D !important; border-color: #25A88D !important; }

/* ── Mega panel ── */
.dfnav-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #FFFFFF;
  border-top: 1px solid #E8E2D9;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
  display: none;
  z-index: 8999;
}
.dfnav-item:hover .dfnav-panel,
.dfnav-item:focus-within .dfnav-panel { display: block; }

.dfnav-panel-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 38px 32px 34px;
  display: grid;
  gap: 0;
}
.dfnav-panel-inner.cols-2 { grid-template-columns: 1fr 1fr; }
.dfnav-panel-inner.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

.dfnav-col {
  padding: 0 36px;
  border-right: 1px solid #EDE8E0;
}
.dfnav-col:first-child { padding-left: 0; }
.dfnav-col:last-child { padding-right: 0; border-right: none; }

/* ── Column label ── */
.dfnav-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #2DC5A2;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EDE8E0;
}

/* ── Link lists ── */
.dfnav-links, .dfnav-plain { list-style: none; margin: 0; padding: 0; }
.dfnav-links li, .dfnav-plain li { border-bottom: 1px solid #F0EBE3; }
.dfnav-links li:last-child, .dfnav-plain li:last-child { border-bottom: none; }

.dfnav-links a, .dfnav-plain a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
}

/* Link titles — sans-serif only */
.dfnav-link-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.3;
  display: block;
  transition: color 0.15s;
}
.dfnav-plain .dfnav-link-title { font-size: 14.5px; }

.dfnav-link-sub {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 400;
  color: #888;
  display: block;
  line-height: 1.35;
  margin-top: 2px;
}

.dfnav-links a:hover .dfnav-link-title,
.dfnav-plain a:hover .dfnav-link-title { color: #2DC5A2; }

/* Live listing count */
.dfnav-count {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #2DC5A2;
  opacity: 0.7;
  margin-left: 6px;
  vertical-align: 1px;
}

/* ── View all ── */
.dfnav-view-all {
  display: inline-block;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2DC5A2;
  text-decoration: none;
  border-bottom: 1px solid #2DC5A2;
  padding-bottom: 2px;
}

/* ── Feature card ── */
.dfnav-card {
  display: block;
  background: #F2FBFA;
  border: 1px solid #D6F0EC;
  padding: 16px 18px;
  text-decoration: none;
  transition: background 0.15s;
}
.dfnav-card:hover { background: #E6F7F4; }

.dfnav-card-thumb {
  display: block;
  width: 100%;
  height: 110px;
  background-size: cover;
  background-position: center;
  margin-bottom: 12px;
}

.dfnav-card-badge {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2DC5A2;
  margin-bottom: 5px;
}

.dfnav-card-title {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 4px;
  line-height: 1.3;
}

.dfnav-card-desc {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #666;
  line-height: 1.5;
}

/* ── Burger (hidden on desktop) ── */
.dfnav-burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}
.dfnav-burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #FDFAF6;
  left: 0;
  transition: all 0.25s ease;
}
.dfnav-burger span:nth-child(1) { top: 2px; }
.dfnav-burger span:nth-child(2) { top: 11px; }
.dfnav-burger span:nth-child(3) { top: 20px; }
.dfnav-burger.is-open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.dfnav-burger.is-open span:nth-child(2) { opacity: 0; }
.dfnav-burger.is-open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* ==========================================================================
   MOBILE (≤ 980px) — accordion
   ========================================================================== */
@media (max-width: 980px) {
  .dfnav-topbar-inner {
    height: auto;
    padding: 8px 18px;
    flex-wrap: wrap;
    gap: 6px 18px;
    justify-content: center;
  }
  .dfnav-topbar-left { flex-wrap: wrap; justify-content: center; gap: 6px 18px; width: 100%; }

  .dfnav-tb-dropdown { width: 100%; text-align: center; }
  .dfnav-tb-trigger { width: 100%; height: auto; padding: 6px 0; justify-content: center; }
  .dfnav-tb-menu {
    position: static;
    min-width: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px 0 8px;
  }
  .dfnav-tb-menu a { border-bottom-color: rgba(255,255,255,0.08); }
  .dfnav-tb-menu strong { color: #FDFAF6; }
  .dfnav-tb-menu span { color: rgba(255,255,255,0.5); }

  .dfnav-inner { height: 58px; padding: 0 18px; flex-wrap: wrap; }
  .dfnav-logo { height: 38px; width: 38px; }
  .dfnav-brand-text { font-size: 19px; }
  .dfnav-burger { display: block; }

  .dfnav-list {
    display: none;
    order: 3;
    flex: 0 0 100%;
    flex-direction: column;
    width: 100%;
    height: auto;
    background: #0D0D0D;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-height: calc(100vh - 58px);
    overflow-y: auto;
  }
  .dfnav.is-open .dfnav-list { display: flex; }

  .dfnav-item { display: block; height: auto; width: 100%; }

  .dfnav-top {
    width: 100%;
    height: auto;
    padding: 16px 0;
    justify-content: space-between;
    color: #FDFAF6;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
  }
  .dfnav-top::after { display: none; }

  .dfnav-panel {
    position: static;
    display: none;
    box-shadow: none;
    border-top: none;
    background: #141414;
  }
  .dfnav-item.is-expanded .dfnav-panel { display: block; }
  .dfnav-item:hover .dfnav-panel,
  .dfnav-item:focus-within .dfnav-panel { display: none; }
  .dfnav-item.is-expanded:hover .dfnav-panel { display: block; }

  .dfnav-panel-inner {
    grid-template-columns: 1fr !important;
    padding: 8px 0 20px;
  }
  .dfnav-col {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 14px;
    margin-bottom: 14px;
  }
  .dfnav-col:last-child { border-bottom: none; }

  .dfnav-label { color: #2DC5A2; border-bottom-color: rgba(255,255,255,0.1); }
  .dfnav-link-title { color: #FDFAF6; }
  .dfnav-link-sub { color: rgba(255,255,255,0.5); }
  .dfnav-links li, .dfnav-plain li { border-bottom-color: rgba(255,255,255,0.06); }
  .dfnav-card { background: #1d1d1d; border-color: rgba(255,255,255,0.1); }
  .dfnav-card-title { color: #FDFAF6; }
  .dfnav-card-desc { color: rgba(255,255,255,0.55); }

  .dfnav-chevron { font-size: 12px; opacity: 0.8; }
  .dfnav-item.is-expanded .dfnav-chevron { transform: rotate(180deg); }

  .dfnav-utility {
    order: 4;
    flex: 0 0 100%;
    width: 100%;
    margin-left: 0;
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    display: none;
  }
  .dfnav.is-open .dfnav-utility { display: flex; }
  .dfnav-utility .dfnav-auth {
    flex: 0 0 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-right: 0;
    padding-bottom: 10px;
  }
  .dfnav-acct-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 0 20px;
    display: none;
  }
  .dfnav-acct-dropdown.is-open .dfnav-acct-menu { display: block; }
  .dfnav-acct-menu a { color: rgba(255,255,255,0.6); border-bottom-color: rgba(255,255,255,0.06); font-size: 13px; }
  .dfnav-acct-menu a:hover { color: #2DC5A2; }
  .dfnav-utility .dfnav-btns {
    flex: 0 0 100%;
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
  }
  .dfnav-utility .dfnav-invest,
  .dfnav-utility .dfnav-cta { flex: 1 1 auto !important; text-align: center; }
}
