/* Hero overlay for white banner behind logo */
.hero {
	position: relative;
	height: 340px;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: 1;
	z-index: 1;
}
.car-main-img {
	display: block;
	margin: 0 auto 32px auto;
	max-width: 500px;
	max-height: 350px;
	width: 100%;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

:root{
	--bg-1: #747d8a;
	--bg-2: #757a80;
	--primary: #12386a; /* deep blue */
	--accent: #ff6b6b;  /* coral */
	--accent-2: #3a9ad9; /* sky */
	--card-bg: rgba(177, 165, 165, 0.86);
	--muted: #6b7280;
}

.site-decor { display:none; }
.car-details {
	text-align: center;
	font-size: 1.25rem;
	color: #2a2a2a;
	margin-top: 0;
	line-height: 1.7;
}
.back-link {
	display: block;
	margin: 0 auto 32px auto;
	color: #3a5ca8;
	font-weight: 500;
	text-decoration: underline;
	font-size: 1.1rem;
	text-align: left;
	width: 100%;
	max-width: 900px;
}
.car-detail-bg {
	height: 50vh;
 	width: 100vw;
 	display: flex;
 	/* place the car detail just under the header */
 	align-items: flex-start;
 	justify-content: center;
 	padding-top: 18px;
 	/* use the same grey page background so gutters match */
 	background: #616466;
}
.car-detail-container {
	max-width: 600px;
	width: 100%;
	background: #5a5252;
	border-radius: 18px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.10);
	padding: 48px 32px;
	margin: 8px auto 24px auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-top: 4px solid #111 !important;
}
.car-images {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
	margin-bottom: 32px;
}
.car-images img {
	box-shadow: 0 2px 12px rgba(0,0,0,0.10);
	border-radius: 12px;
	margin: 0;
	background: #7c7f8a;
	max-width: 400px;
	max-height: 300px;
	object-fit: cover;
}
.car-details {
	font-size: 1.25rem;
	color: #2a2a2a;
	text-align: center;
	margin-top: 16px;
	line-height: 1.7;
}
a {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 24px;
	font-size: 1.05rem;
}
a:hover { text-decoration: underline; color: var(--accent); }
html, body {
	height: 100% !important;
	background-color: #747d8a !important; /* changed to grey for car.html page */
}
body {
	font-family: 'Segoe UI', Arial, sans-serif;
	margin: 0;
	padding: 0;
	color: #222;
	min-height: 100vh;
}
.container {
	max-width: 1000px;
	margin: 0px auto;
	/* slightly more transparent so background shows through */
	background: #747d8a;
	border-radius: 18px;
	box-shadow: 0 8px 40px rgba(16,40,80,0.06);
	padding: 40px;
	position: relative;
	z-index: 1;
}
h1 {
	text-align: center;
	font-size: 2.6rem;
	font-weight: 800;
	color: var(--primary);
	margin-bottom: 6px;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 0 gba(255,255,2r55,0.6);
}
h2 {
	text-align: center;
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--accent-2);
	margin-bottom: 28px;
	opacity: 0.95;
}
.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	justify-content: center;
	padding: 32px 0;
}
.car {
	border: 2px solid #d6eaf8; /* always-visible thicker border */
	border-radius: 14px;
	width: 320px;
	padding: 18px;
	background: #747d8a; /* make card background pure white for contrast */
	box-shadow: 0 6px 20px rgba(20,50,90,0.06);
	transition: transform 200ms ease, box-shadow 200ms ease, box-shadow 200ms ease;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.car::before{
	content: '';
	position: absolute; left: 0; top: 0; bottom: 0; width: 6px;
	background: linear-gradient(180deg, var(--accent), var(--accent-2));
}
.car:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(10,40,80,0.12);
	/* simulate thicker border by adding an outline in accent color */
	outline: 3px solid var(--accent);
	outline-offset: 0;
}
.car img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.car-details {
	margin-top: 12px;
	text-align: left;
	font-size: 1.08rem;
	color: #2a2a2a;
}

/* Map Section Styles */
.map-section {
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	background: #18191b;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 32px 0 32px 0;
	box-sizing: border-box;
}
.map-section img {
	max-width: 90vw;
	width: 600px;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.5);
	display: block;
	margin: 0 auto;
	background: #222;
}
