/* Reese CNC Machine Shop — reesecnc.com */
/* Industrial, clean, professional aesthetic */

:root {
  --ink: #1a1a2e;
  --ink-light: #2d2d44;
  --steel: #4a4a6a;
  --steel-light: #8a8aaa;
  --aluminum: #e8e8f0;
  --aluminum-dark: #d0d0dc;
  --surface: #ffffff;
  --accent: #c44536;
  --accent-hover: #a8382a;
  --accent-subtle: #fdf2f0;
  --gold: #c9a94e;
  --gold-light: #f5edd6;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Consolas', 'Monaco', monospace;
  --max-width: 1200px;
  --header-height: 72px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(26, 26, 46, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 26, 46, 0.1);
  --shadow-lg: 0 12px 40px rgba(26, 26, 46, 0.12);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--aluminum);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--aluminum-dark);
  z-index: 100;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

nav a {
  color: var(--steel);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-left: 32px;
  transition: color var(--transition);
  position: relative;
}

nav a:hover { color: var(--ink); }

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

nav a:hover::after { transform: scaleX(1); }

/* Hero Section */
.hero {
  padding: calc(var(--header-height) + 80px) 24px 100px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(196, 69, 54, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(201, 169, 78, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.2rem;
  color: var(--aluminum);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 4px 15px rgba(196, 69, 54, 0.3);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 69, 54, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Section General */
section { padding: 80px 24px; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  color: var(--steel);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* Services */
.services { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--aluminum-dark);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

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

/* Machine Specs */
.specs { background: var(--aluminum); }

.specs-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.specs-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.specs-text .tagline {
  color: var(--steel);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.specs-list {
  list-style: none;
}

.specs-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--aluminum-dark);
  gap: 16px;
}

.specs-list li:last-child { border-bottom: none; }

.spec-label {
  font-size: 0.9rem;
  color: var(--steel);
}

.spec-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

.specs-card {
  background: var(--surface);
  border: 1px solid var(--aluminum-dark);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.specs-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--aluminum-dark);
}

/* About / Location */
.about { background: var(--surface); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.about-text p {
  color: var(--steel);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--aluminum);
  border-radius: var(--radius);
}

.detail-icon {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.detail-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--ink);
}

.detail-text p {
  font-size: 0.9rem;
  color: var(--steel);
  line-height: 1.5;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-light) 100%);
  color: white;
  text-align: center;
}

.contact .section-title { color: white; }
.contact .section-subtitle { color: var(--aluminum); margin: 0 auto 40px; }

.contact-methods {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-method {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px 32px;
  min-width: 200px;
  transition: all var(--transition);
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.contact-method .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}

.contact-method .value {
  font-size: 1rem;
  color: white;
}

/* Status Banner */
.status-banner {
  background: var(--gold-light);
  border: 1px solid rgba(201, 169, 78, 0.3);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  text-align: left;
}

.status-banner .icon { font-size: 1.3rem; }
.status-banner .text { color: var(--ink); font-size: 0.95rem; line-height: 1.5; }
.status-banner .text strong { color: var(--accent); }

/* Footer */
footer {
  background: var(--ink);
  color: var(--aluminum);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: white;
  margin-bottom: 8px;
}

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

.footer-tagline {
  color: var(--steel-light);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 24px auto;
  max-width: 400px;
}

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

/* Mobile */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero { padding: calc(var(--header-height) + 48px) 20px 64px; }
  section { padding: 56px 20px; }
  .section-title { font-size: 1.75rem; }

  .specs-content,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  nav a { margin-left: 20px; font-size: 0.85rem; }
  nav a:last-child { display: none; } /* hide contact link, it's in footer */

  .services-grid { grid-template-columns: 1fr; }

  .contact-methods { flex-direction: column; align-items: center; }
  .contact-method { width: 100%; max-width: 360px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 320px; justify-content: center; }

  .status-banner { flex-direction: column; text-align: center; }
}
