/*
 * Simsource Neve Child — nav-extras.css
 * Sticky nav component, mobile menu, active link state,
 * form feedback messages. Loaded via style.css @import.
 */

/* ─────────────────────────────────────────────────
   STICKY NAV COMPONENT
   (Overlays Neve's header on the homepage template)
───────────────────────────────────────────────── */
.ss-sticky-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(11, 22, 40, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(232, 168, 56, 0.12);
  transition: background 0.3s ease;
}
.ss-sticky-nav.ss-nav-scrolled {
  background: rgba(6, 15, 30, 0.97);
}

.ss-nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 5vw;
}

.ss-nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem; letter-spacing: 0.04em;
  color: var(--ss-white) !important; text-decoration: none !important;
}
.ss-nav-logo em { color: var(--ss-gold); font-style: normal; }
.ss-nav-logo-icon {
  width: 34px; height: 34px;
  background: linear-gradient(135deg, var(--ss-gold), var(--ss-gold-dim));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: var(--ss-navy);
  flex-shrink: 0;
}

.ss-nav-links {
  display: flex; gap: 36px; list-style: none; margin: 0; padding: 0;
}
.ss-nav-links a {
  text-decoration: none !important;
  font-size: 0.86rem; font-weight: 500;
  color: var(--ss-slate-light) !important;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.ss-nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--ss-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.ss-nav-links a:hover,
.ss-nav-links a.ss-active {
  color: var(--ss-white) !important;
}
.ss-nav-links a:hover::after,
.ss-nav-links a.ss-active::after { transform: scaleX(1); }

.ss-nav-cta { flex-shrink: 0; }

/* ─── HAMBURGER ─── */
.ss-hamburger {
  display: none;
  flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: 16px;
}
.ss-hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ss-gold); border-radius: 2px;
  transition: all 0.3s;
}
.ss-hamburger.ss-hamburger-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ss-hamburger.ss-hamburger-open span:nth-child(2) { opacity: 0; }
.ss-hamburger.ss-hamburger-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE MENU DRAWER ─── */
.ss-mobile-menu {
  background: rgba(6, 15, 30, 0.98);
  border-top: 1px solid rgba(232, 168, 56, 0.1);
  padding: 24px 5vw 32px;
}
.ss-mobile-menu ul { list-style: none; margin: 0 0 24px; padding: 0; }
.ss-mobile-menu ul li + li { border-top: 1px solid rgba(232, 168, 56, 0.06); }
.ss-mobile-menu ul a {
  display: block; padding: 14px 0;
  color: var(--ss-slate-light) !important;
  font-size: 0.96rem; font-weight: 500;
  text-decoration: none !important;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: color 0.2s;
}
.ss-mobile-menu ul a:hover { color: var(--ss-gold) !important; }
.ss-mobile-cta { width: 100%; text-align: center; justify-content: center; }

/* ─── RESPONSIVE: SHOW HAMBURGER ─── */
@media (max-width: 900px) {
  .ss-nav-links { display: none; }
  .ss-nav-cta   { display: none; }
  .ss-hamburger { display: flex; }
}

/* ─── BODY PADDING for sticky nav ─── */
.ss-page-template body,
body.ss-page-template {
  padding-top: 0 !important; /* hero starts at top, nav overlays */
}

/* When Neve's own header is also rendered, push our sticky nav below it */
.hfg-header + .neve-main .ss-sticky-nav {
  top: 0;
}

/* ─────────────────────────────────────────────────
   FLOW SECTION — GREEN DAY VARIANT
───────────────────────────────────────────────── */
.ss-flow-timeline-label {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ss-gold); font-weight: 600; margin-bottom: 28px;
}
.ss-flow-dot-green {
  border-color: rgba(34, 197, 94, 0.5) !important;
  background: rgba(34, 197, 94, 0.1) !important;
}
.ss-flow-day-green { color: var(--ss-green) !important; }

/* ─────────────────────────────────────────────────
   FORM FEEDBACK MESSAGES
───────────────────────────────────────────────── */
#ss-form-status {
  padding: 12px 16px; border-radius: 8px;
  font-size: 0.88rem; font-weight: 500; margin-bottom: 12px;
  display: block; min-height: 0;
}
#ss-form-status:empty { display: none; }
.ss-form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--ss-green);
}
.ss-form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--ss-red);
}

/* ─────────────────────────────────────────────────
   WP BLOCK EDITOR: DARK BACKGROUND OVERRIDES
   (so Gutenberg preview matches front-end)
───────────────────────────────────────────────── */
.editor-styles-wrapper {
  background: var(--ss-navy) !important;
  color: var(--ss-cream) !important;
  font-family: 'DM Sans', sans-serif !important;
}
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
  color: var(--ss-white) !important;
  font-family: 'DM Serif Display', serif !important;
}
.editor-styles-wrapper a { color: var(--ss-gold) !important; }

/* ─────────────────────────────────────────────────
   NEVE SIDEBAR — HIDE ON HOMEPAGE TEMPLATE
───────────────────────────────────────────────── */
body.ss-page-template .neve-sidebar-wrap,
body.ss-page-template .nv-sidebar-wrap {
  display: none !important;
}
body.ss-page-template .neve-main .container,
body.ss-page-template .neve-main .container-fluid {
  max-width: 100% !important;
  padding: 0 !important;
}
