/* ============================================================
   Eddy Eagle Trucking — front-end styles
   Dark / gold American-trucking theme, ported from the design mockup.
   ============================================================ */

:root {
	--gold: #c6a05a;
	--gold-light: #dcbb75;
	--ink: #0f0f11;
	--panel: #16161a;
	--panel-2: #0b0b0d;
	--text: #ececee;
	--text-dim: #d6d6db;
	--text-mute: #9c9ca3;
	--border: rgba(255, 255, 255, 0.07);
	--border-gold: rgba(198, 160, 90, 0.28);
	--font-display: 'Anton', sans-serif;
	--font-heading: 'Oswald', sans-serif;
	--font-body: 'Barlow', sans-serif;
	--max-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--ink);
	color: var(--text);
	font-family: var(--font-body);
	-webkit-font-smoothing: antialiased;
	line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
::selection { background: var(--gold); color: #12100b; }
button { font-family: inherit; }

/* Horizontal gutter only — .wrap is combined with component classes that
   own their vertical padding, so never set padding-top/bottom here. */
.wrap { max-width: var(--max-width); margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.kicker {
	font-family: var(--font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3em;
	color: var(--gold);
	font-size: 13px;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 14px;
	padding: 15px 30px;
	border: none;
	cursor: pointer;
	border-radius: 2px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--gold); color: #12100b; }
.btn--primary:hover { background: var(--gold-light); color: #12100b; }
.btn--outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.35); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--ghost-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn--ghost-gold:hover { background: var(--gold); color: #12100b; }

/* ---------------- Header ---------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(15, 15, 17, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-gold);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: nowrap; /* logo left + menu right on one row, never stacked */
	padding-top: 14px;
	padding-bottom: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__mark {
	width: 42px; height: 42px;
	border: 2px solid var(--gold);
	display: flex; align-items: center; justify-content: center;
	transform: rotate(45deg);
	flex-shrink: 0;
}
.brand__mark span {
	transform: rotate(-45deg);
	font-family: var(--font-display);
	font-size: 20px;
	color: var(--gold);
	line-height: 1;
}
.brand__text { line-height: 1; }
.brand__name {
	display: block;
	font-family: var(--font-display);
	font-size: 22px;
	letter-spacing: 0.02em;
	background: linear-gradient(180deg, #fff, #9a9aa2);
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.brand__tagline {
	display: block;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.42em;
	color: var(--gold);
	text-transform: uppercase;
	margin-top: 1px;
}
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; justify-content: flex-end; }
.site-nav__item {
	position: relative;
	font-family: var(--font-heading);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	font-size: 12.5px;
	padding: 8px 12px;
	color: #c9c9cf;
	white-space: nowrap;
}
.site-nav__item:hover { color: #fff; }
.site-nav__item.is-active { color: #fff; }
.site-nav__item.is-active::after {
	content: '';
	position: absolute; left: 12px; right: 12px; bottom: 2px;
	height: 2px; background: var(--gold);
}

/* ---------------- Hamburger toggle + mobile nav panel ---------------- */
.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: none;
	border: 1px solid var(--border-gold);
	border-radius: 2px;
	cursor: pointer;
	flex-shrink: 0;
}
.nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--gold);
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	display: none;
	flex-direction: column;
	border-top: 1px solid var(--border-gold);
	background: rgba(15, 15, 17, 0.98);
	padding: 10px 0 18px;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
}
.mobile-nav .site-nav__item {
	display: block;
	font-size: 15px;
	padding: 13px 32px;
	white-space: normal;
}
.mobile-nav .site-nav__item.is-active { color: var(--gold); }
.mobile-nav .site-nav__item.is-active::after { display: none; }

@media (max-width: 1199px) {
	.site-header .site-nav { display: none; }
	.nav-toggle { display: flex; }
	.mobile-nav:not([hidden]) { display: flex; }
}

/* ---------------- Hero (home) ---------------- */
.hero { position: relative; min-height: 84vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero__media.is-empty { background: linear-gradient(160deg, var(--panel), var(--ink)); }
.hero__scrim {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(15,15,17,0.55) 0%, rgba(15,15,17,0.15) 40%, rgba(15,15,17,0.92) 100%);
	pointer-events: none;
}
.hero__content { position: relative; width: 100%; padding: 0 32px 68px; max-width: var(--max-width); margin: 0 auto; }
.hero__title {
	font-family: var(--font-display);
	font-size: clamp(44px, 7vw, 92px);
	line-height: 0.95;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	max-width: 16ch;
	margin: 14px 0 0;
	text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__text { max-width: 56ch; margin-top: 20px; font-size: 18px; color: var(--text-dim); font-weight: 300; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------------- Sections ---------------- */
.section { padding-top: 56px; padding-bottom: 40px; }
.section--tight { padding-top: 40px; padding-bottom: 40px; }
.section-title {
	font-family: var(--font-display);
	font-size: clamp(30px, 4vw, 48px);
	text-transform: uppercase;
	margin: 8px 0 0;
	max-width: 20ch;
}
.section-lead { max-width: 60ch; color: var(--text-mute); margin-top: 14px; font-weight: 300; font-size: 16px; }

/* ---------------- USP grid ---------------- */
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 22px; padding: 84px 0 0; }
.usp-card { background: var(--panel); border: 1px solid var(--border); border-top: 2px solid var(--gold); padding: 28px 26px; }
.usp-card__stat { font-family: var(--font-display); font-size: 34px; color: var(--gold); line-height: 1; }
.usp-card__title { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; margin-top: 10px; }
.usp-card__text { color: var(--text-mute); font-size: 14.5px; margin-top: 8px; font-weight: 300; }

/* ---------------- Link / highlight cards ---------------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 22px; margin-top: 34px; }
.link-card { background: var(--panel); border: 1px solid var(--border); overflow: hidden; transition: border-color 0.15s ease; }
.link-card:hover { border-color: rgba(198,160,90,0.5); }
.link-card__media { position: relative; height: 220px; }
.link-card__media img { width: 100%; height: 100%; object-fit: cover; }
.link-card__media.is-empty { background: linear-gradient(160deg, #1c1c21, var(--ink)); }
.link-card__body { padding: 22px 24px; }
.link-card__title { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 18px; }
.link-card__text { color: var(--text-mute); font-size: 14.5px; margin-top: 6px; font-weight: 300; }
.link-card__cta { color: var(--gold); font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; margin-top: 14px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-top: 40px; }
.cta-band__inner { max-width: 1000px; margin: 0 auto; padding: 72px 32px; text-align: center; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; max-width: 22ch; margin: 0 auto; }
.cta-band__text { color: var(--text-mute); font-size: 17px; margin-top: 16px; max-width: 58ch; margin-left: auto; margin-right: auto; font-weight: 300; }
.cta-band .btn { margin-top: 28px; }

/* ---------------- Inner page hero band ---------------- */
.page-hero { position: relative; height: 340px; overflow: hidden; display: flex; align-items: flex-end; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media.is-empty { background: linear-gradient(160deg, var(--panel), var(--ink)); }
.page-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,15,17,0.4), rgba(15,15,17,0.92)); pointer-events: none; }
.page-hero__content { position: relative; width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 32px 40px; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(38px, 6vw, 72px); text-transform: uppercase; line-height: 0.95; margin: 0; }

.page-lead { max-width: 70ch; font-size: 18px; color: var(--text-dim); font-weight: 300; }

/* ---------------- Truck grid ---------------- */
.truck-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 26px; margin-top: 44px; }
.truck-card { background: var(--panel); border: 1px solid var(--border); overflow: hidden; }
.truck-card__media { position: relative; height: 300px; }
.truck-card__media img { width: 100%; height: 100%; object-fit: cover; }
.truck-card__media.is-empty { background: linear-gradient(160deg, #1c1c21, var(--ink)); }
.truck-card__body { padding: 26px; }
.truck-card__era { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); font-size: 13px; }
.truck-card__name { font-family: var(--font-display); font-size: 28px; text-transform: uppercase; margin-top: 4px; }
.truck-card__note { color: var(--text-mute); font-size: 15px; margin-top: 10px; font-weight: 300; }

/* ---------------- Car grid ---------------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; margin-top: 44px; }
.car-card { background: var(--panel); border: 1px solid var(--border); overflow: hidden; }
.car-card__media { position: relative; height: 210px; }
.car-card__media img { width: 100%; height: 100%; object-fit: cover; }
.car-card__media.is-empty { background: linear-gradient(160deg, #1c1c21, var(--ink)); }
.car-card__body { padding: 20px 22px; }
.car-card__meta { display: flex; align-items: center; gap: 10px; }
.car-card__swatch { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); flex-shrink: 0; }
.car-card__year { font-family: var(--font-display); font-size: 22px; color: var(--gold); }
.car-card__name { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 17px; margin-top: 8px; }
.car-card__color { color: var(--text-mute); font-size: 14px; margin-top: 4px; font-weight: 300; }

/* ---------------- Split layout (text + media) ---------------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 48px; align-items: center; }
.split__media { height: 440px; border-radius: 4px; overflow: hidden; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media.is-empty { background: linear-gradient(160deg, var(--panel), var(--ink)); }

.tag-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.tag {
	border: 1px solid rgba(198,160,90,0.4); color: var(--gold);
	font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em;
	font-size: 12.5px; padding: 8px 16px;
}

/* ---------------- Gallery ---------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery-item { position: relative; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item.is-empty { background: linear-gradient(160deg, #1c1c21, var(--ink)); display: flex; align-items: center; justify-content: center; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------- Trailers ---------------- */
.trailer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 18px; margin-top: 40px; }
.trailer-card {
	background: var(--panel); border: 1px solid var(--border); border-left: 2px solid var(--gold);
	padding: 24px 22px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between;
}
.trailer-card__n { font-family: var(--font-display); font-size: 20px; color: rgba(198,160,90,0.4); }
.trailer-card__name { font-family: var(--font-heading); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 16px; margin-top: 16px; }

.note-box {
	background: var(--panel); border: 1px solid var(--border); padding: 32px; margin-top: 32px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.note-box__text { font-size: 16px; color: var(--text-dim); font-weight: 300; max-width: 52ch; }

/* ---------------- Stats (Duurzaam) ---------------- */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box { background: var(--panel); border: 1px solid var(--border); border-top: 2px solid var(--gold); padding: 26px 22px; }
.stat-box__value { font-family: var(--font-display); font-size: 44px; color: var(--gold); line-height: 1; }
.stat-box__label { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; font-size: 13px; color: var(--text-mute); margin-top: 6px; }
.stat-media { grid-column: 1 / -1; position: relative; height: 200px; border-radius: 4px; overflow: hidden; }
.stat-media img { width: 100%; height: 100%; object-fit: cover; }
.stat-media.is-empty { background: linear-gradient(160deg, #1c1c21, var(--ink)); }

/* ---------------- Quote block (Wie zijn wij) ---------------- */
.quote-block { border-left: 2px solid var(--gold); padding-left: 22px; margin-top: 34px; }
.quote-block p { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); text-transform: uppercase; line-height: 1.1; margin: 0; }

/* ---------------- Contact ---------------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 44px; margin-top: 44px; }
.contact-details { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.contact-detail__label { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--text-mute); }
.contact-detail__value { font-family: var(--font-display); font-size: 26px; margin-top: 4px; }
.contact-detail__value--email { font-family: var(--font-heading); font-size: 20px; margin-top: 4px; display: inline-block; }
.contact-form { background: var(--panel); border: 1px solid var(--border); padding: 32px; }
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-fields input, .form-fields textarea {
	background: var(--ink); border: 1px solid rgba(255,255,255,0.12); color: var(--text);
	font-family: var(--font-body); font-size: 15px; padding: 13px 15px; outline: none; width: 100%;
}
.form-fields textarea { resize: vertical; }
.form-message { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; text-align: center; padding: 10px 0 0; }
.form-message--success { color: var(--gold); }
.form-message--error { color: #d9776a; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--panel-2); border-top: 1px solid var(--border-gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 36px; padding-top: 52px; padding-bottom: 40px; }
.footer-brand {
	font-family: var(--font-display); font-size: 24px;
	background: linear-gradient(180deg, #fff, #9a9aa2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-col__title { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--gold); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; align-items: flex-start; }
/* Footer links come from the same menu walker as the header nav, so undo
   the header pill styling here — the design uses plain small links. */
.footer-nav .site-nav__item {
	color: #c9c9cf;
	font-size: 14px;
	font-weight: 300;
	font-family: var(--font-body);
	text-transform: none;
	letter-spacing: 0;
	padding: 0;
	white-space: normal;
}
.footer-nav .site-nav__item:hover { color: var(--gold); }
.footer-nav .site-nav__item.is-active { color: #c9c9cf; }
.footer-nav .site-nav__item.is-active::after { display: none; }
.footer-col p { color: var(--text-mute); font-size: 13px; font-weight: 300; margin-top: 14px; }
.footer-email { display: block; margin-top: 14px; font-size: 15px; }

/* ---------------- Generic page fallback ---------------- */
.generic-page { padding-top: 64px; padding-bottom: 64px; }
.generic-page .entry-content { max-width: 780px; font-size: 17px; color: var(--text-dim); font-weight: 300; }
.generic-page .entry-content h1, .generic-page .entry-content h2 {
	font-family: var(--font-display); text-transform: uppercase; color: var(--text);
}

/* ---------------- Mobile polish ---------------- */
@media (max-width: 768px) {
	.hero { min-height: 70vh; }
	.hero__content { padding-bottom: 48px; }
	.hero__text { font-size: 16px; }
	.hero__actions .btn { padding: 13px 22px; font-size: 13px; }
	.usp-grid { padding-top: 56px; }
	.section { padding-top: 44px; padding-bottom: 32px; }
	.page-hero { height: 260px; }
	.split { gap: 32px; }
	.split__media { height: 300px; }
	.cta-band__inner { padding: 52px 24px; }
	.contact-form { padding: 22px; }
	.note-box { padding: 24px; }
	.note-box .btn { width: 100%; justify-content: center; }
	.footer-grid { padding-top: 40px; padding-bottom: 32px; }
}

@media (max-width: 600px) {
	.wrap { padding-left: 20px; padding-right: 20px; }
	.hero__content, .page-hero__content { padding-left: 20px; padding-right: 20px; }
	.brand__name { font-size: 19px; }
	.brand__tagline { font-size: 10px; letter-spacing: 0.32em; }
	.brand__mark { width: 36px; height: 36px; }
	.brand__mark span { font-size: 17px; }
	.gallery-grid { grid-template-columns: 1fr; }
	.truck-card__media { height: 230px; }
}
