/* =============================================
   Local 3D Printing in Selby — Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent:    #FD4F00;
  --accent-dim:#c43d00;
  --bg:        #191e24;
  --card-bg:   #242933;
  --border:    rgba(255,255,255,0.08);
  --text:      #e5e7eb;
  --muted:     #9ca3af;
  --radius:    12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ---- Typography ---- */
h1, h2, h3 { line-height: 1.2; font-weight: 700; }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.1rem; }

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---- Layout ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

/* ---- Header / Nav ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(25,30,36,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}

.nav-brand img {
  height: 36px;
  width: 36px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-link:hover { background: var(--accent-dim); }

/* ---- Hero ---- */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-eyebrow {
  margin-bottom: 1rem;
}

.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-1px);
}

/* Hero image */
.hero-image-wrap {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ---- About the Printer ---- */
.about { background: var(--card-bg); }

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.icon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0;
}

.icon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.icon-card:hover {
  border-color: rgba(253,79,0,0.4);
  box-shadow: 0 0 0 1px rgba(253,79,0,0.15);
}

.icon-card .icon { font-size: 1.5rem; flex-shrink: 0; }

.icon-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.icon-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}

/* ---- How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.step-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.step-card:hover {
  border-color: rgba(253,79,0,0.35);
  box-shadow: 0 0 0 1px rgba(253,79,0,0.12);
}

.step-number {
  font-family: 'Space Mono', monospace;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.step-card h3 { margin-bottom: 0.5rem; }

.step-card p { color: var(--muted); font-size: 0.95rem; }

/* Connector dots between steps */
.steps-grid .step-card:not(:last-child)::after {
  display: none; /* Keep it clean on mobile */
}

/* ---- Collection Callout ---- */
.callout-section { padding: 2rem 0; }

.callout {
  background: linear-gradient(135deg, rgba(253,79,0,0.12) 0%, rgba(253,79,0,0.04) 100%);
  border: 1px solid rgba(253,79,0,0.35);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.callout-icon { font-size: 2rem; flex-shrink: 0; margin-top: 0.1rem; }

.callout h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
  color: #fff;
}

.callout p { color: var(--muted); font-size: 0.95rem; }

/* ---- Quote Form ---- */
.form-section { background: var(--card-bg); }

.form-wrap {
  max-width: 680px;
  margin: 3rem auto 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.03em;
}

input, textarea, select {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(253,79,0,0.18);
}

textarea { min-height: 120px; resize: vertical; }

select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.file-note {
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.form-submit {
  margin-top: 1.75rem;
  text-align: center;
}

.form-submit .btn-primary {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer span { color: var(--accent); }

/* ---- Section headers ---- */
.section-header { margin-bottom: 3rem; }
.section-header .mono { margin-bottom: 0.5rem; display: block; }

/* ---- Utility ---- */
.text-center { text-align: center; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
  }

  .hero { padding: 2.5rem 0 3rem; }
}

@media (max-width: 480px) {
  .icon-grid { grid-template-columns: 1fr; }

  .nav-brand span { display: none; }
}
