@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=La+Castia&display=swap');

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

body {
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(90deg, #1a1a1a, #2c3e50) ;
  color: #333;
  line-height: 1.6;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #1a1a1a, #2c3e50);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 0 30px;
  z-index: 1000;
}
.logo img {
  height: 50px;
  object-fit: contain;
  display: block;
}




.nav-links ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
}

.nav-links a:hover {
  border-bottom: 2px solid #fff;
}

.contact-hover {
  position: relative;
}
.contact-tooltip {
  display: none;
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #333;
  padding: 10px 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  font-size: 14px;
}
.contact-hover:hover .contact-tooltip {
  display: block;
}

/* HERO SECTION */
.hero {
  background: url('../images/backgrounds/car-wash3.jpg') no-repeat center/cover;
  height: 70vh;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero .content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 20px;
}

.hero .content h1 {
  font-size: 50px;
  margin-bottom: 20px;
}
.hero .content p {
  font-size: 20px;
  margin-bottom: 15px;
}
.btn {
  background: #2831a7;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background: #1a237e;
}

/* ICON SECTIONS */
.icons {
  padding: 40px 20px;
  background: #fff;
}
.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.icon-box {
  flex: 1 1 calc(33.33% - 20px); /* 3 per row */
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.icon-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.icon-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.icon-box * {
  position: relative;
  z-index: 2;
}
.icon-box i {
  font-size: 36px;
  margin-bottom: 10px;
}
.icon-box h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.icon-box p {
  font-size: 1rem;
  line-height: 1.4;
}

/* SERVICE BACKGROUND IMAGES */
.car-wash-bg {
  background-image: url('../images/backgrounds/car-wash2.jpg');
}
.minor-service-bg {
  background-image: url('../images/backgrounds/minor-service.jpg');
}
.battery-bg {
  background-image: url('../images/backgrounds/battery.jpg');
}
.tyre-bg {
  background-image: url('../images/backgrounds/tyre.jpg');
}
.ac-bg {
  background-image: url('../images/backgrounds/car-ac.jpg');
}
.more-bg {
  background-image: url('../images/backgrounds/more.jpg');
}

/* SOLUTIONS SECTION */
.solutions {
  padding: 40px 20px;
}

.full-width-column {
  background: linear-gradient(90deg, #1a1a1a, #2c3e50); /* lighter grey */
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  text-align: left;
  max-width: 100%;
}

.bg-dark-grey {
  background-color: #fff;
}

.full-width-column h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}
.full-width-column p {
  font-size: 1rem;
  line-height: 1.5;
}
.full-width-column .btn-outline {
  margin-top: 15px;
  background: transparent;
  border: 2px solid #2831a7;
  color: #fff;
}
.full-width-column .btn-outline:hover {
  background: #2831a7;
  color: #fff;
}

/* FOOTER */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}
.footer .social {
  margin-bottom: 15px;
}
.footer .social a {
  margin: 0 10px;
  color: #fff;
}
.footer .social a:hover {
  color: #2831a7;
}
html {
  scroll-padding-top: 70px; /* Match your navbar height */
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .icon-box {
    flex: 1 1 100%;
    height: 250px;
  }
  .solutions .row {
    flex-direction: column;
  }
  .hero .content h1 {
    font-size: 32px;
  }
  .hero .content p {
    font-size: 18px;
  }
}

/* ANIMATION */
@keyframes fadeLoop {
  0%, 100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
.blink-text {
  animation: fadeLoop 2s ease-in-out infinite;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo span {
  animation: fadeSlide 1.2s ease-in-out forwards;
  opacity: 0;
}
