/*
Theme Name: Astra Child
Theme URI: http://digitally.local/
Description: Premium Gutenberg-first child theme for Astra with 3D visuals, GSAP motion, and Gravity Forms styling.
Author: Novamira
Template: astra
Version: 1.1.0
Text Domain: astra-child
*/

:root {
  --nv-bg: #06070b;
  --nv-bg-soft: #0d1018;
  --nv-surface: rgba(255, 255, 255, 0.075);
  --nv-surface-strong: rgba(255, 255, 255, 0.13);
  --nv-text: #f7f9ff;
  --nv-muted: #aeb7c9;
  --nv-line: rgba(255, 255, 255, 0.15);
  --nv-accent: #49f2c2;
  --nv-accent-2: #ffcf5a;
  --nv-accent-3: #7aa8ff;
  --nv-radius: 8px;
  --nv-container: 1180px;
  --nv-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--nv-bg);
  color: var(--nv-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
body.admin-bar .nv-site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img, video, canvas { max-width: 100%; height: auto; }

.nv-site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(73, 242, 194, 0.18), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 207, 90, 0.12), transparent 28%),
    linear-gradient(180deg, #07080d 0%, #0b1019 52%, #07080d 100%);
}
.nv-site-main { min-height: 72vh; }
.nv-container, .nv-content-wrap, .entry-content > .wp-block-group.alignwide, .entry-content > .wp-block-cover.alignwide {
  width: min(var(--nv-container), calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}
.nv-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(6, 7, 11, 0.74);
  backdrop-filter: blur(18px);
}
.nv-header-inner {
  width: min(var(--nv-container), calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nv-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--nv-text);
}
.nv-brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #06100d;
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-2));
  box-shadow: 0 12px 40px rgba(73, 242, 194, 0.25);
}
.nv-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.nv-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--nv-muted);
  font-size: 14px;
  font-weight: 700;
}
.nv-nav a:hover, .nv-nav .current-menu-item > a { color: var(--nv-text); background: rgba(255, 255, 255, 0.09); }
.nv-menu-toggle { display: none; }
.nv-site-footer {
  border-top: 1px solid var(--nv-line);
  background: #05060a;
  color: var(--nv-muted);
}
.nv-footer-inner {
  width: min(var(--nv-container), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.nv-button, .wp-block-button__link, .gform_button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  color: #06100d !important;
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-2));
  box-shadow: 0 16px 42px rgba(73, 242, 194, 0.24);
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nv-button:hover, .wp-block-button__link:hover, .gform_button:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(255, 207, 90, 0.22); }
.entry-content { color: var(--nv-text); }
.entry-content > * { margin-block-start: 0; }
.entry-content p { color: var(--nv-muted); line-height: 1.8; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--nv-text); line-height: 1.06; }
.nv-section, .entry-content > .wp-block-group {
  padding-top: clamp(72px, 9vw, 132px);
  padding-bottom: clamp(72px, 9vw, 132px);
}
.nv-glass-card, .wp-block-column.is-style-nv-glass, .wp-block-group.is-style-nv-glass {
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.045));
  box-shadow: var(--nv-shadow);
  backdrop-filter: blur(20px);
}
.wp-block-columns { gap: clamp(18px, 3vw, 36px); }
.wp-block-image img { border-radius: var(--nv-radius); }
.nv-reveal { opacity: 0; transform: translateY(28px); }

.gform_wrapper.gravity-theme form { display: grid; gap: 18px; }
.gform_wrapper.gravity-theme input[type="text"], .gform_wrapper.gravity-theme input[type="email"], .gform_wrapper.gravity-theme input[type="tel"], .gform_wrapper.gravity-theme textarea, .gform_wrapper.gravity-theme select {
  min-height: 48px;
  border: 1px solid var(--nv-line);
  border-radius: var(--nv-radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--nv-text);
  padding: 12px 14px;
}
.gform_wrapper.gravity-theme label, .gform_wrapper.gravity-theme legend { color: var(--nv-text); font-weight: 700; }

@media (max-width: 782px) {
  body.admin-bar .nv-site-header { top: 46px; }
  .nv-menu-toggle { display: inline-flex; border: 1px solid var(--nv-line); border-radius: 8px; background: rgba(255,255,255,.08); color: var(--nv-text); min-width: 42px; min-height: 42px; align-items: center; justify-content: center; }
  .nv-nav { position: absolute; left: 16px; right: 16px; top: 76px; display: none; border: 1px solid var(--nv-line); border-radius: var(--nv-radius); background: rgba(6, 7, 11, 0.96); padding: 12px; box-shadow: var(--nv-shadow); }
  .nv-nav.is-open { display: block; }
  .nv-nav ul { flex-direction: column; align-items: stretch; }
  .nv-nav a { justify-content: center; }
}