/* === Navbar Toggler Icon === */
.toggler-white .navbar-toggler-icon {
  filter: brightness(0) invert(1);
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Toggler on small screens */
@media (max-width: 991px) {
  .toggler-white {
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 6px 10px;
  }

  .toggler-white .navbar-toggler-icon {
    filter: none;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba%280,0,0,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* === Landing Section === */
.landing-section {
  height: 95vh;
  overflow: hidden;
  position: relative;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* === Navbar Base === */
.navbar {
  transition: all 0.3s ease-in-out;
}

/* Default nav link style */
.navbar-nav .nav-link {
  color: white !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Hover effects */
.navbar-nav .nav-link:hover {
  background-color: rgba(33, 37, 41, 0.7); /* dark gray background */
  color: white !important;
  text-shadow: 0 0 8px rgba(13, 110, 253, 0.5);
}

/* Active link */
.navbar-nav .nav-link.active {
  font-weight: 700;
  color: white !important;
  text-shadow: 0 0 8px rgba(0, 123, 255, 0.7);
}

/* === Scrolled Navbar === */
.navbar.scrolled {
  background-color: #0d6efd !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Glow on hover when scrolled (large screens only) */
@media (min-width: 992px) {
  .navbar.scrolled .nav-link {
    color: #ffffff !important;
    background-color: transparent;
    text-shadow: none;
    box-shadow: none;
    margin: 0 0.3rem;
  }

  .navbar.scrolled .nav-link:hover,
  .navbar.scrolled .nav-link:focus,
  .navbar.scrolled .nav-link:active {
    background-color: rgba(255, 255, 255, 0.05);
    text-shadow: 0 0 6px rgba(0, 123, 255, 0.8), 0 0 12px rgba(0, 123, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .navbar.scrolled .nav-link.active {
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 6px rgba(0, 123, 255, 0.8), 0 0 12px rgba(0, 123, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

/* === Testimonials === */
.testimonial-img-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-img-wrapper img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: center;
}

/* === Contact Section === */
.contact-section {
  background: url('/Images/car-contact-us.jpeg') no-repeat center center;
  background-size: cover;
  position: relative;
  min-height: 90vh;
}

.contact-section .overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.60);
  z-index: 1;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* === Smooth Scrolling === */
html {
  scroll-behavior: smooth;
}
