/*
Theme Name: FTCars
Theme URI: https://ftcars.nl
Author: FTCars
Description: Een sportieve one-page WordPress-website voor FTCars.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ftcars
*/

:root {
  --red: #e30613;
  --red-dark: #b9000a;
  --black: #050505;
  --panel: #111113;
  --panel-light: #19191c;
  --white: #ffffff;
  --muted: #b6b6bb;
  --line: rgba(255, 255, 255, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 96px 0; }
.eyebrow { margin: 0 0 12px; color: #ff3943; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; font-family: Montserrat, Inter, Arial, sans-serif; line-height: 1.08; }
h1 { max-width: 820px; margin-bottom: 20px; font-size: clamp(2.7rem, 7vw, 5.8rem); letter-spacing: -.055em; }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 3.55rem); letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 1.15rem; }
p { margin-top: 0; }
.muted { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--red); box-shadow: 0 10px 30px rgba(227, 6, 19, .22); }
.btn-primary:hover, .btn-primary:focus-visible { background: #f01925; }
.btn-ghost { border-color: rgba(255,255,255,.35); background: rgba(0,0,0,.28); backdrop-filter: blur(8px); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: #fff; background: rgba(255,255,255,.08); }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5,5,5,.88);
  backdrop-filter: blur(14px);
}
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 28px; }
.brand img { width: 178px; height: 58px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 700; }
.nav-links > a:not(.btn) { color: #d7d7da; }
.nav-links > a:not(.btn):hover { color: #fff; }
.nav-links .btn { min-height: 44px; padding: 10px 18px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 5px; color: #fff; background: transparent; font-size: 1.4rem; cursor: pointer; }

.hero { position: relative; display: grid; min-height: 94vh; align-items: end; overflow: hidden; padding: 160px 0 90px; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.93) 0%, rgba(0,0,0,.67) 47%, rgba(0,0,0,.22) 100%), linear-gradient(0deg, #050505 0%, transparent 30%); }
.hero-content { position: relative; z-index: 2; }
.hero-copy { max-width: 690px; color: #d0d0d4; font-size: clamp(1rem, 2vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #e4e4e7; font-size: .9rem; font-weight: 700; }
.hero-note::before { width: 30px; height: 2px; content: ''; background: var(--red); }

.benefits { position: relative; z-index: 3; margin-top: -34px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--panel); box-shadow: 0 25px 55px rgba(0,0,0,.35); }
.benefit { min-height: 190px; padding: 34px; border-right: 1px solid var(--line); }
.benefit:last-child { border-right: 0; }
.benefit-number { display: inline-grid; width: 34px; height: 34px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(227,6,19,.5); border-radius: 50%; color: #ff3943; font-size: .75rem; font-weight: 900; }
.benefit p { margin-bottom: 0; color: var(--muted); font-size: .94rem; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.about-mark { position: relative; min-height: 430px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 50% 40%, #2c2c31 0, #111114 46%, #070708 75%); }
.about-mark::before { position: absolute; top: -35%; right: -15%; width: 360px; height: 600px; content: ''; transform: rotate(25deg); background: linear-gradient(90deg, transparent, rgba(227,6,19,.22), transparent); }
.about-mark img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 60px; object-fit: contain; }
.about-text { max-width: 610px; }
.about-text p { color: var(--muted); font-size: 1.07rem; }

.promise { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(110deg, #0e0e10 0%, #181719 60%, #260305 100%); }
.promise::after { position: absolute; right: -120px; bottom: -180px; width: 520px; height: 520px; border: 90px solid rgba(227,6,19,.08); border-radius: 50%; content: ''; }
.promise-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
.promise-badge { display: grid; min-height: 310px; place-items: center; border: 1px solid rgba(227,6,19,.38); background: rgba(0,0,0,.25); text-align: center; }
.promise-badge strong { display: block; color: var(--red); font-family: Montserrat, sans-serif; font-size: clamp(4rem, 10vw, 7rem); line-height: .9; }
.promise-badge span { display: block; margin-top: 16px; font-size: .86rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }

.tradein { text-align: center; }
.tradein-card { max-width: 920px; margin: 0 auto; padding: clamp(38px, 7vw, 76px); border: 1px solid var(--line); background: var(--panel); }
.tradein-card p { max-width: 650px; margin: 0 auto 30px; color: var(--muted); }

.contact-strip { border-top: 1px solid var(--line); background: var(--red); }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 135px; }
.contact-inner h2 { margin: 0 0 5px; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.contact-inner p { margin: 0; color: rgba(255,255,255,.82); }
.contact-inner .btn { color: #111; background: #fff; }

.site-footer { padding: 55px 0 28px; background: #020202; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; }
.footer-logo { width: 210px; margin-bottom: 14px; }
.footer-title { margin-bottom: 16px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: grid; gap: 8px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); color: #77777d; font-size: .8rem; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { position: fixed; top: 78px; right: 0; bottom: 0; left: 0; display: none; align-items: stretch; padding: 36px 22px; background: #070707; flex-direction: column; font-size: 1.15rem; }
  .nav-links.open { display: flex; }
  .nav-links .btn { margin-top: 8px; }
  .benefit-grid, .about-grid, .promise-inner, .footer-grid { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: 1px solid var(--line); }
  .benefit:last-child { border-bottom: 0; }
  .about-mark { min-height: 320px; }
  .promise-inner { gap: 36px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 72px 0; }
  .brand img { width: 145px; }
  .hero { min-height: 820px; padding-bottom: 80px; }
  .hero-overlay { background: linear-gradient(0deg, rgba(0,0,0,.98) 0%, rgba(0,0,0,.64) 68%, rgba(0,0,0,.28) 100%); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .benefits { margin-top: -25px; }
  .benefit { min-height: 0; padding: 28px; }
  .about-mark img { padding: 35px; }
  .contact-inner { align-items: stretch; padding-block: 32px; flex-direction: column; }
  .contact-inner .btn { width: 100%; }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
