/* =============================================================
   site.css — VBoX Web Services — Cloud IT Systems for Tradies
   ============================================================= */

:root {
  --dark:        #15110d;
  --dark-mid:    #1b1611;
  --dark-card:   #221b14;
  --dark-input:  #251d15;
  --accent:      #e2a13f;
  --accent-dark: #b9822f;
  --accent-light:#f0c374;
  --white:       #ffffff;
  --text:        #f5f0e8;
  --text-mid:    #ded2be;
  --text-muted:  #a4937c;
  --border:      rgba(226,161,63,0.3);
  --border-mid:  rgba(226,161,63,0.18);
  --font-brand:  'Orbitron', sans-serif;
  --font-body:   'Source Sans 3', sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- NAV ----- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(21,17,13,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
}

/* ----- LOGO (text wordmark) ----- */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.logo-brand {
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.05em;
  display: block;
  line-height: 1;
}
.logo-sub {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.55rem;
  color: var(--accent-light);
  letter-spacing: 0.18em;
  display: block;
  margin-top: 3px;
  text-transform: uppercase;
}

/* ----- HERO ----- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #241c12 0%, #15110d 60%);
  padding: 5.5rem 2rem 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
}
.ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin linear infinite;
}
.ring-1 { width: 750px; height: 750px; border: 1.5px solid rgba(226,161,63,0.12); animation-duration: 30s; }
.ring-2 { width: 580px; height: 580px; border: 1.5px solid rgba(240,195,116,0.15); animation-duration: 22s; animation-direction: reverse; }
.ring-3 { width: 420px; height: 420px; border: 2px   solid rgba(226,161,63,0.18); animation-duration: 16s; }
.ring-4 { width: 270px; height: 270px; border: 2px   solid rgba(240,195,116,0.22); animation-duration: 10s; animation-direction: reverse; }
.ring-5 { width: 140px; height: 140px; border: 2.5px solid rgba(226,161,63,0.3);  animation-duration: 6s; }
@keyframes spin { from { transform: translate(-50%,-50%) rotate(0deg); } to { transform: translate(-50%,-50%) rotate(360deg); } }

.hero-inner { position: relative; z-index: 2; max-width: 640px; }
.hero-heading {
  font-family: var(--font-brand);
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.hero-graphic { width: 180px; margin: 0 auto 1.5rem; opacity: 0.9; }
.hero-graphic svg { width: 100%; height: auto; display: block; }
.hero-sub {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ----- SECTIONS ----- */
.section { padding: 3.5rem 2rem; }
.section-mid { background: var(--dark-mid); }

.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 560px; margin: 0 auto; }

.section-lead {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.75;
  text-align: center;
  margin: 0 auto;
}

/* ----- FORM CARD ----- */
.form-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.9rem;
}
.form-group { margin-bottom: 0.9rem; }
label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.4rem;
}
.required { color: var(--accent-light); }
input, textarea {
  width: 100%;
  padding: 0.65rem 0.9rem;
  background: var(--dark-input);
  border: 1.5px solid rgba(226,161,63,0.35);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(226,161,63,0.15);
}
input::placeholder, textarea::placeholder { color: #8a7860; }
textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.8rem; color: var(--text-muted); display: block; margin-bottom: 1rem; }
.btn-submit {
  width: 100%;
  background: var(--accent);
  color: #15110d;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.85rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s;
}
.btn-submit:hover { background: var(--accent-light); }

.error-box {
  background: rgba(252,129,129,0.1);
  border: 1px solid rgba(252,129,129,0.4);
  border-left: 4px solid #fc8181;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.error-box-title { color: #fc8181; font-weight: 700; font-size: 0.92rem; margin-bottom: 0.4rem; }
.error-box ul { margin: 0; padding-left: 1.2rem; }
.error-box li { color: #fc8181; font-size: 0.9rem; }

/* ----- FOOTER ----- */
.footer {
  background: var(--dark-mid);
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  text-align: center;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); line-height: 1.7; }
.footer-copy a { color: var(--blue-light); text-decoration: none; }
.footer-copy a:hover { text-decoration: underline; }

/* ----- RESPONSIVE ----- */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.5rem 3rem; }
  .section { padding: 2.5rem 1.5rem; }
  .nav-inner { padding: 0.9rem 1.5rem; }
  .form-card { padding: 1.25rem; }
}
