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

html, body {
  height: 100%;
}

body {
  font-family: "Open Sans", sans-serif;
  font-size: 1.5rem;
  color: #181A18;
  background-color: #FFFAFA;
  line-height: 1.6;
}

a {
  color: #052DB0;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: rgb(3.591160221, 32.320441989, 126.408839779);
  text-decoration: underline;
}

/* Header Styles */
.sticky-top {
  background: #052DB0;
  position: relative;
  overflow: visible;
}

.site-header {
  position: relative;
}
.site-header .navbar-brand-logo {
  position: absolute;
  left: 2rem;
  top: 65%;
  z-index: 1001;
  text-decoration: none;
}
.site-header .navbar-brand-logo img {
  width: clamp(70px, 8vw, 160px);
  height: auto;
  display: block;
  transition: filter 0.3s ease;
}
.site-header .navbar-brand-logo:hover img {
  filter: brightness(1.2);
}
.site-header .nav-link {
  transition: color 0.3s ease;
}
.site-header .nav-link:hover, .site-header .nav-link:focus {
  color: rgba(243, 247, 10, 0.8) !important;
  text-shadow: 0 0 8px rgba(243, 247, 10, 0.5);
}
.site-header .navbar-toggler {
  background-color: #FFFAFA;
  border: none;
  padding: 0.5rem;
}
.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 250, 250, 0.25);
}

/* Main Content */
main {
  flex-grow: 1;
}

/* Footer Styles */
.site-footer {
  background-color: #052DB0;
  color: #FFFAFA;
  margin-top: auto;
}
.site-footer .footer-section h5 {
  color: #FFFAFA;
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer .footer-section ul li {
  padding: 0.25rem 0;
  transition: color 0.3s ease;
  color: #FFFAFA;
}
.site-footer .footer-section ul li:hover {
  color: rgba(243, 247, 10, 0.8);
}
.site-footer .footer-section p, .site-footer .footer-section address {
  color: #FFFAFA;
}
.site-footer .footer-bottom {
  color: #FFFAFA;
}
.site-footer .footer-bottom a {
  color: rgba(243, 247, 10, 0.8);
  transition: all 0.3s ease;
}
.site-footer .footer-bottom a:hover {
  text-decoration: underline;
  text-shadow: 0 0 4px rgba(243, 247, 10, 0.5);
}

/* Hero Section */
.hero {
  background-image: url("/imgs/garage-with-car.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, #052DB0 0%, #052DB0 20%, #052DB0 45%, rgba(243, 247, 10, 0.1) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
}

/* Services Section */
.services-section {
  background-color: #FFFAFA;
}
.services-section h2 {
  color: #052DB0;
  font-weight: 700;
  margin-bottom: 3rem;
}
.services-section .service-card {
  background-color: white;
  border: 2px solid #052DB0;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.services-section .service-card h3 {
  color: #052DB0;
  font-weight: 600;
  margin: 0;
}
.services-section .service-card:hover {
  background: linear-gradient(135deg, #052DB0 0%, rgb(3.591160221, 32.320441989, 126.408839779) 100%);
  border-color: rgba(243, 247, 10, 0.8);
}
.services-section .service-card:hover h3 {
  color: #FFFAFA;
}
.services-section .service-card:hover {
  box-shadow: 0 8px 16px rgba(5, 45, 176, 0.2);
  transform: translateY(-5px);
}

/* About Section */
.about-section {
  background-color: #f8f9fa;
}
.about-section h2 {
  color: #052DB0;
  font-weight: 700;
}
.about-section p {
  color: #181A18;
  line-height: 1.8;
}

/* Opening Times Section */
.opening-times {
  background-color: #FFFAFA;
}
.opening-times h2 {
  color: #052DB0;
  font-weight: 700;
}
.opening-times p {
  color: #181A18;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

/* Services Page Hero */
.services-hero {
  background-image: url("/imgs/fixing-engine.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.services-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.services-hero .container-fluid {
  position: relative;
  z-index: 1;
}
.services-hero h2 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

/* Contact Page Hero */
.contact-hero {
  background-image: url("/imgs/tyres.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(243, 247, 10, 0.3);
}
.contact-hero .container-fluid {
  position: relative;
  z-index: 1;
}
.contact-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 0;
}

/* Services Intro Section */
.services-intro-section {
  background-color: #FFFAFA;
  border-bottom: 3px solid #052DB0;
}
.services-intro-section p {
  color: #181A18;
  font-size: 1.125rem;
}

/* Services Detail Section */
.services-detail {
  background-color: #f8f9fa;
}
.services-detail .service-item {
  background-color: white;
  border-left: 4px solid #052DB0;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.services-detail .service-item h3 {
  color: #052DB0;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.services-detail .service-item p {
  color: #181A18;
  margin: 0;
  font-size: 1.125rem;
}
.services-detail .service-item:hover {
  border-left-color: rgba(243, 247, 10, 0.8);
  box-shadow: 0 8px 16px rgba(5, 45, 176, 0.15);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  body {
    font-size: 1.125rem;
  }
  .site-header .contact-info {
    display: none !important;
  }
  .hero {
    min-height: 350px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero .lead {
    font-size: 1.1rem;
  }
  .service-card {
    min-height: 150px !important;
  }
  .services-hero h2 {
    font-size: 2rem;
  }
}