/* ============================================================
   VALLEY ORBITAL — STYLESHEET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:        #0b0e14;
  --bg-card:   #111620;
  --bg-alt:    #0d1018;
  --border:    #1e2530;
  --accent:    #3b82f6;
  --accent-dim:#1d4ed8;
  --text:      #e2e8f0;
  --muted:     #8892a4;
  --white:     #ffffff;
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- NAV ---- */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 20, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--white);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.btn-nav {
  background: var(--accent);
  color: var(--white) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.2s !important;
}

.btn-nav:hover {
  background: var(--accent-dim) !important;
}

/* ---- HERO ---- */

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  gap: 4rem;
}

.hero-content {
  flex: 1;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* Hero orbit graphic */

.hero-graphic {
  flex: 0 0 300px;
  height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
}

.ring-1 { width: 140px; height: 140px; }
.ring-2 { width: 210px; height: 210px; border-color: #1a2030; }
.ring-3 { width: 280px; height: 280px; border-color: #141920; }

.orbit-dot {
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: calc(50% + 105px);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px var(--accent);
  animation: orbit 8s linear infinite;
  transform-origin: -105px 0;
}

@keyframes orbit {
  from { transform: rotate(0deg) translateX(105px); }
  to   { transform: rotate(360deg) translateX(105px); }
}

/* ---- SERVICES ---- */

.services {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 0;
}

.services h2,
.about h2,
.contact h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 560px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- ABOUT ---- */

.about {
  padding: 5rem 0;
}

.about-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.about-text {
  flex: 1;
}

.about-text p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.75;
}

.about-badge {
  flex: 0 0 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  text-align: center;
}

.badge-location {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.badge-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.badge-focus {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

/* ---- CONTACT ---- */

.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
  text-align: center;
}

.contact-inner {
  max-width: 560px;
}

.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 1rem 0 2rem;
}

/* ---- FOOTER ---- */

footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 700;
  color: var(--white);
  font-size: 0.95rem;
}

.footer-logo span {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 3rem 1.5rem;
  }

  .hero-sub {
    margin: 0 auto 2rem;
  }

  .hero-graphic {
    width: 220px;
    height: 220px;
    flex: none;
  }

  .ring-1 { width: 100px; height: 100px; }
  .ring-2 { width: 155px; height: 155px; }
  .ring-3 { width: 210px; height: 210px; }

  .orbit-dot {
    animation: orbit-sm 8s linear infinite;
    transform-origin: -77px 0;
  }

  @keyframes orbit-sm {
    from { transform: rotate(0deg) translateX(77px); }
    to   { transform: rotate(360deg) translateX(77px); }
  }

  .about-inner {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .nav-links {
    gap: 1rem;
  }
}
