/*
Theme Name: C8 Airport Parking
Theme URI: https://c8airportparking.co.uk/
Author: C8 Airport Parking
Description: A modern, responsive WordPress theme for C8 Airport Car Parking, designed for the Airport Parking Booking System and WooCommerce.
Version: 1.7.1
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: c8-airport-parking
*/

:root {
	--c8-blue: #0758b7;
	--c8-blue-dark: #073b7d;
	--c8-sky: #eaf4ff;
	--c8-ink: #111827;
	--c8-muted: #5b6473;
	--c8-line: #dce4ee;
	--c8-white: #fff;
	--c8-green: #14a06f;
	--c8-shadow: 0 22px 60px rgba(7, 59, 125, .12);
	--c8-radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--c8-ink);
	background: #fff;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.65;
}
a { color: var(--c8-blue); }
img { max-width: 100%; height: auto; }
.c8-container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed; z-index: 9999; top: 10px; left: 10px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 15px; }

.site-header {
	position: sticky;
	z-index: 50;
	top: 0;
	background: rgba(255,255,255,.94);
	border-bottom: 1px solid rgba(220,228,238,.8);
	backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.c8-nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.c8-brand { display: inline-flex; flex: 0 0 auto; align-items: center; color: var(--c8-ink); text-decoration: none; }
.c8-brand img { display: block; width: 124px; height: 72px; object-fit: contain; object-position: left center; }
.c8-menu, .c8-menu ul { display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; list-style: none; }
.c8-menu a { color: #293344; text-decoration: none; font-weight: 700; font-size: .93rem; }
.c8-menu a:hover { color: var(--c8-blue); }
.c8-button, .wp-element-button, button, input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--c8-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 800;
	box-shadow: 0 10px 24px rgba(7,88,183,.2);
	cursor: pointer;
}
.c8-button:hover { background: var(--c8-blue-dark); color: #fff; transform: translateY(-1px); }
.c8-button-light { background: #fff; color: var(--c8-blue-dark); box-shadow: none; }
.c8-mobile-toggle { display: none; border-radius: 12px; min-height: 44px; padding: 8px 12px; }

.c8-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 78px;
	background:
		radial-gradient(circle at 80% 20%, rgba(47,145,255,.24), transparent 28%),
		linear-gradient(135deg, #052c62 0%, #0758b7 58%, #147bdd 100%);
	color: #fff;
}
.c8-hero::after { content: ""; position: absolute; inset: auto -12% -160px 38%; height: 320px; border: 2px solid rgba(255,255,255,.18); border-radius: 50%; transform: rotate(-8deg); }
.c8-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 58px; }
.c8-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .82rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.c8-kicker::before { content: ""; width: 34px; height: 2px; background: #70b9ff; }
.c8-hero h1 { max-width: 750px; margin: 0; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: .98; letter-spacing: -.055em; }
.c8-hero p { max-width: 620px; margin: 24px 0 30px; color: #dbeeff; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.c8-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.c8-hero-card { position: relative; padding: 34px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 30px; box-shadow: 0 28px 80px rgba(0,18,45,.28); backdrop-filter: blur(18px); }
.c8-hero-card img { display: block; width: min(100%, 420px); margin: auto; background: #fff; border-radius: 22px; }
.c8-trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #dbeeff; font-size: .91rem; font-weight: 700; }
.c8-trust-row span::before { content: "✓"; margin-right: 7px; color: #84f0c7; }

.c8-section { padding: 84px 0; }
.c8-section-soft { background: #f5f9fe; }
.c8-section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.c8-section-head h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; letter-spacing: -.04em; }
.c8-section-head p { color: var(--c8-muted); font-size: 1.08rem; }
.c8-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.c8-card { padding: 28px; background: #fff; border: 1px solid var(--c8-line); border-radius: var(--c8-radius); box-shadow: 0 14px 40px rgba(25,50,85,.06); }
.c8-icon { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; background: var(--c8-sky); color: var(--c8-blue); font-size: 1.4rem; font-weight: 900; }
.c8-card h3 { margin: 0 0 8px; font-size: 1.25rem; }
.c8-card p { margin: 0; color: var(--c8-muted); }
.c8-steps { counter-reset: c8step; }
.c8-steps .c8-card { counter-increment: c8step; }
.c8-steps .c8-icon::before { content: counter(c8step); }
.c8-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 42px; border-radius: 28px; background: linear-gradient(135deg, #061f45, #0758b7); color: #fff; box-shadow: var(--c8-shadow); }
.c8-cta h2 { margin: 0 0 6px; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.1; }
.c8-cta p { margin: 0; color: #dbeeff; }

.c8-page { min-height: 60vh; padding: 64px 0 88px; }
.c8-page-header { margin-bottom: 38px; }
.c8-page-header h1 { margin: 0; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -.045em; }
.c8-content { font-size: 1.05rem; }
.c8-content > * { max-width: 850px; }
.c8-content > .apbs-booking-shell, .c8-content > .woocommerce { max-width: 1180px; }

.apbs-booking-shell { --apbs-primary: var(--c8-blue) !important; --apbs-primary-dark: var(--c8-blue-dark) !important; }
.apbs-booking-form { border: 0 !important; border-radius: 24px !important; box-shadow: var(--c8-shadow) !important; }
.apbs-stepper span { border-radius: 12px !important; }
.apbs-booking-form input, .apbs-booking-form select, .apbs-booking-form textarea { border-radius: 12px !important; }
.apbs-actions button { border-radius: 999px !important; }

.site-footer { padding: 60px 0 24px; background: #071527; color: #c9d5e5; }
.c8-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h3 { margin-top: 0; color: #fff; }
.site-footer a { color: #c9d5e5; text-decoration: none; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.c8-company-details { display: grid; grid-template-columns: 1.15fr 1.45fr 1fr; gap: 28px; align-items: center; margin-top: 42px; padding: 26px 28px; border: 1px solid #253b56; border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.c8-company-details h3 { margin: 3px 0 7px; font-size: 1.05rem; letter-spacing: .02em; }
.c8-company-details p { margin: 0; }
.c8-company-details__eyebrow, .c8-company-details__office > span { display: block; margin-bottom: 4px; color: #8ebdf5; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.c8-company-details address { color: #fff; font-style: normal; line-height: 1.55; }
.c8-company-details__registration { display: flex; align-items: flex-start; flex-direction: column; gap: 11px; }
.c8-company-details__link { display: inline-flex; align-items: center; gap: 7px; padding-bottom: 2px; border-bottom: 1px solid rgba(201,213,229,.55); color: #fff !important; font-weight: 750; }
.c8-company-details__link:hover, .c8-company-details__link:focus-visible { border-color: #fff; }
.c8-copyright { margin-top: 22px; padding-top: 22px; border-top: 1px solid #25354a; font-size: .88rem; }

@media (max-width: 900px) {
	.c8-mobile-toggle { display: inline-flex; }
	.c8-menu { display: none; position: absolute; inset: 82px 20px auto; padding: 20px; border: 1px solid var(--c8-line); border-radius: 18px; background: #fff; box-shadow: var(--c8-shadow); }
	.c8-menu.is-open, .c8-menu ul { display: flex; align-items: stretch; flex-direction: column; }
	.c8-header-cta { display: none; }
	.c8-hero-grid, .c8-grid-3, .c8-footer-grid { grid-template-columns: 1fr; }
	.c8-company-details { grid-template-columns: 1fr 1fr; }
	.c8-company-details__registration { grid-column: 1 / -1; }
	.c8-hero { padding-top: 60px; }
	.c8-hero-card { max-width: 520px; }
	.c8-cta { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
	.c8-container { width: min(100% - 28px, 1180px); }
	.c8-company-details { grid-template-columns: 1fr; gap: 22px; padding: 23px 20px; }
	.c8-company-details__registration { grid-column: auto; }
	.c8-section { padding: 62px 0; }
	.c8-cta { padding: 28px; }
	.admin-bar .site-header { top: 46px; }
}
