/*
Theme Name: Atkins Vehicle Services
Theme URI: https://www.atkinsvehicleservices.co.uk
Author: jon.com
Description: Bespoke theme for Atkins Vehicle Services, Newmarket. Pairs with the Atkins Garage Suite plugin (MOT check, booking, recovery & mobile mechanic). British English throughout.
Version: 1.4.1
License: GPL-2.0-or-later
Text Domain: atkins
*/

:root {
	--ink: #1c2733;
	--accent: #c8102e;   /* placeholder — set to Atkins' brand red */
	--dark: #11181f;
	--bg: #ffffff;
	--muted: #6b7785;
	--line: #e2e6ea;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header { background: var(--dark); color: #fff; position: sticky; top: 0; z-index: 1100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: .9rem; padding-bottom: .9rem; }
.site-header a { color: #fff; text-decoration: none; }
.brand { font-weight: 800; letter-spacing: .5px; display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-logo { height: 52px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; color: #fff; font-size: 1.2rem; }
.brand-text small { font-size: .62rem; font-weight: 600; letter-spacing: 2px; color: #aebac6; margin-top: 3px; }
.brand .custom-logo { height: 52px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.call-btn { background: var(--accent); padding: .55rem 1.1rem; border-radius: 6px; font-weight: 700; }

/* Hero */
.hero {
	color: #fff;
	padding: 5rem 0;
	text-align: center;
	background: linear-gradient(rgba(17,24,31,.72), rgba(17,24,31,.84)), url('images/hero.jpg') center/cover no-repeat;
}
.hero h1 { font-size: 2.6rem; margin: 0 0 1rem; }
.hero p { font-size: 1.2rem; color: #c9d2db; max-width: 640px; margin: 0 auto 1.75rem; }
.btn { display: inline-block; background: var(--accent); color: #fff; padding: .85rem 1.6rem; border-radius: 8px; font-weight: 700; text-decoration: none; margin: .25rem; }
.btn--ghost { background: transparent; border: 2px solid #fff; }

/* Services grid */
.services { padding: 3.5rem 0; }
.services h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card .card-body { padding: 1.25rem; }
.card h3 { margin: 0 0 .5rem; }
.card p { color: var(--muted); margin: 0 0 1rem; }

/* Footer */
.site-footer { background: var(--dark); color: #c9d2db; padding: 2.5rem 0; margin-top: 3rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 2rem; }

@media (max-width: 720px) {
	.main-nav { display: none; }
	.hero h1 { font-size: 2rem; }
}

/* ---- MOT feature band ---- */
.mot-feature {
	background: linear-gradient(135deg, var(--dark) 0%, #1d2a36 100%);
	color: #fff;
	padding: 3.5rem 0;
}
.mot-feature__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5rem;
	align-items: center;
}
.mot-feature__text h2 { font-size: 2rem; margin: 0 0 .75rem; }
.mot-feature__text p { color: #c9d2db; font-size: 1.1rem; margin: 0 0 1rem; }
.mot-feature__ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.mot-feature__ticks li { position: relative; padding-left: 1.6rem; color: #e8edf1; font-weight: 600; }
.mot-feature__ticks li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	color: #fff; background: var(--accent); width: 1.1rem; height: 1.1rem;
	border-radius: 50%; font-size: .75rem; display: flex; align-items: center; justify-content: center;
}
.mot-feature__widget .ags-mot--prominent { margin: 0; }

@media (max-width: 800px) {
	.mot-feature__inner { grid-template-columns: 1fr; }
}
