/* ==========================================================================
   BuyVCC Chrome — universal header & footer
   Renders identically on every page. Replaces OceanWP defaults.
   ========================================================================== */

:root {
  --bvc-navy:    #0d0f1f;
  --bvc-navy-2:  #0a0c1a;
  --bvc-navy-3:  #12152b;
  --bvc-border:  #2a2f52;
  --bvc-purple:  #7c3aed;
  --bvc-purple2: #a855f7;
  --bvc-grad:    linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --bvc-text:    #e2e8f0;
  --bvc-muted:   #94a3b8;
}

/* ── Hide OceanWP's default chrome wherever it tries to render ──────────── */
#site-header,
header#site-header,
.site-header.minimal-header,
.site-header,
#top-bar,
#top-bar-wrap,
body > footer:not(.bvc-footer):not(.elementor-location-footer),
footer.site-footer,
#footer:not(.bvc-footer),
#colophon,
#owp-footer-callout,
#footer-bottom,
#footer-widgets {
  display: none !important;
}

/* Hide the duplicate "header" section embedded inside the homepage's hero
 * Elementor design (logo + Home/About/Contact menu). The .bvc-header above
 * already provides the same navigation site-wide. */
.elementor-1789 .elementor-element.elementor-element-8223754 {
  display: none !important;
}

/* Compensate for the now-hidden default header — push everything tight to the top */
body > #wrap,
body #wrap > #main,
body > #outer-wrap > #wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.bvc-header {
  position: sticky;
  top: 0;
  z-index: 9990;
  width: 100%;
  background: rgba(13, 15, 31, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bvc-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Logo: image (PNG) — falls back to gradient text if no image */
.bvc-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.22s ease, transform 0.22s ease;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bvc-text);
}
.bvc-header__logo img {
  display: block;
  height: 40px;
  width: auto;
  max-height: 40px;
  object-fit: contain;
}
.bvc-header__logo strong {
  font-weight: 800;
  background: var(--bvc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bvc-header__logo:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Nav */
.bvc-header__menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}
.bvc-header__menu li {
  margin: 0;
  padding: 0;
}
.bvc-header__menu a {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  color: var(--bvc-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.01em;
  border-radius: 8px;
  position: relative;
  transition: color 0.22s ease, background 0.22s ease;
}
.bvc-header__menu a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--bvc-grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.bvc-header__menu a:hover,
.bvc-header__menu li.is-current > a,
.bvc-header__menu li.current-menu-item > a {
  color: var(--bvc-purple2);
}
.bvc-header__menu a:hover::after,
.bvc-header__menu li.is-current > a::after,
.bvc-header__menu li.current-menu-item > a::after {
  transform: scaleX(1);
}

/* Mobile toggle */
.bvc-header__toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bvc-border);
  border-radius: 10px;
  padding: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.bvc-header__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bvc-text);
  border-radius: 1px;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.bvc-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.bvc-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bvc-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.bvc-header__mobile {
  display: none;
  border-top: 1px solid var(--bvc-border);
  background: rgba(13, 15, 31, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 12px 24px 18px;
}
.bvc-header__mobile[aria-hidden="false"],
.bvc-header__mobile.is-open {
  display: block;
}
.bvc-header__mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.bvc-header__mobile-menu li {
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.10);
}
.bvc-header__mobile-menu li:last-child { border-bottom: none; }
.bvc-header__mobile-menu a {
  display: block;
  padding: 14px 4px;
  color: var(--bvc-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.22s ease, padding 0.22s ease;
}
.bvc-header__mobile-menu a:hover { color: var(--bvc-purple2); padding-left: 12px; }

/* ── Animated hover effects on the existing Elementor footer ───────────── */
/* Targets the Elementor Pro Theme Builder footer template that already exists */
footer.elementor-location-footer a:not(.elementor-button) {
  position: relative;
  display: inline-block;
  transition: color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
footer.elementor-location-footer a:not(.elementor-button)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
footer.elementor-location-footer a:not(.elementor-button):hover {
  color: #a855f7 !important;
  transform: translateX(4px);
}
footer.elementor-location-footer a:not(.elementor-button):hover::after {
  transform: scaleX(1);
}

/* Social icons in Elementor footer — lift + brand wash on hover */
footer.elementor-location-footer .elementor-icon,
footer.elementor-location-footer .elementor-social-icon,
footer.elementor-location-footer .elementor-icon-list-icon a {
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.22s ease, box-shadow 0.28s ease !important;
}
footer.elementor-location-footer .elementor-social-icon:hover,
footer.elementor-location-footer .elementor-icon:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35) !important;
}

/* Subscribe button in Elementor footer */
footer.elementor-location-footer .elementor-button:hover,
footer.elementor-location-footer button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(124, 58, 237, 0.4) !important;
  filter: brightness(1.05);
}

/* Disable our custom .bvc-footer (we use the Elementor one instead) */
.bvc-footer { display: none !important; }
.bvc-footer-LEGACY {
  background: var(--bvc-navy-2);
  border-top: 1px solid var(--bvc-border);
  position: relative;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--bvc-muted);
  margin-top: 60px;
}
.bvc-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 720px;
  height: 220px;
  background: radial-gradient(50% 100% at 50% 0%, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.bvc-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.4fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.bvc-footer__col h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bvc-purple2);
  margin: 0 0 18px;
}

.bvc-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.bvc-footer__col li {
  margin: 0;
  padding: 0;
}

/* Animated footer links: gradient underline that grows on hover, slight shift */
.bvc-footer__col li a,
.bvc-footer__col ul li a {
  display: inline-flex;
  align-items: center;
  padding: 7px 0;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.005em;
  position: relative;
  transition: color 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.bvc-footer__col li a::before,
.bvc-footer__col ul li a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 1px;
  background: var(--bvc-grad);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.bvc-footer__col li a:hover,
.bvc-footer__col ul li a:hover {
  color: var(--bvc-purple2);
  transform: translateX(4px);
}
.bvc-footer__col li a:hover::before,
.bvc-footer__col ul li a:hover::before { transform: scaleX(1); }

/* Brand column */
.bvc-footer__brand .bvc-footer__logo {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--bvc-text);
  text-decoration: none;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 14px;
}
.bvc-footer__brand .bvc-footer__logo strong {
  background: var(--bvc-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.bvc-footer__brand p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--bvc-muted);
  margin: 0 0 18px;
  max-width: 280px;
}
.bvc-footer__social {
  display: flex;
  gap: 10px;
}
.bvc-footer__social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 50%;
  color: var(--bvc-purple2);
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}
.bvc-footer__social a svg {
  width: 16px;
  height: 16px;
}
.bvc-footer__social a:hover {
  background: var(--bvc-grad);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

/* Newsletter column */
.bvc-footer__newsletter p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bvc-muted);
  margin: 0 0 14px;
}
.bvc-footer__form {
  display: flex;
  gap: 8px;
}
.bvc-footer__form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--bvc-border);
  border-radius: 10px;
  color: var(--bvc-text);
  font-size: 14px;
  padding: 11px 14px;
  transition: border-color 0.22s ease, background 0.22s ease;
}
.bvc-footer__form input[type="email"]::placeholder { color: var(--bvc-muted); }
.bvc-footer__form input[type="email"]:focus {
  outline: none;
  border-color: var(--bvc-purple);
  background: rgba(124, 58, 237, 0.08);
}
.bvc-footer__form button {
  background: var(--bvc-grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.bvc-footer__form button:hover { opacity: 0.92; transform: translateY(-1px); }

/* Footer bottom */
.bvc-footer__bottom {
  border-top: 1px solid rgba(124, 58, 237, 0.12);
  position: relative;
  z-index: 1;
}
.bvc-footer__bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.bvc-footer__bottom p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

/* Payment badges */
.bvc-footer__pay {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #64748b;
}
.bvc-pay-visa {
  font-weight: 900;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}
.bvc-pay-mc {
  display: inline-flex;
  width: 30px;
  height: 18px;
  position: relative;
}
.bvc-pay-mc span {
  position: absolute;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}
.bvc-pay-mc span:first-child { left: 0; background: #eb001b; opacity: 0.85; }
.bvc-pay-mc span:last-child  { right: 0; background: #f79e1b; opacity: 0.85; mix-blend-mode: lighten; }
.bvc-pay-apple { font-weight: 600; font-size: 15px; color: #cbd5e1; }
.bvc-pay-google { font-weight: 600; font-size: 14px; color: #cbd5e1; }
.bvc-pay-more { font-size: 12px; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bvc-footer__inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .bvc-footer__brand,
  .bvc-footer__newsletter { grid-column: span 3; }
}

@media (max-width: 768px) {
  .bvc-header__nav { display: none; }
  .bvc-header__toggle { display: inline-flex; }

  .bvc-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 48px 24px 32px;
  }
  .bvc-footer__brand,
  .bvc-footer__newsletter { grid-column: span 2; }

  .bvc-footer__bottom-inner {
    padding: 18px 24px;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bvc-header__inner { padding: 12px 18px; }
  .bvc-header__logo { font-size: 22px; }
  .bvc-header__logo img { height: 32px; max-height: 32px; }
  .bvc-footer__inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 24px;
  }
  .bvc-footer__brand,
  .bvc-footer__newsletter { grid-column: span 1; }
  .bvc-footer__form { flex-direction: column; }
  .bvc-footer__form button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .bvc-header *,
  .bvc-footer * { transition: none !important; animation: none !important; }
}
