/* ============================================
   Ambica Motors - Main stylesheet
   ============================================ */

:root {
	--primary: #b91c1c;
	--primary-dark: #991b1b;
	--primary-light: #fef2f2;
	--dark: #0f172a;
	--dark-footer: #020617;
	--text-muted: #64748b;
	--border: #e2e8f0;
}

* {
	scroll-margin-top: 80px;
}

body {
	font-family: "Inter", sans-serif;
	font-size: 1rem;
	color: #334155;
	line-height: 1.65;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
	color: var(--dark);
	line-height: 1.2;
}

/* Navigation */
.navbar {
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(10px);
	padding: 0.75rem 0;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
	background: var(--dark);
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.navbar-brand {
	font-family: "Outfit", sans-serif;
	font-weight: 800;
	font-size: 1.35rem;
	color: #fff !important;
	letter-spacing: -0.02em;
}
.nav-link {
	font-weight: 500;
	color: rgba(255,255,255,0.85) !important;
	padding: 0.5rem 1rem !important;
	border-radius: 6px;
	transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link:focus {
	color: #fff !important;
	background: rgba(255,255,255,0.08);
}

/* Hero */
.hero {
	background-color: var(--primary-dark);
	background-size: cover;
	background-position: top center;
	background-repeat: no-repeat;
	color: #fff;
	min-height: 95vh;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}
/* Option 1: first slider image – switch to .hero-bg-2 in HTML to try the second */
.hero.hero-bg-1 {
	background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(153, 27, 27, 0.6) 50%, rgba(15, 23, 42, 0.5) 100%),
		url("slider/slider-1.jpg");
}
/* Option 2: second slider image */
.hero.hero-bg-2 {
	background-image: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(153, 27, 27, 0.6) 50%, rgba(15, 23, 42, 0.5) 100%),
		url("slider/slider-2.jpg");
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	opacity: 0.5;
	pointer-events: none;
}
.hero .container {
	position: relative;
	z-index: 1;
}
.hero h1 {
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
}
.hero .lead {
	font-size: clamp(1.25rem, 3vw, 1.65rem);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	color: rgba(255, 255, 255, 0.98);
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	padding: 0 1rem;
}
.hero .lead::before {
	content: "";
	display: block;
	width: 48px;
	height: 3px;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 2px;
	margin: 0 auto 1rem;
}
.hero .address {
	font-size: 0.95rem;
	opacity: 0.9;
	margin-top: 1.5rem;
}

/* Section titles */
.section-title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin-bottom: 3rem;
	position: relative;
	display: inline-block;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 48px;
	height: 4px;
	background: var(--primary);
	border-radius: 2px;
}

/* About */
.about-section {
	padding: 5rem 0;
	background: #fff;
}
.about-section .about-text h6 {
	font-family: "Outfit", sans-serif;
	font-weight: 600;
	font-size: 1rem;
	color: var(--dark);
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}
.about-section .about-text h6:first-of-type { margin-top: 0; }
.about-section .img-wrap {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}
.about-section .img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Vehicles */
.vehicles-section {
	padding: 5rem 0;
	background: var(--primary-light);
}
.vehicles-section .sub-title {
	font-size: 1.35rem;
	margin-bottom: 2rem;
	color: var(--dark);
}
.v-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.v-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}
.v-card .card-img-top {
	aspect-ratio: 4/3;
	object-fit: contain;
	background: #f8fafc;
	padding: 1rem;
}
.v-card .card-body {
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}
.v-card .card-title {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.75rem;
	color: var(--dark);
}
.v-card .btn-brochure {
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	border-radius: 8px;
	border: none;
	transition: background 0.2s;
}
.v-card .btn-brochure:hover {
	background: var(--primary-dark);
	color: #fff;
}

/* Contact */
.contact-section {
	padding: 5rem 0;
	background: #fff;
}
.contact-section .form-label {
	font-weight: 600;
	color: var(--dark);
}
/* Honeypot: hide from view, only bots fill it */
.contact-section .form-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}
.contact-section .form-disclaimer {
	font-size: 0.875rem;
	color: #555;
	line-height: 1.5;
}
.contact-section .form-disclaimer a {
	color: var(--primary);
	text-decoration: underline;
}
.contact-section .form-disclaimer a:hover {
	color: var(--primary-dark);
}
.contact-section .form-check-label a {
	color: var(--primary);
	text-decoration: underline;
}
.contact-section .form-check-label a:hover {
	color: var(--primary-dark);
}
.contact-section .form-control {
	border-radius: 8px;
	border: 1px solid var(--border);
	padding: 0.65rem 1rem;
}
.contact-section .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}
.contact-section .btn-submit {
	background: var(--primary);
	color: #fff;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	border: none;
	transition: background 0.2s;
}
.contact-section .btn-submit:hover {
	background: var(--primary-dark);
	color: #fff;
}
.map-wrap {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
	margin-top: 1.5rem;
}
.map-wrap iframe {
	display: block;
	width: 100%;
	height: 320px;
	border: 0;
}
.contact-info {
	background: var(--primary-light);
	border-radius: 12px;
	padding: 1.5rem;
}
.contact-info h6 {
	font-family: "Outfit", sans-serif;
	font-weight: 700;
	font-size: 0.9rem;
	color: var(--dark);
	margin-bottom: 0.5rem;
}
.contact-info p {
	margin-bottom: 1rem;
	font-size: 1rem;
}
.contact-info p:last-child { margin-bottom: 0; }
.contact-info a {
	color: var(--primary);
	text-decoration: none;
	font-weight: 500;
}
.contact-info a:hover { text-decoration: underline; }

/* Footer */
.site-footer {
	background: var(--dark-footer);
	color: rgba(255,255,255,0.8);
	padding: 2rem 0;
	font-size: 0.9rem;
}
.site-footer a {
	color: rgba(255,255,255,0.9);
	text-decoration: none;
	transition: color 0.2s;
}
.site-footer a:hover {
	color: #fff;
}
.site-footer .footer-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}
.site-footer .footer-links .sep {
	color: rgba(255,255,255,0.4);
	pointer-events: none;
}

/* Policy pages (Privacy / Terms) */
.site-header {
	background: var(--dark);
	color: #fff;
	padding: 1rem 0;
}
.site-header a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}
.content {
	padding: 3rem 0;
	max-width: 720px;
	margin: 0 auto;
}
.placeholder {
	background: #f8fafc;
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	color: #64748b;
}
