/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

h1, h2, h3 {
  margin-bottom: 1rem;
  color: #111;
  font-size: 2rem; /* base size */
}

/* Medium screens (>= 40em ~ 640px) */
@media (min-width: 40em) {
  h1, h2, h3 {
    font-size: 2rem;
  }
}

/* Large screens (>= 60em ~ 960px) */
@media (min-width: 60em) {
  h1, h2, h3 {
    font-size: 4rem;
  }
}



p {
  margin-bottom: 1rem;
}
.logo-circle {
  width: 60px;
    
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  display:flex;
  align-items: center;
  justify-content: left;
}

.logo-circle img {
  width: 100%;
  height: auto;
  object-fit: contain;

}
.logo-link {
  font-size: 1.5rem;
  color: #fff;
  margin-left: 10px;
}


/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: lab(2.19% 0 0);
  color: #fff;
  padding: 1rem 2rem;
}

.site-header .logo {
  display: flex;
  align-items: center;
}

.site-header .logo img {
  height: 40px;
  margin-right: 10px;
}

.site-header nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s;
}

.site-header nav a:hover {
  color: #fff;
}

.call-btn {
  background: #e63946;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #f1f1f1, #e6e6e6);
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons .btn {
  margin: 0 0.5rem;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
}

.btn.primary {
  background: #e63946;
  color: #fff;
}

.btn.secondary {
  border: 2px solid #e63946;
  color: #e63946;
}

/* Overview / Services */
.overview, .services, .about, .contact, .blog {
  padding: 3rem 2rem;
  max-width: 1000px;
  grid-auto-rows: 1fr ;
  margin: auto;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.hero {
  position: relative;
  background: url("car_image.png") center/cover no-repeat;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  
}

/* Overlay for shadow effect */
.hero::before {
  content: "";
  position: absolute;
  inset: 0; /* covers entire section */
  background: rgba(250, 246, 246, 0.4); /* adjust opacity for shadow strength */
}

/* Keep text above the overlay */
.hero h1, .hero p, .hero .cta-buttons {
  position: relative;
  z-index: 1;
}


.service-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.service-item img {
  max-width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.contact input, .contact textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact button {
  background: #e63946;
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact button:hover {
  background: #c92c3a;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  color: #fff;
  @media (width>=60em) {
  position:fixed;  
  }
  @media (width>=40em) {
  position:relative;  
  }
  
  left:0;
  right: 0;
    bottom:0;
}

footer nav a {
  margin: 0 0.5rem;
  color: #ddd;
  text-decoration: none;
}

footer nav a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    text-align: center;
  }

  .site-header nav {
    margin: 1rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }
}
.section{
    margin-bottom: 2rem;
    grid-auto-rows: 1fr ;
    
}
