/* ============================================
   EDR infra & verkeer B.V. – Stylesheet
   ============================================ */

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

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

body {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c4192a;
  margin: 12px auto 0;
  border-radius: 2px;
}

.section-title--light {
  color: #fff;
}

.section-title--light::after {
  background: #c4192a;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: inherit;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.btn--red {
  background: #c4192a;
  color: #fff;
  padding: 14px 36px;
  font-size: 1rem;
  border-radius: 6px;
}

.btn--red:hover {
  background: #a3141f;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 10px 28px;
  font-size: 0.875rem;
  border-radius: 4px;
}

.btn--lg {
  padding: 16px 48px;
  font-size: 1.1rem;
  border-radius: 30px;
}

.btn--submit {
  padding: 14px 48px;
  font-size: 1rem;
  border-radius: 4px;
  width: 100%;
  max-width: 200px;
}

/* ============================
   HEADER
   ============================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #1a2744;
  height: 80px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
}

.header__logo {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__link {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.header__link:hover {
  color: #c4192a;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: background 0.2s;
}

.header__phone:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 600px;
  height: 85vh;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 39, 68, 0.55) 0%,
    rgba(26, 39, 68, 0.7) 50%,
    rgba(26, 39, 68, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero__title--edr {
  color: #fff;
}

.hero__title--sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.5em;
  font-weight: 500;
  display: block;
  letter-spacing: 1px;
}

.hero__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero__cta {
  border-radius: 6px;
  font-size: 1.1rem;
  padding: 16px 44px;
}

/* ============================
   SERVICES
   ============================ */
.services {
  padding: 80px 0;
  background: #f8f8f8;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #fff;
  border-radius: 10px;
  padding: 0;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-card__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__img svg {
  width: 100px;
  height: 100px;
  position: relative;
  z-index: 1;
}

.service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2744;
  margin: 24px 24px 12px;
}

.service-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
  margin: 0 24px 24px;
  flex-grow: 1;
}

.service-card .btn {
  margin-bottom: 28px;
}

.service-card__list {
  list-style: none;
  text-align: left;
  margin: 0 24px 24px;
  padding: 0;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.8;
}

.service-card__list li::before {
  content: '\2714';
  color: #c4192a;
  margin-right: 8px;
  font-weight: 700;
}

/* ============================
   WHY SECTION
   ============================ */
.why {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.why__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #1a2744 0%, #2a3f6a 100%);
}

.why__overlay {
  position: absolute;
  inset: 0;
  background: url('assets/why-bg.jpg') center / cover;
  opacity: 0;
}

.why__inner {
  position: relative;
  z-index: 2;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}

.why__item {
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 36px 24px;
  backdrop-filter: blur(4px);
}

.why__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.why__icon svg {
  width: 100%;
  height: 100%;
}

.why__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.why__text {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.7;
}

.why__cta {
  display: block;
  max-width: 420px;
  margin: 0 auto;
}

/* ============================
   CONTACT
   ============================ */
.contact {
  padding: 80px 0;
  background: #fff;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__heading {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 32px;
}

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

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  color: #333;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c4192a;
  box-shadow: 0 0 0 3px rgba(196, 25, 42, 0.1);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__status {
  font-size: 0.875rem;
  min-height: 20px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__details li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: #333;
}

.contact__details li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact__details li a {
  color: #333;
  transition: color 0.2s;
  line-height: 1.5;
}

.contact__details li a:hover {
  color: #c4192a;
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: #1a2744;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
  font-size: 0.875rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__logo {
  height: 56px;
  width: auto;
  margin-bottom: 16px;
}

.footer__desc {
  font-size: 0.825rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
  font-size: 0.825rem;
}

.footer__links a:hover {
  color: #c4192a;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.825rem;
  line-height: 1.5;
}

.footer__contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(255, 255, 255, 0.5);
}

.footer__contact li a,
.footer__contact li span {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer__contact li a:hover {
  color: #c4192a;
}

.footer__bottom {
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__kvk {
  color: rgba(255, 255, 255, 0.35);
}

/* ============================
   SERVICE PAGES
   ============================ */
.page-hero {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 39, 68, 0.7) 0%, rgba(26, 39, 68, 0.85) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.page-hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero__subtitle {
  font-size: 1.15rem;
  font-weight: 400;
  opacity: 0.85;
}

.page-content {
  padding: 64px 0 80px;
}

.page-content__intro {
  max-width: 800px;
  margin: 0 auto 48px;
}

.page-content__intro h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 16px;
}

.page-content__intro p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}

.page-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.page-content__block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 16px;
}

.page-content__block ul {
  list-style: none;
  padding: 0;
}

.page-content__block li {
  font-size: 0.9rem;
  color: #555;
  line-height: 2;
  padding-left: 24px;
  position: relative;
}

.page-content__block li::before {
  content: '\2714';
  color: #c4192a;
  font-weight: 700;
  position: absolute;
  left: 0;
}

.page-content__text {
  max-width: 800px;
  margin: 0 auto 48px;
}

.page-content__text h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 16px;
}

.page-content__text p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content__cta {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.page-content__cta h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: 12px;
}

.page-content__cta p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 968px) {
  .header__toggle {
    display: flex;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: #1a2744;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .header__nav.is-open {
    display: flex;
  }

  .header__link {
    font-size: 1rem;
    padding: 8px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .why__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 48px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .page-content__grid {
    grid-template-columns: 1fr;
  }

  .page-hero__title {
    font-size: 2rem;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .hero__tagline {
    font-size: 0.95rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: 500px;
    height: 80vh;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__tagline {
    font-size: 0.85rem;
    margin-bottom: 28px;
    letter-spacing: 2px;
  }

  .hero__cta {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .services,
  .why,
  .contact {
    padding: 60px 0;
  }

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

  .footer__bottom-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
