
/* =========================================================
   CDMOTORS - PREMIUM AUTOMOTIVE WEBSITE
   ========================================================= */

:root {
  --black: #0b0b0b;
  --dark: #111111;
  --panel: #181818;
  --gold: #92be65;
  --gold-light: #b2d88d;
  --white: #f4f2ed;
  --muted: #999999;
  --border: #292929;
  --font: 'DM Sans', sans-serif;
  --heading: 'Montserrat', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

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

button, input {
  font: inherit;
}

/* HEADER */

.site-header {
  position: relative;
  z-index: 100;
  background: #101010;
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1500px;
  min-height: 92px;
  margin: auto;
  padding: 0 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-name {
  font-family: var(--heading);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 3px;
}

.brand-name span {
  color: var(--gold);
}

.brand-subtitle {
  color: #888;
  font-size: 8px;
  letter-spacing: 3px;
  margin-top: 4px;
}

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

.nav-link {
  color: #c4c4c4;
  font-size: 13px;
  transition: color .25s;
}

.nav-link:hover {
  color: var(--gold);
}

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

.favorite-link {
  color: #ccc;
  font-size: 12px;
}

.heart-icon {
  color: var(--gold);
  font-size: 21px;
  vertical-align: middle;
  margin-right: 5px;
}

.header-contact {
  padding: 13px 18px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 12px;
  transition: .25s;
}

.header-contact:hover {
  background: var(--gold);
  color: var(--black);
}

.mobile-menu {
  display: none;
}

/* HERO */

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-image, linear-gradient(115deg, #252525, #101010 65%));
  background-size: cover;
  background-position: center;
}

/* Bewegende achtergrond */
.hero::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: var(--hero-image);
  background-size: cover;
  background-position: center;
  animation: heroZoom 9s ease-in-out infinite alternate;
  z-index: 0;
}

/* Donkere overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
    rgba(5,5,5,.96) 0%,
    rgba(5,5,5,.78) 42%,
    rgba(5,5,5,.12) 100%),
    linear-gradient(
      0deg,
      rgba(5,5,5,.75),
      transparent 30%
    );
  z-index: 1;
}

/* Zachte zoombeweging */
@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.20);
  }
}

/* Inhoud boven de overlays */
.hero > * {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%,
    rgba(146,190,101,.12),
    transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 8%;
}

.eyebrow,
.section-kicker,
.intro-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow span,
.gold-line {
  width: 35px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  margin: 28px 0 20px;
  font-family: var(--heading);
  font-size: clamp(45px, 6vw, 82px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -3px;
}

.hero-content > p {
  color: #c4c4c4;
  font-size: 16px;
  line-height: 1.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 35px;
}

.btn-gold,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 23px;
  font-size: 12px;
  font-weight: 700;
  transition: .25s;
}

.btn-gold {
  background: var(--gold);
  color: #111;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid #777;
  color: white;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-bottom {
  position: absolute;
  z-index: 3;
  bottom: 25px;
  left: 8%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 9px;
  letter-spacing: 2px;
}

/* INTRO */

.intro-section {
  max-width: 1300px;
  margin: auto;
  padding: 105px 55px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}

.intro-label {
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro-content h2 {
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 25px;
}

.intro-content p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  max-width: 700px;
}

/* COLLECTION */

.collection-section {
  padding: 80px max(55px, calc((100% - 1390px) / 2));
  background: #101010;
}

.motorcycle-section {
  background: #0b0b0b;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.section-heading h2 {
  font-family: var(--heading);
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 600;
  margin: 12px 0;
}

.section-heading h2 span {
  color: var(--gold);
}

.section-heading p {
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  color: var(--gold);
  font-size: 12px;
  white-space: nowrap;
  padding-bottom: 8px;
}

.text-link span {
  margin-left: 8px;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.vehicle-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid #292929;
  transition: transform .3s, border-color .3s;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  border-color: #695633;
}

.vehicle-image {
  display: block;
  height: 315px;
  position: relative;
  overflow: hidden;
  background: #222;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}

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

.image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #242424, #101010);
  color: #6e603f;
  font-family: var(--heading);
  font-size: 22px;
  letter-spacing: 6px;
}

.vehicle-type-label {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 8px 10px;
  background: rgba(0,0,0,.8);
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 2px;
}

.vehicle-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #111;
}

.vehicle-content {
  padding: 23px;
}

.vehicle-brand {
  color: var(--gold);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.vehicle-heading h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
}

.vehicle-subtitle {
  color: #888;
  font-size: 12px;
  margin: 0;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #303030;
}

.vehicle-specs span {
  color: #999;
  font-size: 11px;
}

.vehicle-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.vehicle-price {
  color: var(--white);
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 600;
}

.vehicle-more {
  color: var(--gold);
  font-size: 10px;
  white-space: nowrap;
}

.vehicle-more span {
  margin-left: 5px;
}

.empty-collection {
  padding: 55px 30px;
  border: 1px solid var(--border);
  background: #141414;
}

.empty-collection > span {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 2px;
}

.empty-collection h3 {
  font-family: var(--heading);
  font-size: 24px;
}

.empty-collection p {
  color: var(--muted);
  font-size: 13px;
}

/* BRAND STATEMENT */

.brand-statement {
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 25px;
  background:
    radial-gradient(ellipse at center, #252018 0%, #111 55%, #0b0b0b 100%);
}

.statement-content {
  max-width: 680px;
}

.statement-content h2 {
  font-family: var(--heading);
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.2;
  margin: 25px 0;
}

.statement-content h2 span {
  color: var(--gold);
}

.statement-content p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* FOOTER */

.site-footer {
  background: #101010;
  border-top: 1px solid var(--border);
}

.footer-main {
  max-width: 1390px;
  margin: auto;
  padding: 75px 55px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
}

.footer-brand > p {
  max-width: 340px;
  color: #999;
  font-size: 13px;
  line-height: 1.9;
  margin-top: 25px;
}

.footer-socials {
  display: flex;
  gap: 20px;
  margin-top: 22px;
}

.footer-socials a {
  color: var(--gold);
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-column h3 {
  font-family: var(--heading);
  font-size: 15px;
  margin: 0 0 10px;
}

.footer-column a,
.footer-column p {
  color: #999;
  font-size: 12px;
  line-height: 1.7;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1390px;
  margin: auto;
  padding: 25px 55px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: #777;
  font-size: 10px;
}

.footer-bottom > div {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* RESPONSIVE */

@media(max-width: 1100px) {
  .header-inner {
    padding: 0 25px;
  }

  .desktop-nav {
    gap: 18px;
  }

  .header-contact {
    display: none;
  }

  .collection-section {
    padding-left: 30px;
    padding-right: 30px;
  }

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

@media(max-width: 760px) {
  .header-inner {
    min-height: 76px;
    padding: 0 20px;
  }

  .desktop-nav,
  .header-actions {
    display: none;
  }

  .brand-name {
    font-size: 23px;
  }

  .mobile-menu {
    display: block;
    position: relative;
  }

  .mobile-menu summary {
    list-style: none;
    width: 42px;
    height: 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--gold);
  }

  .mobile-menu nav {
    position: absolute;
    top: 53px;
    right: -10px;
    width: 230px;
    background: #191919;
    border: 1px solid #333;
    padding: 12px;
    box-shadow: 0 15px 40px #000;
  }

  .mobile-menu nav a {
    display: block;
    padding: 14px 10px;
    color: #ddd;
    border-bottom: 1px solid #292929;
    font-size: 13px;
  }

  .hero {
    min-height: 590px;
  }

  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(5,5,5,.93),
      rgba(5,5,5,.5)
    );
  }

  .hero-content {
    padding: 65px 25px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 65px);
    letter-spacing: -2px;
  }

  .hero-bottom {
    left: 25px;
    right: 25px;
    font-size: 7px;
  }

  .hero-bottom span:last-child {
    display: none;
  }

  .intro-section {
    padding: 70px 25px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .collection-section {
    padding: 65px 20px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

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

  .vehicle-image {
    height: 315px;
  }

  .footer-main {
    padding: 60px 25px;
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

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

  .footer-bottom {
    padding: 25px;
    flex-direction: column;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
    gap: 15px;
  }
}

@media(max-width: 380px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn-gold,
  .btn-outline {
    width: 100%;
  }

  .vehicle-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
