/* FH Alu Metaalbewerking — site styles */

:root {
  --black: #111214;
  --near-black: #17181b;
  --orange: #ef7d1f;
  --orange-dark: #d96a10;
  --grey-bg: #f2f2f2;
  --grey-border: #e2e2e2;
  --text-dark: #1a1a1a;
  --text-muted: #5c5c5c;
  --max-width: 1200px;
  --heading-font: "Oswald", "Arial Narrow", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial", "Helvetica Neue", Helvetica, sans-serif;
  color: var(--text-dark);
  background: #fff;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4,
.section-title,
.btn,
.main-nav a {
  font-family: var(--heading-font);
}

.section-title {
  text-align: center;
  color: #fff;
  font-size: 2.1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}

.section-title--dark {
  color: var(--text-dark);
}

.section-title--left {
  text-align: left;
  padding-bottom: 14px;
}

.section-title--left::after {
  left: 0;
  transform: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-orange {
  background: var(--orange);
  color: #fff;
}

.btn-orange:hover {
  background: var(--orange-dark);
}

.btn-dark {
  background: rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.btn-dark:hover {
  background: rgba(0, 0, 0, 0.8);
}

.btn-outline {
  background: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background: var(--text-dark);
  color: #fff;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 128px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 104px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: #fff;
  font-size: 0.85rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--orange);
  border-color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.85) 38%, rgba(10, 10, 10, 0.35) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
}

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

.hero-kicker {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0 0 18px;
  position: relative;
  padding-bottom: 18px;
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--orange);
}

.hero p {
  color: #d8d8d8;
  margin: 0 0 16px;
}

.hero .highlight {
  color: var(--orange);
  font-weight: bold;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* Product / project grids */
.section {
  padding: 70px 0;
}

.section--light {
  background: var(--grey-bg);
}

.section--dark {
  background: #1c1d1f;
}

.section--white {
  background: #fff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: #fff;
  border: 1px solid var(--grey-border);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 16px 18px 18px;
}

.card-body h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}

.card-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  min-height: 2.6em;
}

.section-footer {
  text-align: center;
  margin-top: 36px;
}

/* Projects (dark grid, caption only) */
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px 12px;
  font-size: 0.8rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

/* Features strip */
.features {
  background: var(--grey-bg);
  padding: 50px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.feature-icon {
  color: var(--orange);
  margin-bottom: 14px;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
}

.feature h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 6px;
}

.feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Footer */
.site-footer {
  background: var(--near-black);
  color: #cfcfcf;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.3fr;
  gap: 40px;
}

.footer-brand .logo img {
  height: 70px;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #9a9a9a;
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--orange);
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.footer-contact a:hover {
  color: var(--orange);
}

.form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row .field {
  flex: 1;
}

.field {
  margin-bottom: 14px;
}

input,
textarea,
select {
  width: 100%;
  padding: 11px 14px;
  background: #232427;
  border: 1px solid #35363a;
  color: #fff;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.88rem;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef7d1f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

select option {
  background: #232427;
  color: #fff;
}

.file-label {
  display: block;
  font-size: 0.8rem;
  color: #b8b8b8;
  margin-bottom: 6px;
}

input[type="file"] {
  padding: 9px 12px;
  font-size: 0.82rem;
}

input[type="file"]::file-selector-button {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 6px 12px;
  margin-right: 10px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: #7c7c7c;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-status {
  font-size: 0.85rem;
  margin-top: 4px;
  min-height: 1.2em;
}

.form-status.success {
  color: #6cd07a;
}

.form-status.error {
  color: #e06a6a;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.footer-bottom {
  border-top: 1px solid #2b2c2f;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: #7c7c7c;
}

.footer-map {
  margin-top: 20px;
  border-radius: 4px;
  overflow: hidden;
  filter: grayscale(0.2) contrast(1.05);
}

.footer-map iframe {
  display: block;
}

/* Zo werkt het */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--black);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.step h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--grey-border);
  z-index: 0;
}

/* Over ons */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-text p {
  color: var(--text-muted);
  margin: 0 0 16px;
  font-size: 0.95rem;
}

.about-text .btn {
  margin-top: 8px;
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  z-index: 200;
  transition: transform 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
}

.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(90vw, 1000px);
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: #fff;
  margin-top: 16px;
  font-size: 0.9rem;
  text-align: center;
  max-width: 700px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-img {
  cursor: zoom-in;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-media {
    order: -1;
  }
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .steps::before {
    display: none;
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .main-nav {
    position: fixed;
    top: 128px;
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.open {
    max-height: 400px;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 10px 24px 20px;
  }

  .main-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .main-nav a {
    display: block;
    padding: 14px 0;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn-orange span {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

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

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