/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Highlight current page in navigation */
nav a[aria-current="page"] {
  border-bottom: 2px solid #e63946;
  font-weight: bold;
}
.logo img {
  height: 150px;   /* or whatever looks good */
  width: auto;
  margin-top: 2px;  /* pull it up so it centers better */
  margin-bottom: -20px; /* optional: keeps nav aligned */
}


body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Header */

header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f8f8;
  padding: 10px 20px;
  border-bottom: 4px solid #B22222; /* red underline */
   position: relative; z-index: 5;
   height: 100px;
}

a:focus-visible, button:focus-visible {
  outline: 3px solid #ffb703; /* amber */
  outline-offset: 2px;
  border-radius: 4px;
}


nav ul  { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }


nav a {
  color: black;
  text-decoration: none;
  
}
nav a:hover {
  color: #ffb703; /* amber highlight on hover */
}

/* Hero */
.hero {
  background: #222;
  color: white;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  text-align: center;
  padding: 0px;
   position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
}
.hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(65%); /* keep overlay effect for text contrast */
}
.hero-text {
  position: absolute; inset: 0; display: grid;
   place-items: center; text-align: center; color: #fff; 
   z-index: 2; padding: 1rem; pointer-events: none; 
}
/* Re-enable clicking on the call button inside the overlay */
.hero-text .btn { 
  pointer-events: auto;
}
.carousel-control-prev, 
.carousel-control-next, 
.carousel-indicators {
  z-index: 3;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.logo a {
  text-decoration: none;
}


.cta-btn {
  display: inline-block;
 background: #e63946; /* red */
  color: white;
  transition: 0.3s ease;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
}
.cta-btn:hover {
  background: #ffb703; /* amber hover */
  color: #111;
}
/* Subpage hero (static image) */
.sub-hero {
  height: 50vh;
  position: relative;
  color: #fff;
}
.sub-hero::after {           /* subtle dark overlay for text contrast */
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
}
.sub-hero-text {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  padding: 1rem; z-index: 1;
}
.towing-hero {
  background: #222 url('assets/img/towing-hero.jpg') center/cover no-repeat;
}
.light-hero {
  background: #222 url('assets/img/light-hero.jpg') center/cover no-repeat;
}
.contact-hero { 
  background: #222 url('assets/img/contact-hero.jpg') center/cover no-repeat; 
}
.thanks-hero {
  background: #222 url('assets/img/thanks-hero.jpg') center/cover no-repeat;
}

.hp { display: none !important; }
.form-control:focus { 
  box-shadow: 0 0 0 0.2rem rgba(255,183,3,.35); /* amber glow */
  border-color: #ffb703;
}
/* Small gallery thumbs */
.thumb { width: 100%; height: 160px; object-fit: cover; border-radius: 8px; }

/* Services */
.services {
  padding: 40px 20px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.service {
  background: #f1f1f1;
  border: 2px solid #e63946; /* red border */
  transition: 0.3s ease;
  padding: 20px;
  border-radius: 8px;
}
.service:hover {
  background: #fff8e1; /* soft amber glow */
  transform: scale(1.03);
  border-color: #ffb703; /* amber border on hover */
}
/* Why Choose Us */
.why-us {
  background: #f8f8f8;
  padding: 40px 20px;
}

.why-us ul {
  list-style: none;
  max-width: 400px;
  margin: 20px auto 0;
}

.why-us li {
  margin: 10px 0;
  font-size: 1rem;
}

/* Contact Strip */
.contact-strip {
  background: #B22222; /* red */
  color: white;
  text-align: center;
  padding: 20px;
}

.contact-strip .cta-btn {
  margin-top: 10px;
  background: #ffb703; /* amber */
  color: #111;
}
.contact-strip .cta-btn:hover {
  background: #111; /* black hover */
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #111;
  color: #ccc;
  font-size: 0.9rem;
}
/* Mobile Nav */
/* Mobile Nav */
@media (max-width: 768px) {
  /* hide desktop menu; show as dropdown */
  nav ul {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;           /* hidden offscreen */
    height: 100%;
    width: 70%;             /* half the screen */
    background: #222;
    padding: 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 2000;
  }
  nav ul.show { display: flex; right: 0; }
  nav ul a { color: #fff; text-decoration: none; font-size: 1.2rem;
    margin: 1rem 0; }
  nav ul a:hover { color: #ffb000; } /* amber hover */
  

  /* put the hamburger in the top-right on mobile */
 
  .menu-toggle {
    display: block;
    position: absolute;       /* initial placement */
    right: 20px;
    top: 20px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;            /* ABOVE the panel */
  }
  .menu-toggle.active {
    position: fixed;          /* keep it on screen while panel slides in */
    right: 20px;
    top: 20px;
  }

.hamburger line {
  stroke: #111;   /* set to #fff if your header is dark */
  transition: all 0.3s ease;
}

/* When active (menu open) */
.menu-toggle.active .line1 {
  transform: rotate(45deg);
  transform-origin: 5% 20%;
}

.menu-toggle.active .line2 {
  opacity: 0;
}

.menu-toggle.active .line3 {
  transform: rotate(-45deg);
  transform-origin: 5% 80%;
}


.menu-toggle svg {
  width: 36px;   /* adjust size */
  height: 36px;

}
  .menu-toggle.active .hamburger line { stroke: #fff; }  /* X = white on dark */


  /* mobile logo sizing (this was accidentally nested before) */
  .logo img {
    height: 150px;
    margin-top: 2px;
    margin-bottom: -10px;
  }
}



@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}
/* Service cards */
.feature.card {
  border: 2px solid #B22222; /* brand red */
  transition: 0.3s ease;
  border-radius: 8px;
}
.feature.card:hover {
  border-color: #ffb703; /* amber hover */
  transform: scale(1.03);
}
.thumb {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-top: 10px;
}

/* Trust Bar */
.trust-bar {
  background: #fff8e1; /* soft amber background */
  border-top: 2px solid #ffb703;
  border-bottom: 2px solid #ffb703;
  font-size: 1rem;
}
.trust-bar strong {
  display: inline-block;
  padding: 5px 0;
}
.contact-success { 
  background:#fff8e1; border:2px solid #ffb703; 
  padding:16px; border-radius:8px; margin-top:16px; 
}
