body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
}

a {
  color: #00B7FF;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header & Navigation */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e74c3c;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e74c3c;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/images/garage-hero.jpg');
  position: relative;
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.hero > .hero-content {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #e74c3c;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #c0392b;
}

/* Services Section */
.services {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services h2, .about h2, .testimonials h2, .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.services h2:after, .about h2:after, .testimonials h2:after, .contact h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #e74c3c;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 5rem 5%;
}

.service-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.service-box:hover {
  transform: translateY(-5px);
}

.service-box img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-box h3 {
  margin: 1rem 0;
  padding: 0 1rem 1.5rem;
  color: #e74c3c;
}

.service-box p {
  padding: 0 1rem 1.5rem;
}

/* About Section */
.about {
  background-color: #f9f9f9;
  padding: 5rem 5%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.about-content, .about-image {
  flex: 1 1 400px;
  padding: 1rem;
}

.about-content {
  text-align: left;
}

.about-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Testimonials */
.testimonials {
  padding: 5rem 5%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.testimonial {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  flex: 1 1 300px;
  max-width: 350px;
  position: relative;
}

.testimonial p {
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Contact Section */
.contact {
  background-color: #f9f9f9;
  padding: 5rem 5%;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.contact-form, .contact-info {
  flex: 1 1 400px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info {
  text-align: center;
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
  color: #e74c3c;
}

.contact-info p {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background-color: #222;
  color: #fff;
  padding: 3rem 5% 1rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.footer-links, .social-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4, .social-links h4 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-links h4:after, .social-links h4:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #e74c3c;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #e74c3c;
}

.social-links a {
  margin-right: 1rem;
  display: inline-block;
}

.social-links img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}

.social-links img:hover {
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34,34,59,0.93);
  transition: opacity 0.3s;
}
.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px rgba(34,34,59,0.13);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.5rem 2rem 2rem 2rem;
  animation: slideInRight 0.3s;
}
@keyframes slideInRight {
  from { right: -320px; opacity: 0; }
  to { right: 0; opacity: 1; }
}
.close-mobile-nav {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #e74c3c;
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  cursor: pointer;
  z-index: 2;
}
.mobile-nav-content ul {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  width: 100%;
}
.mobile-nav-content li {
  margin-bottom: 2rem;
}
.mobile-nav-content a {
  color: #22223b;
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.mobile-nav-content a:hover {
  color: #e74c3c;
}

/* Hamburger only on mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  z-index: 100; /* Lowered from 10001 to 100 to avoid overlay issues */
}
.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #e74c3c;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* Blog mobile nav wrapper for blog/dashboard pages */
.blog-mobile-nav-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.blog-mobile-nav-wrapper .hamburger {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 38px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  margin-right: 1.2rem;
  padding: 0 1.2rem;
}
.blog-mobile-nav-wrapper .hamburger:focus,
.blog-mobile-nav-wrapper .hamburger:hover {
  background: #f2e9e4;
  outline: none;
}
.blog-mobile-nav-wrapper .hamburger span {
  color: #e74c3c;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  display: inline;
}
/* Remove any orange line or border from the button */
.blog-mobile-nav-wrapper .hamburger:focus {
  outline: none;
  box-shadow: none;
  border: none;
}
@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav-overlay {
    display: none;
  }
  .mobile-nav-overlay.active {
    display: block;
  }
  .dashboard-nav .nav-links {
    display: none !important;
  }
  .blog-mobile-nav-wrapper .hamburger {
    display: flex;
  }
}

@media (min-width: 901px) {
  .mobile-nav-overlay {
    display: none !important;
  }
  .hamburger {
    display: none !important;
  }
  .blog-mobile-nav-wrapper .hamburger {
    display: none !important;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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

  .services h2, .about h2, .testimonials h2, .contact h2 {
    font-size: 2rem;
  }

  .about {
    text-align: center;
  }

  .contact-info, .contact-form {
    text-align: center;
  }
}