/* ============================================================
   SGaee — grob.tech  |  Modern dark theme
   ============================================================ */

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

:root {
  --bg:        #000000;
  --bg-alt:    #080808;
  --surface:   #0f0f0f;
  --surface-2: #161616;
  --border:    #222222;
  --accent:    #fe8a02;
  --accent-dim:#c96c01;
  --accent-glow: rgba(254,138,2,0.15);
  --text:      #e8e8ec;
  --text-muted:#7a7a8c;
  --text-dim:  #4a4a58;
  --radius:    12px;
  --radius-lg: 20px;
  --font-body: Verdana, Geneva, sans-serif;
  --font-head: Verdana, Geneva, sans-serif;
  --max-w:     1400px;
  --nav-h:     68px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

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

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #000000;
  font-weight: 600;
}
.btn--primary:hover {
  background: #ff9a1f;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(254,138,2,0.35);
}

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

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.2s;
}
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  padding: 8px 20px;
  background: var(--accent);
  color: #000000 !important;
  border-radius: 7px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}
.nav__cta:hover {
  background: #ff9a1f !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(254,138,2,0.3);
}
.nav__cta::after { display: none !important; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 20%, rgba(254,138,2,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(254,138,2,0.04) 0%, transparent 60%);
}

/* subtle grid lines */
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 80%);
}

.hero__content {
  position: relative;
  text-align: center;
  padding: calc(var(--nav-h) + 40px) 20px 80px;
  max-width: 720px;
}

.hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(254,138,2,0.3);
  border-radius: 100px;
  background: rgba(254,138,2,0.07);
}

.hero__label--name {
  color: var(--text);
  text-transform: none;
  font-size: 13px;
  letter-spacing: clamp(0.05em, 0.45vw, 0.38em);
  border-color: rgba(255,255,255,0.15);
  background: transparent;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(44px, 7.5vw, 86px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}

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

.hero__sub {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--text);
  margin-bottom: 20px;
  font-weight: normal;
}

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

.hero__scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  animation: scrollLine 2s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section { padding: clamp(80px, 10vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__header--left { text-align: left; }

.section__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

.section__intro {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin-inline: auto;
}

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

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card:hover {
  border-color: rgba(254,138,2,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(254,138,2,0.06);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  color: var(--accent);
  margin-bottom: 24px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.service-card__desc {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-card__list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.list-link {
  color: inherit;
  border-bottom: 1px solid rgba(254,138,2,0.4);
  transition: color 0.2s, border-color 0.2s;
}
.list-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ============================================================
   SPECIALISATIES
   ============================================================ */
.specs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.spec-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s;
}
.spec-card:hover {
  border-color: rgba(254,138,2,0.25);
  transform: translateY(-2px);
}

.spec-card__icon {
  width: 40px; height: 40px;
  color: var(--accent);
  margin-bottom: 16px;
}
.spec-card__icon svg { width: 100%; height: 100%; }

.spec-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.spec-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

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

.about__text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about__text p:last-child { margin-bottom: 0; }
.about__text strong { color: var(--text); font-weight: 600; }

.about__visual {
  position: relative;
  width: 220px;
  height: 220px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin linear infinite;
}
.about__ring--1 {
  inset: 0;
  border-color: rgba(254,138,2,0.15);
  animation-duration: 20s;
}
.about__ring--2 {
  inset: 20px;
  border-color: rgba(254,138,2,0.1);
  animation-duration: 14s;
  animation-direction: reverse;
}
.about__ring--3 {
  inset: 40px;
  border-color: rgba(254,138,2,0.2);
  animation-duration: 8s;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about__logo-img {
  position: relative;
  width: 100px;
  height: auto;
  z-index: 1;
  opacity: 0.85;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  max-width: 680px;
  margin-inline: auto;
}

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

.contact__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 17px;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.contact__item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}
.contact__item:hover {
  border-color: rgba(254,138,2,0.3);
  color: var(--text);
  transform: translateX(4px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__copy {
  font-size: 13px;
  color: var(--text-dim);
}
.footer__nav {
  display: flex;
  gap: 24px;
}
.footer__nav a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color 0.2s;
}
.footer__nav a:hover { color: var(--text-muted); }

/* ============================================================
   ANIMATIONS — fade-in on scroll
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* stagger children */
.fade-in:nth-child(1) { transition-delay: 0.05s; }
.fade-in:nth-child(2) { transition-delay: 0.15s; }
.fade-in:nth-child(3) { transition-delay: 0.25s; }
.fade-in:nth-child(4) { transition-delay: 0.35s; }
.fade-in:nth-child(5) { transition-delay: 0.45s; }
.fade-in:nth-child(6) { transition-delay: 0.55s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__visual {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(0,0,0,0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 18px; }

  .nav__burger { display: flex; }

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

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__nav { justify-content: center; }
}

@media (max-width: 480px) {
  .service-card { padding: 28px 22px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
}
