/*
Theme Name: AUTO-TECH V3.1
Theme URI: https://garage-autotech.be/
Author: Tristan Durand
Description: Reconstructie attempt 3.1
Version: 3.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: Garage Auto-Tech
*/

:root {
  --at-bg: #f2f1ed;
  --at-paper: #f8f7f3;
  --at-white: #fff;
  --at-ink: #101214;
  --at-dark: #0b0d0f;
  --at-dark-2: #161a1d;
  --at-muted: #6d7377;
  --at-line: #d8d8d2;
  --at-line-dark: rgba(255,255,255,.13);
  --at-accent: #e64132;
  --at-accent-dark: #c92f23;
  --at-max: 1320px;
  --at-display: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  --at-sans: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--at-ink); background: var(--at-bg); font-family: var(--at-sans); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.at-container { width: min(var(--at-max), calc(100% - 72px)); margin-inline: auto; }

/* Header */
.at-header { position: absolute; inset: 0 0 auto; z-index: 40; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.at-nav { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.at-brand { display: inline-flex; align-items: center; gap: 13px; }
.at-brand-mark { width: 48px; height: 48px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(255,255,255,.7); overflow: hidden; }
.at-brand-mark span { display: grid; place-items: center; font-weight: 900; font-size: 15px; }
.at-brand-mark span:first-child { color: var(--at-dark); background: #fff; }
.at-brand-copy { display: flex; flex-direction: column; line-height: 1; }
.at-brand-copy strong { font-size: 17px; letter-spacing: .09em; }
.at-brand-copy small { margin-top: 7px; font-size: 9px; letter-spacing: .28em; opacity: .55; }
.custom-logo { max-height: 66px; width: auto; }
.at-menu { display: flex; align-items: center; gap: 34px; margin: 0; padding: 0; list-style: none; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.at-menu a { opacity: .72; transition: opacity .2s ease; }
.at-menu a:hover { opacity: 1; }
.at-menu .at-nav-cta { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.45); opacity: 1; }
.at-menu-toggle { display: none; align-items: center; gap: 5px; color: #fff; background: transparent; border: 0; padding: 0; cursor: pointer; }
.at-menu-toggle span { width: 20px; height: 1px; background: currentColor; }
.at-menu-toggle em { margin-left: 7px; font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* Hero */
.at-hero { position: relative; min-height: 780px; height: 94vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--at-dark); }
.at-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(90deg, rgba(5,7,8,.95) 0%, rgba(5,7,8,.78) 48%, rgba(5,7,8,.35) 100%), var(--at-hero-image, linear-gradient(140deg, #1f2529 0%, #0a0c0e 55%, #202629 100%)); background-size: cover; background-position: center; transform: scale(1.015); }
.at-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 78% 35%, rgba(230,65,50,.14), transparent 25%); pointer-events: none; }
.at-hero-grid { position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 84px 84px; mask-image: linear-gradient(to right, #000 0, transparent 65%); }
.at-hero-watermark { position: absolute; right: -1vw; top: 12%; z-index: 1; font-family: var(--at-display); font-size: clamp(210px, 35vw, 620px); line-height: .8; letter-spacing: -.08em; color: rgba(255,255,255,.035); user-select: none; }
.at-hero-content { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1.2fr) 350px; gap: 90px; align-items: end; padding-top: 150px; padding-bottom: 95px; }
.at-hero-copy { max-width: 880px; }
.at-kicker, .at-section-label { margin: 0; display: flex; align-items: center; gap: 12px; color: var(--at-accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .19em; }
.at-kicker span { width: 46px; height: 1px; background: var(--at-accent); }
.at-hero h1 { margin: 20px 0 24px; font-family: var(--at-display); font-size: clamp(64px, 9vw, 138px); font-weight: 900; line-height: .74; letter-spacing: -.045em; transform: scaleX(.88); transform-origin: left center; }
.at-lead { max-width: 710px; margin: 0; color: rgba(255,255,255,.74); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.55; }
.at-hero-actions { margin-top: 38px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.at-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; min-height: 56px; padding: 0 20px 0 22px; border: 0; border-radius: 0; color: #fff; background: var(--at-accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.at-button span { font-size: 17px; }
.at-button:hover { background: var(--at-accent-dark); transform: translateY(-2px); }
.at-ghost-link { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 6px; }
.at-hero-panel { padding: 25px 0 0; border-top: 1px solid rgba(255,255,255,.3); }
.at-panel-label { display: block; margin-bottom: 20px; color: rgba(255,255,255,.44); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.at-panel-stat { display: grid; grid-template-columns: 105px 1fr; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.at-panel-stat strong { font-size: 30px; line-height: 1; }
.at-panel-stat span { color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.at-scroll { position: absolute; z-index: 5; left: 28px; bottom: 86px; display: flex; align-items: center; gap: 10px; transform: rotate(-90deg); transform-origin: left bottom; color: rgba(255,255,255,.45); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .18em; }
.at-scroll span { width: 36px; height: 1px; background: currentColor; }

/* trustbar */
.at-trustbar { background: var(--at-accent); color: #fff; overflow: hidden; }
.at-trustbar-inner { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .16em; white-space: nowrap; }
.at-trustbar i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.55); }

/* generic sections */
.at-section { padding: 150px 0; }
.at-section h2, .at-section-head h2, .at-workshop-card h2, .at-contact-intro h2 { margin: 14px 0 0; font-size: clamp(38px, 4.4vw, 64px); line-height: .95; letter-spacing: -.055em; font-weight: 730; }
.at-copy { color: #44494c; font-size: 16px; }
.at-copy p { margin: 0 0 18px; }
.at-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.75,.2,1); }
.at-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* about */
.at-about { background: var(--at-paper); }
.at-about-grid { display: grid; grid-template-columns: 1fr .88fr; gap: 110px; align-items: center; }
.at-about-copy h2 { max-width: 760px; }
.at-about-copy .at-copy { max-width: 660px; margin-top: 34px; columns: 1; }
.at-about-actions { margin-top: 34px; }
.at-text-link { display: inline-flex; align-items: center; gap: 22px; padding-bottom: 7px; border-bottom: 1px solid #aaa; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.at-text-link span { font-size: 18px; }
.at-about-media { position: relative; min-height: 660px; overflow: hidden; background: #1d2225; }
.at-about-media > img { height: 660px; object-fit: cover; filter: saturate(.85) contrast(1.03); }
.at-photo-placeholder { height: 660px; display: grid; place-items: center; align-content: center; gap: 30px; text-align: center; color: rgba(255,255,255,.72); background: radial-gradient(circle at 20% 20%, rgba(230,65,50,.22), transparent 26%), linear-gradient(145deg, #252b2f, #0e1113); }
.at-placeholder-mark { font-family: var(--at-display); font-size: 190px; line-height: .75; color: rgba(255,255,255,.07); transform: scaleX(.82); }
.at-photo-placeholder span { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; line-height: 1.7; }
.at-image-note { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 20px; padding: 22px 26px; color: #fff; background: rgba(7,9,10,.88); backdrop-filter: blur(12px); font-size: 11px; }
.at-image-note b { text-transform: uppercase; letter-spacing: .1em; }
.at-image-note span { color: rgba(255,255,255,.58); }

/* services */
.at-services { padding: 150px 0; background: #e7e7e1; }
.at-section-head { display: grid; grid-template-columns: 1.1fr .55fr; align-items: end; gap: 80px; margin-bottom: 70px; }
.at-section-head > p { margin: 0 0 6px; color: var(--at-muted); font-size: 15px; }
.at-service-list { border-top: 1px solid #bfc1bd; }
.at-service { min-height: 150px; display: grid; grid-template-columns: 72px 88px 1fr 60px; align-items: center; gap: 20px; padding: 26px 0; border-bottom: 1px solid #bfc1bd; transition: padding .25s ease, background .25s ease; }
.at-service:hover { padding-left: 18px; padding-right: 18px; background: rgba(255,255,255,.38); }
.at-service-number { align-self: start; padding-top: 8px; color: #8d9290; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.at-service-icon { width: 58px; height: 58px; position: relative; border: 1px solid #9ea19d; border-radius: 50%; }
.at-service-icon::before, .at-service-icon::after, .at-service-icon span { content: ''; position: absolute; background: var(--at-ink); }
.at-service-icon::before { width: 22px; height: 1px; left: 17px; top: 28px; }
.at-service-icon::after { width: 1px; height: 22px; left: 28px; top: 17px; }
.at-service-icon span { width: 5px; height: 5px; left: 26px; top: 26px; border-radius: 50%; background: var(--at-accent); }
.at-service-copy { display: grid; grid-template-columns: .65fr 1fr; gap: 40px; align-items: center; }
.at-service h3 { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1; letter-spacing: -.03em; }
.at-service p { margin: 0; max-width: 520px; color: #686e70; font-size: 14px; }
.at-service-arrow { justify-self: end; font-size: 24px; }

/* workshop */
.at-workshop { position: relative; min-height: 760px; display: flex; align-items: flex-end; padding: 100px 0; color: #fff; background: #131719; overflow: hidden; }
.at-workshop-media { position: absolute; inset: 0; }
.at-workshop-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,6,7,.82), rgba(4,6,7,.36) 58%, rgba(4,6,7,.12)); }
.at-workshop-media img { width: 100%; height: 100%; object-fit: cover; }
.at-workshop-placeholder { height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; padding-right: 8vw; background: linear-gradient(120deg,#14191c 0%,#283034 55%,#111416 100%); }
.at-workshop-placeholder::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 72px 72px; opacity: .4; }
.at-workshop-placeholder span { position: relative; z-index: 1; margin-bottom: 12px; color: rgba(255,255,255,.4); font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.at-workshop-placeholder strong { position: relative; z-index: 1; font-family: var(--at-display); font-size: clamp(100px, 18vw, 280px); line-height: .78; letter-spacing: -.04em; color: rgba(255,255,255,.06); transform: scaleX(.82); transform-origin: right center; }
.at-workshop-card { position: relative; z-index: 3; }
.at-workshop-card h2 { max-width: 650px; }
.at-workshop-card > p:not(.at-section-label) { max-width: 560px; color: rgba(255,255,255,.7); font-size: 16px; }
.at-button-dark { margin-top: 22px; background: #fff; color: #111; }
.at-button-dark:hover { background: #e9e9e5; }

/* process */
.at-process { padding: 150px 0; background: var(--at-paper); }
.at-process-head { grid-template-columns: 1fr; }
.at-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--at-line); border-left: 1px solid var(--at-line); }
.at-process-step { min-height: 300px; padding: 28px; border-right: 1px solid var(--at-line); border-bottom: 1px solid var(--at-line); display: flex; flex-direction: column; }
.at-process-step > span { color: var(--at-accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.at-process-step h3 { margin: auto 0 16px; font-size: 28px; letter-spacing: -.03em; }
.at-process-step p { margin: 0; color: var(--at-muted); font-size: 14px; }

/* contact */
.at-contact { padding: 150px 0 0; color: #fff; background: var(--at-dark); }
.at-contact-intro h2 { max-width: 980px; color: #fff; }
.at-contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; margin-top: 80px; padding-bottom: 120px; }
.at-contact-copy { max-width: 520px; margin: 0 0 34px; color: rgba(255,255,255,.58); font-size: 15px; }
.at-contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--at-line-dark); }
.at-contact-list li { display: grid; grid-template-columns: 100px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--at-line-dark); }
.at-contact-list li > span { color: rgba(255,255,255,.34); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.at-contact-list strong, .at-contact-list a { font-size: 14px; font-weight: 600; }
.at-form { padding: 38px; color: var(--at-ink); background: #f1f0eb; }
.at-form-head { display: flex; justify-content: space-between; margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid #cfd0ca; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.at-form-head strong { color: #9c9f9c; }
.at-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.at-field-full { grid-column: 1 / -1; }
.at-form label:not(.at-privacy) { display: block; margin-bottom: 8px; color: #505457; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.at-form input, .at-form textarea, .at-form select { width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid #bcbeb9; border-radius: 0; outline: 0; padding: 11px 0; color: #16191b; background: transparent; }
.at-form input:focus, .at-form textarea:focus, .at-form select:focus { border-bottom-color: var(--at-accent); }
.at-form textarea { min-height: 110px; resize: vertical; }
.at-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 14px) 22px, calc(100% - 9px) 22px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.at-privacy { display: flex; align-items: flex-start; gap: 11px; color: #6b7072; font-size: 11px; }
.at-privacy input { width: auto; min-height: 0; margin-top: 3px; }
.at-hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.at-notice { margin: 0 0 24px; padding: 14px 16px; background: #e8f4e9; border-left: 3px solid #28843e; font-size: 13px; }
.at-notice-error { background: #f9e7e7; border-left-color: #b92c2c; }

/* footer */
.at-footer { padding: 58px 0 28px; color: #fff; background: #070809; border-top: 1px solid rgba(255,255,255,.09); }
.at-footer-main { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 48px; }
.at-footer-logo { font-family: var(--at-display); font-size: 56px; line-height: .8; letter-spacing: -.035em; transform: scaleX(.88); transform-origin: left; }
.at-footer-main p { margin: 17px 0 0; color: rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.at-footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-size: 15px; }
.at-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.3); font-size: 9px; text-transform: uppercase; letter-spacing: .13em; }
.at-basic-page { min-height: 70vh; padding: 170px 0 100px; }

@media (max-width: 1080px) {
  .at-container { width: min(var(--at-max), calc(100% - 46px)); }
  .at-hero-content { grid-template-columns: 1fr 280px; gap: 50px; }
  .at-about-grid { gap: 60px; }
  .at-service-copy { grid-template-columns: 1fr 1fr; }
  .at-process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .at-menu-toggle { display: flex; }
  .at-menu { display: none; position: absolute; top: 104px; left: 22px; right: 22px; padding: 28px; background: rgba(9,11,12,.98); border: 1px solid rgba(255,255,255,.12); flex-direction: column; align-items: flex-start; gap: 22px; }
  .at-menu.is-open { display: flex; }
  .at-hero { min-height: 740px; height: auto; }
  .at-hero-content { grid-template-columns: 1fr; padding-top: 190px; padding-bottom: 80px; }
  .at-hero-panel { max-width: 520px; }
  .at-scroll { display: none; }
  .at-about-grid, .at-section-head, .at-contact-grid { grid-template-columns: 1fr; }
  .at-about-grid { gap: 55px; }
  .at-about-media, .at-about-media > img, .at-photo-placeholder { min-height: 560px; height: 560px; }
  .at-section-head { gap: 24px; }
  .at-service { grid-template-columns: 58px 70px 1fr 30px; }
  .at-service-copy { grid-template-columns: 1fr; gap: 10px; }
  .at-contact-grid { gap: 55px; }
}

@media (max-width: 620px) {
  .at-container { width: min(var(--at-max), calc(100% - 28px)); }
  .at-nav { min-height: 84px; }
  .at-menu { top: 84px; left: 14px; right: 14px; }
  .at-brand-copy { display: none; }
  .at-brand-mark { width: 42px; height: 42px; }
  .at-hero-content { padding-top: 160px; padding-bottom: 60px; }
  .at-hero h1 { font-size: clamp(56px, 19vw, 84px); }
  .at-lead { font-size: 15px; }
  .at-hero-panel { display: none; }
  .at-trustbar-inner { justify-content: flex-start; overflow: hidden; gap: 16px; }
  .at-trustbar-inner span:nth-of-type(n+4), .at-trustbar-inner i:nth-of-type(n+4) { display: none; }
  .at-section, .at-services, .at-process, .at-contact { padding-top: 96px; }
  .at-section h2, .at-section-head h2, .at-workshop-card h2, .at-contact-intro h2 { font-size: clamp(34px, 10vw, 48px); }
  .at-about-media, .at-about-media > img, .at-photo-placeholder { min-height: 470px; height: 470px; }
  .at-service { grid-template-columns: 44px 1fr 28px; gap: 12px; min-height: 0; padding: 28px 0; }
  .at-service-icon { display: none; }
  .at-service-copy { grid-column: 2; }
  .at-service-arrow { grid-column: 3; grid-row: 1; }
  .at-service h3 { font-size: 24px; }
  .at-workshop { min-height: 650px; padding: 80px 0; }
  .at-process-grid { grid-template-columns: 1fr; }
  .at-process-step { min-height: 230px; }
  .at-contact-grid { margin-top: 52px; padding-bottom: 80px; }
  .at-form { padding: 28px 20px; }
  .at-fields { grid-template-columns: 1fr; }
  .at-field-full { grid-column: auto; }
  .at-contact-list li { grid-template-columns: 1fr; gap: 5px; }
  .at-footer-main, .at-footer-bottom { flex-direction: column; align-items: flex-start; }
  .at-footer-contact { align-items: flex-start; }
}
