/* Reset & base styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth; /* smooth scrolling for anchor links */
}

/* Top banner */
.top-banner {
  background: red;
  color: white;
  text-align: center;
  padding: 10px;
}

/* Navbar */
.navbar {
  background: #222;
  padding: 10px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}
.navbar a:hover {
  color: orange;
}

/* Hero / Logo */
.hero {
  text-align: center;
  padding: 0;
}
.full-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Intro section */
.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
  padding: 50px 20px;
  text-align: center;
  color: white;
  background-image: url('../images/background1.jpg');
  background-size: cover;
  background-position: center;
}
.intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 0;
}
.intro * {
  position: relative;
  z-index: 1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background: orange;
  color: white;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
}
.email {
  background: blue;
}
.buttons {
  margin-top: 20px;
}

/* Sections */
.section {
  padding: 40px 20px;
  text-align: center;
}

/* Fade-in scroll */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Service Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: #eee;
  padding: 20px;
  min-width: 200px;
  max-width: 300px;
  border-radius: 10px;
  text-align: left;
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.card .icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.card h3 {
  margin: 10px 0 5px;
}
.card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}
.card-btn {
  display: inline-block;
  padding: 8px 15px;
  background: orange;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}
.card-btn:hover {
  background: darkorange;
}

/* Gallery */
#gallery img {
  width: 200px;
  margin: 10px;
  border-radius: 5px;
}

/* Testimonials */
.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 20px auto;
}
.testimonial-card {
  display: none;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.testimonial-card.active {
  display: block;
  animation: fade 1s;
}
.testimonial-card p {
  font-style: italic;
}
.testimonial-card h4 {
  text-align: right;
  margin-top: 10px;
  font-weight: normal;
}
@keyframes fade {
  from {opacity: 0;}
  to {opacity: 1;}
}
.testimonial-buttons {
  margin-top: 10px;
}
.testimonial-buttons button {
  background: #222;
  color: white;
  border: none;
  padding: 8px 12px;
  margin: 0 5px;
  cursor: pointer;
  border-radius: 5px;
}
.testimonial-buttons button:hover {
  background: orange;
}

/* Lead Form / Contact */
.lead-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}
.lead-form fieldset {
  border: 1px solid #ccc;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
}
.lead-form legend {
  font-weight: bold;
}
.lead-form label {
  display: block;
  margin-bottom: 5px;
  margin-top: 10px;
}
.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}
.lead-form button[type="submit"] {
  background: orange;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
}
.lead-form button[type="submit"]:hover {
  background: darkorange;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .intro {
    padding: 30px 15px;
    min-height: 300px;
  }
  .intro h1 {
    font-size: 1.5rem;
  }
  .intro p {
    font-size: 1rem;
  }
  .cards {
    flex-direction: column;
    align-items: center;
  }
  #gallery img {
    width: 100%;
    max-width: 300px;
  }
}
/* Who We Are Section */
#who-we-are {
  background-color: #333; /* solid color background overlay */
  color: white;
  padding: 80px 20px; /* extra top/bottom spacing */
  position: relative;
  text-align: center;
}

#who-we-are .who-we-are-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Fade-in effect */
#who-we-are.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
#who-we-are.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Paragraphs */
#who-we-are p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left; /* easier to read for longer text */
}

/* Bullet points */
#who-we-are ul {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 500px;
  text-align: left;
}
#who-we-are li {
  font-weight: bold;
  margin-bottom: 8px;
}
#who-we-are li::before {
  content: "✔️";
  margin-right: 10px;
  color: orange;
}

/* Where We Work */
#who-we-are h3 {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

#who-we-are .hours-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

#who-we-are .hours {
  text-align: left;
  margin-bottom: 15px;
}

#who-we-are .hours h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

#who-we-are .hours p {
  margin: 0;
  font-size: 1rem;
}

/* Small logo */
#who-we-are .small-logo img {
  max-width: 180px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #who-we-are p {
    font-size: 0.95rem;
    text-align: left;
  }

  #who-we-are .hours-logo {
    flex-direction: column;
    align-items: flex-start;
  }

  #who-we-are .small-logo {
    margin-top: 15px;
  }
}

/* Clean checkbox alignment (handles multi-line text) */
.lead-form fieldset label {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 8px;
  margin-bottom: 10px;
  cursor: pointer;
}

.lead-form input[type="checkbox"] {
  margin: 0;
  transform: translateY(3px); /* slight vertical tweak */
}

/* CTA STRIP */
.cta-strip {
  background: white;
  color: black;
  text-align: center;
  padding: 40px 20px;
}

.cta-strip h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: orange;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: transform 0.2s ease, background 0.3s ease;
}

.cta-btn:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* FOOTER */
.footer {
  background: #111;
  color: white;
  padding: 50px 20px 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 220px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 12px;
}

.footer-section p {
  margin: 6px 0;
  font-size: 0.95rem;
}

/* Social Buttons */
.social-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: transform 0.2s ease, background 0.3s ease;
}

.social-btn i {
  font-size: 1.2rem;
}

/* Facebook */
.social-btn.facebook {
  background: #1877f2;
}
.social-btn.facebook:hover {
  background: #145dbf;
  transform: translateY(-2px);
}

/* Yelp */
.social-btn.yelp {
  background: #d32323;
}
.social-btn.yelp:hover {
  background: #a71c1c;
  transform: translateY(-2px);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  font-size: 0.9rem;
  border-top: 1px solid #444;
  padding-top: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .social-btn {
    justify-content: center;
  }
}

/* Slider container spacing */
.slider-container {
  display: flex;
  flex-direction: column;
  gap: 40px; /* space between sliders */
}

/* Slider wrapper */
.ba-slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

/* Gallery Grid (overrides old styles safely) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1000px;
  margin: 40px auto 0;
}

/* IMPORTANT: override your old img rules */
.gallery-grid img {
  width: 100% !important;
  height: 250px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

/* Hover effect */
.gallery-grid img:hover {
  transform: scale(1.03);
}

/* Mobile */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: auto;
  }
}

footer {
  width: 100%; /* full width */
  max-width: 100%; /* override any container limits */
  background: #222; /* keep your background */
  color: white;
  text-align: center;
  padding: 30px 20px; /* bigger padding if needed */
  box-sizing: border-box; /* ensures padding doesn't shrink footer */
}
footer .footer-content {
  max-width: 1200px; /* optional: center content nicely */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.area-code {
  display: inline; /* ensures the number stays on the same line */
  vertical-align: baseline; /* aligns it properly with the rest of the number */
}