/* =======================================================
   NEEV PROPERTIES — Essential fixes + Custom cursor
   ======================================================= */

/* ---- 1. Custom cursor ring — desktop only ---- */
/* System cursor stays visible — glow ring follows as a decorative trail */

/* Gold dot — snaps to mouse instantly */
.custom-cursor-dot {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  background: #ecc01b !important;
  border-radius: 50% !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none !important;
  z-index: 99999 !important;
  will-change: transform !important;
  transition: width 0.25s ease, height 0.25s ease !important;
}
.custom-cursor-dot.active {
  width: 12px !important;
  height: 12px !important;
}

/* Glow ring — trails behind with spring delay (set via JS) */
.custom-cursor-glow {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  border: 1.5px solid rgba(236, 192, 27, 0.6) !important;
  border-radius: 50% !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  pointer-events: none !important;
  z-index: 99998 !important;
  will-change: transform !important;
  transition: width 0.35s cubic-bezier(0.16,1,0.3,1),
              height 0.35s cubic-bezier(0.16,1,0.3,1),
              border-color 0.3s ease !important;
}
.custom-cursor-glow.active {
  width: 56px !important;
  height: 56px !important;
  border-color: rgba(236, 192, 27, 0.85) !important;
  background: rgba(236, 192, 27, 0.04) !important;
}

/* On mobile/touch — hide custom cursor, restore system cursor */
@media (max-width: 1024px), (hover: none) {
  .custom-cursor-dot,
  .custom-cursor-glow {
    display: none !important;
  }
  *, *::before, *::after {
    cursor: auto !important;
  }
}


/* ---- 2. Fix Mobile Nav "Get Free Call" button ---- */
/* Inherits mobile-nav link colour — force white text on dark green button */
.mobile-nav a.btn,
.mobile-nav a.btn-primary,
.mobile-nav .btn.btn-primary {
  display: block !important;
  border-bottom: none !important;
  padding: 14px 20px !important;
  border-radius: 14px !important;
  margin-top: 10px !important;
  background: linear-gradient(135deg, #042e18 0%, #073b23 60%, #0a4a2e 100%) !important;
  color: #ffffff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  box-shadow: 0 4px 20px rgba(7,59,36,0.4) !important;
}
/* Remove the arrow the mobile-nav normally adds to all <a> tags */
.mobile-nav a.btn::after,
.mobile-nav a.btn-primary::after {
  display: none !important;
}
.mobile-nav a.btn:hover,
.mobile-nav a.btn-primary:hover {
  color: #ffffff !important;
  border-bottom: none !important;
  padding-left: 20px !important;
}
.dark .mobile-nav a.btn,
.dark .mobile-nav a.btn-primary {
  color: #ffffff !important;
}

/* ---- 3. All btn-primary must have white text everywhere ---- */
.btn-primary,
.btn.btn-primary,
a.btn.btn-primary,
a.btn-primary {
  color: #ffffff !important;
}
.btn-primary:hover,
.btn.btn-primary:hover,
a.btn.btn-primary:hover,
a.btn-primary:hover {
  color: #ffffff !important;
}

/* ---- 4. All btn-accent must have dark text everywhere ---- */
.btn-accent,
.btn.btn-accent,
a.btn.btn-accent,
a.btn-accent {
  color: #021208 !important;
}

/* ---- 5. Skip Link Accessibility ---- */
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  z-index: 10000;
}
.skip-link:focus {
  position: fixed;
  top: 20px;
  left: 20px;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--primary);
  color: #ffffff !important;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  text-decoration: none;
}
