/* ========================================
   GG-BOUW — HERO CSS
   Full-Screen Hero, Parallax, Canvas,
   Hero Content & Stats Sectie
   ======================================== */

/* ---- Hero Wrapper ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--primary-dark);
}

/* Parallax achtergrond afbeelding */
.hero-bg {
  position: absolute;
  inset: -15%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Donkere overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  z-index: 1;
}

/* Gradient overlay extra diepte */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,24,39,0.2) 0%,
    rgba(17,24,39,0) 40%,
    rgba(17,24,39,0.5) 100%
  );
}

/* Canvas voor particles */
#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(6rem, 12vw, 10rem);
}

.hero-inner {
  max-width: 800px;
}

/* Hero labels */
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(232, 137, 26, 0.15);
  border: 1px solid rgba(232, 137, 26, 0.4);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease both;
  animation-delay: 0.2s;
}

/* Hero H1 */
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.4s;
}

/* Hero subtitel */
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.6s;
}

/* Hero buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 0.8s;
}

/* Hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: fadeInUp 0.9s ease both;
  animation-delay: 1s;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-badge i {
  color: var(--accent);
  font-size: 0.9rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease both;
  animation-delay: 1.2s;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.6);
  border-radius: 2px;
  animation: scrollDown 1.5s ease infinite;
}

@keyframes scrollDown {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ---- Stats Sectie ---- */
.stats-section {
  background: var(--white);
  padding-block: 0;
  position: relative;
  z-index: 10;
  margin-top: -2px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.stat-item {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: var(--light-gray);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.1rem;
}

.stat-suffix {
  font-size: 0.6em;
  color: var(--accent);
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---- Hero varianten voor inner pagina's ---- */
.page-hero-sm {
  min-height: auto;
  padding-block: clamp(6rem, 10vw, 8rem);
}

.page-hero-sm .hero-bg {
  inset: 0;
}

/* Hero met dienstspecifiek achtergrond */
.hero-dienst {
  min-height: 60vh;
}

/* Hero overlay gradient voor leesbaarheid */
.hero-gradient-left .hero-overlay {
  background: linear-gradient(
    to right,
    rgba(17,24,39,0.85) 0%,
    rgba(17,24,39,0.5) 60%,
    rgba(17,24,39,0.2) 100%
  );
}
