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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #000000;
  background: #ffffff;
  line-height: 1.6;
}

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

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

/* ===== Typography ===== */
h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border: none;
}

.btn:hover {
  opacity: 0.5;
}

/* ===== Full-screen Page Layout ===== */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 40px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ===== PAGE 1: Hero ===== */
.top-bar {
  background: #ffffff;
  padding: 5px 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.top-logo img {
  height: 80px;
  width: auto;
}

.hero-inner {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif; 
  letter-spacing: 3px; 
  font-size: 3rem
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color:#00000080;
}

.hero-nav-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 100%;
  background: linear-gradient(90deg, rgba(198, 0, 15, 0.7) 0%, rgba(198, 0, 15, 0) 100%);
  pointer-events: none;
}

.hero-nav {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.hero-nav a {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.3s ease;
}

.hero-nav a.nav-black {
  color: #000000;
}

.hero-nav a:hover {
  opacity: 0.5;
}

.hero-text {
  text-align: center;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hero-text p {
  font-size: 2.2rem;
  line-height: 1.0;
  font-weight: 900;
}

.btn-contact-hero {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background: #c6000f;
  color: #ffffff;
  padding: 12px 35px;
  font-size: 1.1rem;
  border-radius: 25px;
}

/* ===== PAGE 2: Over ===== */
.over-container {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.over-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.over-text h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #000000;
}

.over-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #000000;
}

.over-subtitle {
  font-style: italic;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #000000;
}

.over-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #000000;
  margin-bottom: 20px;
}

.over-image {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.over-photo {
  width: 280px;
  height: 340px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  overflow: hidden;
}

.over-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.over-name {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  margin-top: 15px;
  text-transform: uppercase;
  color: #000000;
}

/* ===== Logo Banner (Red Scrolling Carousel) ===== */
.logo-banner {
  background: #c6000f;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.logo-track {
  display: flex;
  flex-direction: row;
  width: max-content;
  animation: scrollLogos 25s linear infinite;
}

.logo-slide {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
  padding: 0 0px;
  flex-shrink: 0;
}

.partner-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  padding: 0 20px;
}

.partner-logo-big {
  height: 150px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.partner-logo-color {
  height: 100px;
  width: auto;
  object-fit: contain;
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== PAGE 3: Diensten ===== */
.page-diensten .page-content {
  text-align: center;
  max-width: 1400px;
  padding: 60px 60px;
}

.dienst-text {
  text-align: center;
}

.diensten-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #000000;
}

.diensten-grid {
  display: flex;
  flex-direction: row;
  gap: 35px;
  width: 100%;
  align-items: flex-start;
}

.dienst-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.dienst-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  /*border: 4px solid #191919;*/
  /*border-radius: 15px;*/
}

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

.dienst-card p {
  font-size: 0.9rem;
  margin-top: 18px;
  line-height: 1.7;
  color: #000000;
}

/* ===== PAGE 4: Contact ===== */
.page-contact {
  min-height: 100vh;
  background: url('cars-driving-street-aerial-view.jpg') center / cover no-repeat;
  position: relative;
}

.contact-bg-top {
  flex-shrink: 0;
  height: 150px;
  background-color:#00000080;
  /*border-bottom: 3px solid #191919;*/
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 80px;
  width: 100%;
  background: #ffffff;
  /*border-bottom: 3px solid #191919;*/
}

.contact-bg-bottom {
  flex-shrink: 0;
  height: 150px;
  position: relative;
  background-color:#00000080;
}

.contact-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 40px;
}

.contact-logo {
  display: flex;
  align-items: center;
}

.contact-logo img {
  height: 200px;
  width: auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #000000;
}

.contact-info p {
  font-size: 1.45rem;
  line-height: 1.6;
  color: #000000;
}

.btn-contact-bottom {
  background: #c6000f;
  color: #ffffff;
  padding: 12px 35px;
  font-size: 1.1rem;
  border-radius: 25px;
}

/* ===== Footer ===== */
.site-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  text-align: right;
  padding: 8px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.site-footer p {
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 300;
}

.site-footer a {
  color: #ffffff;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.site-footer a:hover {
  opacity: 0.5;
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 900px) {
  .over-container {
    flex-direction: column;
    align-items: center;
  }

  .over-text {
    text-align: center;
  }

  .over-image {
    flex: none;
  }

  .diensten-grid {
    flex-wrap: wrap;
  }

  .dienst-card {
    flex: 1 1 calc(50% - 35px);
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-info {
    text-align: center;
    align-items: center;
  }

  .hero-text p {
    font-size: 1.4rem;
  }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 600px) {
  .top-bar {
    padding: 10px 20px;
  }

  .top-logo img {
    height: 35px;
  }

  .hero-nav {
    top: 15px;
    left: 15px;
  }

  .hero-nav a {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .hero-title p {
  font-family: 'Bebas Neue', sans-serif; 
  letter-spacing: 3px; 
  font-size: 3rem
}

  .btn-contact-hero {
    bottom: 20px;
    right: 20px;
    padding: 10px 25px;
    font-size: 0.95rem;
  }

  .page-content {
    padding: 40px 20px;
  }

  .over-text h2 {
    font-size: 2rem;
  }

  .over-text h3 {
    font-size: 1.5rem;
  }

  .over-photo {
    width: 200px;
    height: 240px;
  }

  .diensten-title {
    font-size: 2rem;
  }

  .diensten-grid {
    flex-direction: column;
  }

  .dienst-card {
    flex: none;
    width: 100%;
  }

  .contact-content {
    padding: 30px 20px;
  }

  .contact-logo img {
    height: 80px;
  }

  .site-footer {
    padding: 12px 20px;
    justify-content: center;
  }

  .site-footer p {
    font-size: 0.75rem;
  }
}
