* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background: #4a4a4a;
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #0066cc;
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Footer */
footer {
  background: #4a4a4a;
  color: white;
  margin-top: 3rem;
  padding: 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 0.5rem;
  color: #0066cc;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #444;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

button {
  background: #0066cc;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #003d82;
}

/* Cards */
.card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: #0066cc;
  margin-bottom: 1rem;
}

/* Reviews */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.review-card {
  background: #f9f9f9;
  border-left: 4px solid #0066cc;
  padding: 1.5rem;
  border-radius: 4px;
}

.review-rating {
  color: #0066cc;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.review-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.review-text {
  color: #666;
  line-height: 1.6;
}

/* CTA Buttons */
.cta-button {
  background: #0066cc;
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s;
  font-weight: 600;
}

.cta-button:hover {
  background: #003d82;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(74, 74, 74, 0.8) 0%, rgba(51, 51, 51, 0.8) 100%), url('/hero-mechanic.jpeg') center/cover;
  background-attachment: fixed;
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  margin: -2rem -1rem 2rem -1rem;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .services-grid,
  .reviews-container {
    grid-template-columns: 1fr;
  }
}
