/* 
   Mechanic Workshop Theme
   Professional, Reliable, Industrial
*/

:root {
	/* Colors */
	--primary-color: #0f172a; /* Dark Navy/Slate */
	--primary-dark: #020617;
	--secondary-color: #f1f5f9; /* Slate 100 */
	--accent-color: #f59e0b; /* Amber/Orange */
	--text-color: #334155; /* Slate 700 */
	--text-light: #64748b; /* Slate 500 */
	--bg-light: #ffffff;
	--bg-warm: #f8fafc; /* Cool Grey */
	--white: #ffffff;

	/* Fonts */
	--font-heading: "Oswald", sans-serif;
	--font-body: "Roboto", sans-serif;

	/* Spacing */
	--spacing-md: 2rem;
	--spacing-lg: 4rem;

	/* Transitions */
	--transition: all 0.3s ease;
}

/* Reset & Base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: var(--font-body);
	color: var(--text-color);
	line-height: 1.6;
	background-color: var(--bg-light);
	font-size: 16px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--font-heading);
	color: var(--text-color);
	line-height: 1.3;
	margin-bottom: 1rem;
}

h1 {
	font-size: 2.5rem;
	font-weight: 700;
}
h2 {
	font-size: 2rem;
}
h3 {
	font-size: 1.5rem;
}

a {
	text-decoration: none;
	color: inherit;
	transition: var(--transition);
}

ul {
	list-style: none;
}

img {
	max-width: 100%;
	height: auto;
}

/* Utilities */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section {
	padding: 80px 0;
}

.subtitle {
	display: block;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--primary-color);
	margin-bottom: 10px;
	font-weight: 700;
}

.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 50px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	transition: var(--transition);
}

.btn-primary {
	background-color: var(--primary-color);
	color: var(--white);
}

.btn-primary:hover {
	background-color: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
	background-color: rgba(255, 255, 255, 0.95);
	padding: 20px 0;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary-color);
}

.nav-menu ul {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav-menu a {
	font-weight: 400;
	font-size: 1rem;
}

.nav-menu a:hover {
	color: var(--primary-color);
}

.btn-nav {
	background-color: var(--primary-color);
	color: var(--white) !important;
	padding: 10px 20px;
	border-radius: 50px;
}

.btn-nav:hover {
	background-color: var(--primary-dark);
	color: var(--white) !important;
}

.menu-toggle {
	display: none;
	cursor: pointer;
}

.bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	background-color: var(--text-color);
	transition: var(--transition);
}

/* Hero Section */
.hero {
	background-color: var(--bg-warm); /* Fallback */
	background-image: url("../images/hero-bg.png");
	background-size: cover;
	background-position: center;
	height: 100vh;
	display: flex;
	align-items: center;
	text-align: center;
	padding-top: 80px; /* Header space */
	position: relative;
	overflow: hidden;
}

.hero::after {
	/* Overlay to ensure text readability */
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.85);
	z-index: 0;
}

.hero::before {
	/* Abstract decorative element */
	content: "";
	position: absolute;
	top: -10%;
	right: -5%;
	width: 500px;
	height: 500px;
	background: var(--accent-color);
	opacity: 0.1;
	border-radius: 50%;
	filter: blur(80px);
	z-index: 1;
}

.hero-content {
	max-width: 800px;
	position: relative;
	z-index: 2;
}

.hero-badge {
	margin-bottom: 1.5rem;
}

.hero-badge span {
	display: inline-block;
	background-color: var(--accent-color);
	color: var(--white);
	padding: 8px 20px;
	border-radius: 50px;
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.hero-badge i {
	margin-right: 8px;
}

.hero h1 {
	font-size: 3.5rem;
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.hero-subtitle {
	font-size: 1.25rem;
	color: var(--text-light);
	margin-bottom: 3rem;
	line-height: 1.8;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.hero-stats {
	display: flex;
	justify-content: center;
	gap: 60px;
	margin-bottom: 3rem;
	flex-wrap: wrap;
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stat-number {
	font-family: var(--font-heading);
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary-color);
	line-height: 1;
	margin-bottom: 8px;
}

.stat-label {
	font-size: 0.9rem;
	color: var(--text-light);
	text-align: center;
	max-width: 120px;
}

.hero-cta {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background-color: var(--primary-color);
	color: var(--white);
	transform: translateY(-2px);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about {
	background-color: var(--white);
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 50px;
	align-items: center;
}

.about-image img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	object-fit: cover;
}

/* Services Section */
.services {
	background-color: var(--bg-warm);
	text-align: center;
}

.section-header {
	margin-bottom: 50px;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.service-card {
	background: var(--white);
	padding: 40px 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	font-size: 2.5rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

/* Method Section */
.method {
	background-color: var(--white);
}

.method-content {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.method-content h2 {
	margin-bottom: 20px;
}
.method-content > p {
	margin-bottom: 50px;
	color: var(--text-light);
}

.steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	text-align: left;
}

.step {
	position: relative;
	padding-top: 20px;
}

.step-number {
	font-family: var(--font-heading);
	font-size: 3rem;
	color: var(--accent-color);
	opacity: 0.3;
	position: absolute;
	top: -20px;
	left: 0;
}

.step h4 {
	margin-top: 10px;
	font-size: 1.25rem;
}

/* Why Us */
.why-us {
	background-color: var(--primary-color);
	color: var(--white);
	text-align: center;
}

.why-us h3 {
	color: var(--white);
}

.why-us-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}

/* Contact Section */
.contact {
	background-color: var(--bg-light);
}

.contact-wrapper {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 50px;
	background: var(--white);
	padding: 50px;
	border-radius: 15px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.contact-info ul {
	margin-top: 30px;
}

.contact-info li {
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--text-light);
}

.contact-info i {
	color: var(--primary-color);
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-family: inherit;
	font-size: 1rem;
	transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: var(--primary-color);
	outline: none;
	box-shadow: 0 0 0 2px rgba(141, 163, 153, 0.2);
}

/* Footer */
.footer {
	background-color: #333;
	color: #ccc;
	padding: 50px 0 20px;
	font-size: 0.9rem;
}

.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #444;
	padding-bottom: 30px;
	margin-bottom: 20px;
}

.footer-logo a {
	font-family: var(--font-heading);
	color: var(--white);
	font-size: 1.25rem;
	display: block;
	margin-bottom: 5px;
}

.footer-links a {
	margin-left: 20px;
}

.footer-links a:hover {
	color: var(--white);
}

.footer-bottom {
	text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
	.header .container {
		padding: 0 20px;
	}

	.menu-toggle {
		display: block;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		gap: 0;
		flex-direction: column;
		background-color: var(--white);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
		padding: 20px 0;
	}

	.nav-menu.active {
		left: 0;
	}

	.nav-menu ul {
		flex-direction: column;
	}

	.hero h1 {
		font-size: 2.5rem;
	}

	.hero-subtitle {
		font-size: 1.1rem;
		margin-bottom: 2rem;
	}

	.hero-stats {
		gap: 30px;
		margin-bottom: 2rem;
	}

	.stat-number {
		font-size: 2rem;
	}

	.stat-label {
		font-size: 0.85rem;
	}

	.hero-cta {
		flex-direction: column;
		align-items: center;
	}

	.hero-cta .btn {
		width: 100%;
		max-width: 300px;
	}

	.about-content,
	.contact-wrapper,
	.why-us-grid,
	.steps {
		grid-template-columns: 1fr;
	}

	.footer-content {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
}
