/* ═══════════════════════════════════════════════════════════════
   Schmitz AdCo – style.css
   Dark & Tech Theme · Neon Cyan Accents
═══════════════════════════════════════════════════════════════ */

/* ── VARIABLES ──────────────────────────────────────────────── */
:root {
  --bg:          #080c10;
  --bg-2:        #0d1117;
  --bg-3:        #111820;
  --border:      rgba(0, 255, 200, 0.12);
  --border-h:    rgba(0, 255, 200, 0.35);
  --accent:      #00ffc8;
  --accent-dim:  rgba(0, 255, 200, 0.15);
  --accent-glow: rgba(0, 255, 200, 0.4);
  --text:        #e2e8f0;
  --text-muted:  #7a8899;
  --text-dim:    #4a5568;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-mono:   'JetBrains Mono', 'Courier New', monospace;
  --radius:      8px;
  --radius-lg:   14px;
  --transition:  0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:      0 0 30px rgba(0, 255, 200, 0.08);
  --shadow-h:    0 0 40px rgba(0, 255, 200, 0.2);
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: #fff; }
ul { list-style: none; }
img, svg { display: block; }
input, textarea, select, button { font-family: inherit; }

/* ── UTILITY ────────────────────────────────────────────────── */
.container {
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.mono { font-family: var(--font-mono); font-size: 0.85em; }

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin-inline: auto;
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: var(--shadow-h);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-h);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-full { width: 100%; justify-content: center; }

.btn svg { width: 18px; height: 18px; }

/* ── NAVBAR ─────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 12, 16, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: min(1200px, 100% - 3rem);
  margin-inline: auto;
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
}

.logo-bracket { color: var(--text-dim); }
.logo-accent  { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent-dim) !important;
  color: var(--accent) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-h);
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #000 !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── HERO BG IMAGE ──────────────────────────────────────────── */
.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('images/schmitz-adco-hero-bg.jpg') center center / cover no-repeat;
  opacity: 0.18;
  filter: saturate(0.6);
  z-index: 0;
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#heroCanvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(900px, 100% - 3rem);
  margin-inline: auto;
  padding-top: 68px;
}

.hero-pretitle {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s 0.2s forwards;
}

.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s 0.4s forwards;
}

.typed-wrapper {
  display: inline-block;
  color: var(--accent);
  position: relative;
}

.cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 580px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.6s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.6s 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 1;
  opacity: 0;
  animation: fadeIn 1s 1.4s forwards;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

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

.service-card--featured {
  border-color: rgba(0, 255, 200, 0.25);
  background: linear-gradient(135deg, var(--bg-2) 60%, rgba(0, 255, 200, 0.04));
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-tags li {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 10px;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── PORTFOLIO ──────────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.case-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color var(--transition), box-shadow var(--transition);
}

.case-card:hover {
  border-color: var(--border-h);
  box-shadow: var(--shadow-h);
}

.case-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.case-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-h);
  border-radius: 4px;
  padding: 3px 10px;
}

.case-industry {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.case-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.case-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--bg-2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-top: 4px;
}

.case-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.result-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
}

.result-label {
  font-size: 0.68rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.case-tech span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
}

/* ── ABOUT ──────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Portrait */
.about-portrait {
  position: relative;
  margin-bottom: 24px;
}

.about-portrait img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  filter: grayscale(20%) brightness(0.9);
  transition: filter var(--transition);
}

.about-portrait:hover img {
  filter: grayscale(0%) brightness(1);
}

.portrait-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 12, 16, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-h);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent);
}

/* Terminal */
.about-terminal {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  background: #030507;
  box-shadow: var(--shadow-h);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #111820;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot--red    { background: #ff5f56; }
.dot--yellow { background: #ffbd2e; }
.dot--green  { background: #27c93f; }

.terminal-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
  margin-right: auto;
  transform: translateX(-20px);
}

.terminal-body {
  padding: 24px;
  font-size: 0.82rem;
  line-height: 1.9;
  color: #a0aec0;
}

.t-prompt { color: var(--accent); margin-right: 8px; }
.t-cmd    { color: #fff; }
.t-out    { color: #7a8899; }
pre.t-out {
  white-space: pre;
  color: #7a8899;
  margin: 4px 0 8px;
}
.t-cursor {
  display: inline-block;
  color: var(--accent);
  animation: blink 1s step-end infinite;
}

/* Skills */
.about-text { }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-text strong { color: var(--accent); font-weight: 600; }

.about-skills {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-item { }

.skill-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.skill-bar {
  height: 4px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), rgba(0,255,200,0.4));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-fill.animated { width: var(--w); }

/* ── CONTACT ────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.93rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2300ffc8' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-group select option { background: var(--bg-3); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 8px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: var(--bg-2);
}
.ci-icon svg { width: 20px; height: 20px; }

.ci-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.ci-value {
  color: var(--text);
  font-size: 0.9rem;
}

a.ci-value:hover { color: var(--accent); }

.contact-availability {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(0, 255, 200, 0.05);
  border: 1px solid rgba(0, 255, 200, 0.2);
  border-radius: var(--radius);
  margin-top: 8px;
}

.avail-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

.contact-availability p {
  font-size: 0.85rem;
  color: var(--accent);
  font-family: var(--font-mono);
}

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-links a:hover { color: var(--accent); }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.8); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 4px var(--accent); }
  50%       { box-shadow: 0 0 12px var(--accent); }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: 1; }
  .about-text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(8, 12, 16, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    backdrop-filter: blur(20px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

  .form-row { grid-template-columns: 1fr; }

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

  .footer-inner { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .section { padding: 70px 0; }
  .about-terminal { font-size: 0.73rem; }
  pre.t-out { font-size: 0.7rem; }
}
