/* Forge template: port of the original one-page contractor design. Accent colour flows through --red. */
:root {
  --bg: #070707;
  --bg-soft: #111111;
  --bg-card: #171717;
  --text: #ffffff;
  --muted: #b8b8b8;
  --muted-2: #7f7f7f;
  --red: #c92d36;
  --red-dark: color-mix(in srgb, var(--red) 71%, #000);
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --max: 1180px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: 0.25s ease;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.28), transparent);
}

.topbar.scrolled {
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, var(--red), var(--red-dark));
  display: grid;
  place-items: center;
  box-shadow: 0 16px 35px color-mix(in srgb, var(--red) 24%, transparent);
  position: relative;
  isolation: isolate;
}

/* Text logo: the business initial in the red mark (replaces the original's logo shape). */
.brand-mark {
  color: #050505;
  font-size: 1.5rem;
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark span {
  opacity: 0.95;
}

.brand-text {
  display: grid;
  line-height: 1;
}

.brand-text strong {
  font-size: 1.33rem;
  text-transform: uppercase;
}

.brand-text span {
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 12px;
}

.phone-link {
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 999px;
  color: #fff;
  font-weight: 750;
  background: rgba(255, 255, 255, 0.05);
}

.menu-btn {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.menu-btn span {
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
}

.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: 0.2s ease;
}

.menu-btn span::before {
  top: -7px;
}

.menu-btn span::after {
  top: 7px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.96);
  backdrop-filter: blur(16px);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel .container {
  padding: 18px 0 24px;
  display: grid;
  gap: 12px;
}

.mobile-panel a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 750;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: 0.22s ease;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 18px 38px color-mix(in srgb, var(--red) 25%, transparent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px color-mix(in srgb, var(--red) 34%, transparent);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-2px);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 130px 0 70px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.82) 34%, rgba(0,0,0,0.42) 70%, rgba(0,0,0,0.68) 100%),
    var(--hero-image, none) center/cover;
  z-index: -2;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: -1;
}

.hero-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 900;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

h1 {
  font-size: clamp(3.15rem, 12vw, 7.8rem);
  line-height: 0.9;
  letter-spacing: -0.085em;
  max-width: 880px;
  text-transform: uppercase;
}

h1 span {
  color: var(--red);
  display: block;
}

.hero p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.02rem, 2.4vw, 1.25rem);
  margin-top: 25px;
}

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

.hero-badges {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 38px;
  max-width: 760px;
}

.badge {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  backdrop-filter: blur(12px);
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.badge svg {
  flex: 0 0 auto;
  color: var(--red);
  margin-top: 2px;
}

.badge strong {
  display: block;
  line-height: 1.2;
}

.badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

section {
  padding: 86px 0;
  position: relative;
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2.25rem, 6vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-title span {
  color: var(--red);
}

.section-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 700px;
}

.about {
  background:
    radial-gradient(circle at 15% 5%, color-mix(in srgb, var(--red) 13%, transparent), transparent 30%),
    var(--bg);
}

.about-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.about-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.about-card h3 {
  font-size: 1.65rem;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

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

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check-list li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.84);
}

.check-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 950;
  font-size: 1.15rem;
  line-height: 1.3;
}

.about-image {
  min-height: 410px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 410px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.68), transparent 56%);
}

.image-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  background: rgba(0,0,0,0.68);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  backdrop-filter: blur(10px);
}

.image-label strong {
  display: block;
  font-size: 1.1rem;
}

.image-label span {
  color: var(--muted);
  font-size: 0.92rem;
}

.services {
  background: var(--bg-soft);
}

.services-grid {
  display: grid;
  gap: 18px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 250px;
  position: relative;
  overflow: hidden;
  transition: 0.22s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, color-mix(in srgb, var(--red) 17%, transparent), transparent 38%);
  opacity: 0;
  transition: 0.22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--red) 50%, transparent);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--red) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 28%, transparent);
  display: grid;
  place-items: center;
  color: var(--red);
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.service-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.035em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.portfolio-grid {
  display: grid;
  gap: 18px;
}

.project {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  position: relative;
  background: #151515;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.project img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project:hover img {
  transform: scale(1.05);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.08) 62%);
}

.project-content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
}

.project-tag {
  display: inline-flex;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.78rem;
  font-weight: 850;
  margin-bottom: 12px;
}

.project h3 {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
  margin-bottom: 7px;
}

.project p {
  color: var(--muted);
  max-width: 440px;
}

/* Filterknoppen projecten */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
  justify-content: center;
}

.filter-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.filter-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--red) 28%, transparent);
}

/* Badge voor aantal foto's */
.project-count {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.project-count svg {
  opacity: 0.9;
}

.project {
  cursor: pointer;
}

.project[hidden] {
  display: none !important;
}

/* Lege staat */
.portfolio-empty {
  text-align: center;
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--bg-card);
}

.portfolio-empty strong {
  display: block;
  color: #fff;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 6px 4px 14px;
  color: #fff;
}

.lightbox-title {
  display: grid;
  gap: 4px;
}

.lightbox-title strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.lightbox-title span {
  color: var(--muted);
  font-size: 0.88rem;
}

.lightbox-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.lightbox-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.lightbox-prev { left: 6px; }
.lightbox-next { right: 6px; }

.lightbox-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 4px 4px;
  scrollbar-width: thin;
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 6px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
}

.lightbox-thumb {
  flex: 0 0 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: 0.2s ease;
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--red);
}

.lightbox-thumb:hover {
  opacity: 1;
}

@media (min-width: 640px) {
  .lightbox-prev { left: 16px; }
  .lightbox-next { right: 16px; }
}

.cta-band {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--red) 92%, transparent), color-mix(in srgb, color-mix(in srgb, var(--red) 50%, #000) 92%, transparent)),
    var(--cta-image, none) center/cover;
  padding: 54px 0;
}

.cta-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 650px;
  margin-top: 10px;
}

.contact {
  background:
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--red) 12%, transparent), transparent 28%),
    var(--bg);
}

.contact-grid {
  display: grid;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 23px;
}

.contact-card small {
  display: block;
  color: var(--red);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 8px;
}

.contact-card a,
.contact-card strong {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  display: block;
}

.contact-card span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 2px;
}

.form {
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border-radius: 16px;
  padding: 14px 15px;
  outline: none;
  transition: 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: color-mix(in srgb, var(--red) 80%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 11%, transparent);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  color: var(--muted-2);
  font-size: 0.88rem;
  margin-top: 12px;
}

.form-feedback {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-feedback.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #4ade80;
}

.form-feedback.error {
  background: color-mix(in srgb, var(--red) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 38%, transparent);
  color: #f87171;
}

.form-feedback ul {
  margin: 6px 0 0 16px;
  padding: 0;
}

.form-feedback ul li {
  color: #f87171;
  margin-bottom: 4px;
}

.ijob-form-success,
.ijob-form-errors {
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.97rem;
  font-weight: 600;
  margin-bottom: 16px;
  list-style: none;
}

.ijob-form-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.38);
  color: #4ade80;
}

.ijob-form-errors {
  background: color-mix(in srgb, var(--red) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--red) 38%, transparent);
  color: #f87171;
}

.ijob-form-errors li {
  margin-bottom: 4px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #050505;
  padding: 32px 0;
}

.footer-inner {
  display: grid;
  gap: 18px;
  align-items: center;
}

.footer p {
  color: var(--muted-2);
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (min-width: 640px) {
  .hero-badges {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .form {
    padding: 30px;
  }
}

@media (min-width: 900px) {
  .menu-btn {
    display: none;
  }

  .nav-links,
  .nav-actions {
    display: flex;
  }

  .mobile-panel {
    display: none !important;
  }

  .about-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

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

  .portfolio-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .project.large {
    grid-row: span 2;
  }

  .cta-inner {
    grid-template-columns: 1fr auto;
  }

  .contact-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    min-height: 72px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .hero {
    padding-top: 116px;
  }

  .btn {
    width: 100%;
  }

  section {
    padding: 68px 0;
  }
}
