header {
  padding: 20px 20px; /* Adjust top/bottom padding as needed */
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;
  position: relative;
}
.nav-items-wrapper {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo-and-toggle {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.logo {
  height: 75px;
}
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: red;
  margin-left: 15px;
}
.nav-menu {
  display: flex;
  gap: 30px;
  justify-content: flex-end;
  margin-right: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: black;
  font-size: 18px;
  transition: color 0.2s ease;
	line-height: 1;
  display: flex;
  align-items: center;
}
.nav-menu a.active {
  color: red;
}
.nav-menu a:hover {
  color: red;
}
.contact-button {
  background-color: red;
  color: white;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 18px; /* Match nav items */
  font-weight: normal; /* Remove bold if needed */
  font-family: inherit; /* Inherits from body (same as nav) */
  align-self: center; /* Ensures it aligns with nav items */
	line-height: 1;      /* important: aligns baseline */
}
.contact-button:hover {
  background-color: #ff4d4d; /* Light red */
  transition: background-color 0.2s ease;
}

.nav-contact-button {
  padding: 10px 28px;
  border-radius: 24px;
  background-color: red;
  color: white;
  font-size: 18px;
  font-weight: normal;
  font-family: inherit;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nav-contact-button:hover {
  background-color: #ff4d4d;
}


.close {
  display: none;
}

.main-heading {
  text-align: center;
  background-color: white;
  padding: 20px 20px 40px;
}

.main-heading .subtext {
  font-size: 18px;
  color: #000; /* Navy */
  margin: 10px 0;
}

.main-heading h1 {
  font-size: 52px;
  color: red;
  font-weight: bold;
  margin: 20px 0;
  line-height: 1.2;
}

.full-width-carousel {
  overflow: hidden;
  width: 100%;
  height: 700px; /* Adjust to desired height */
  position: relative;
}

.carousel-track {
  display: flex;
  width: 300vw; /* Three full-width images */
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: 100vw;
  height: 700px; /* match container height */
  object-fit: cover;
  object-position: center center; /* center both directions */
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.carousel-track img.active {
  opacity: 1;
}



.banner-black {
  background-color: #222;
  padding: 20px;
  text-align: center;
}

.banner-black p {
  color: white;
  font-size: 20px;
  margin: 0;
}

.banner-link {
  color: white;
  font-weight: bold;
  text-decoration: underline;
}

.banner-link:hover {
  color: #ff4d4d;
}

.promo-white {
  background-color: #f5f5f5;
  text-align: center;
  padding: 60px 20px 80px;
}

.promo-white h2 {
  font-size: 28px;
  color: red;
  font-weight: bold;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.4;
}

.promo-white p {
  font-size: 16px;
  color: #333;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.full-service {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.full-service h2 {
  color: red;
  font-size: 32px;
  margin-bottom: 50px;
  font-weight: bold;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background-color: #f5f5f5;
  padding: 30px 20px;
  max-width: 500px;
  border-radius: 0px;
  text-align: center;
  flex: 1 1 250px;
}

.service-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 24px;
  color: red;
  font-weight: bold;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 16px;
  color: #333;
  margin-bottom: 25px;
}

.service-card ul {
  text-align: left;
  padding-left: 20px;
  margin: 0 auto;
  max-width: 250px;
  list-style-type: disc;
}

.service-card li {
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
  line-height: 1.0;
}

.services-cta {
  background: url('images/Zachow-Plumbing-Header-3.jpg') no-repeat center center/cover;
  position: relative;
  min-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-cta-overlay {
  background-color: rgba(0, 0, 0, 0.55); /* soft overlay */
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.services-cta-box {
  background-color: red;
  padding: 40px 30px;
  border: 8px solid #8a0c0c;
  border-radius: 10px;
  text-align: center;
  max-width: 500px;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.services-cta-box h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: bold;
}

.services-cta-box p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.services-cta-button {
  display: inline-block;
  background-color: #ddd;
  color: #333;
  font-size: 16px;
  padding: 10px 26px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 15px;
  transition: background-color 0.3s, color 0.3s;
}

.services-cta-button:hover {
  background-color: #fff;
  color: red;
}

.collapsible-grid {
  background: red;
  border: 10px solid #8a0c0c;
  padding: 40px 20px;
  color: white;
  text-align: center;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.collapsible-grid h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.collapsible-item {
  background: white;
  color: #1e2d3b;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: left;
	align-self: start;
}

.collapsible-toggle {
  width: 100%;
  padding: 15px 20px;
  font-weight: bold;
  font-size: 16px;
  background: white;
  border: none;
  cursor: pointer;
  position: relative;
  text-align: left;
  color: #1e2d3b;
}

.collapsible-toggle::after {
  content: "›";
  position: absolute;
  right: 20px;
  transition: transform 0.3s;
}

.collapsible-item.active .collapsible-toggle::after {
  transform: rotate(90deg);
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.collapsible-item.active .collapsible-content {
  max-height: 500px; /* large enough for typical content */
  padding: 15px 20px;
}


.testimonials {
  background-color: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.testimonials h2 {
  color: red;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 40px;
}

.slider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.testimonial-wrapper {
  max-width: 700px;
  padding: 0 40px;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  transition: opacity 0.5s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-size: 18px;
  color: #1e2d3b;
  margin-bottom: 20px;
}

.testimonial-slide h4 {
  font-weight: bold;
  color: #1e2d3b;
}

.prev, .next {
  background: none;
  border: none;
  font-size: 32px;
  color: #1e2d3b;
  cursor: pointer;
  padding: 10px;
}

.dots {
  margin-top: 30px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #1e2d3b;
}

.testimonial-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #f5f5f5;
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.testimonial-card h3 {
  color: red;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
}

.testimonial-card p {
  font-size: 16px;
  color: #1e2d3b;
  line-height: 1.5;
}

.cta-card {
  background: url('images/Zachow-Plumbing-Residential-Plumbing.jpg') center center/cover no-repeat;
  position: relative;
  padding: 0;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: stretch;
}

.cta-overlay {
  background-color: rgba(255, 0, 0, 0.85);
  color: white;
  padding: 40px 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.cta-overlay h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-overlay p {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-overlay .services-cta-button {
  background-color: #ddd;
  color: #333;
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  display: block;              /* key to center it */
  margin: 15px auto 0 auto;    /* centers horizontally */
  max-width: 160px;
  text-align: center;
  white-space: nowrap;
}

.cta-overlay .services-cta-button:hover {
  background-color: #fff;
  color: red;
}

.about-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding: 60px 20px;
  background-color: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.about-card {
  background-color: #f5f5f5;
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.about-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  margin: 0 auto 20px;
}


.about-card p {
  font-size: 16px;
  color: #1e2d3b;
  line-height: 1.5;
}

.about-intro {
  text-align: center;
  background-color: #fff;
  padding: 60px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-intro h2 {
  color: red;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-intro p {
  font-size: 16px;
  color: #1e2d3b;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}


.contact-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  padding: 60px 40px;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1 1 500px;
  max-width: 500px;
}

.contact-left h2 {
  color: red;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-left p {
  font-size: 16px;
  color: #1e2d3b;
  margin-bottom: 15px;
}

.contact-left iframe {
  width: 100%;
  height: 250px;
  margin-bottom: 20px;
  border: 2px solid #ccc;
  border-radius: 8px;
}


.contact-left a {
  color: #1e2d3b;
  text-decoration: none;
}

.contact-form {
  flex: 1 1 500px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
	padding-top: 10px;
}

.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 16px;
  border: none;
  border-bottom: 2px solid #1e2d3b;
  outline: none;
  background: transparent;
  color: #1e2d3b;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-family: Arial, sans-serif; /* Replace with your preferred font */
  font-size: 16px;                /* Optional: match your input text size */
  color: #999;                    /* Optional: adjust color */
}


.contact-button {
  background-color: red;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  align-self: flex-start;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-button:hover {
  background-color: #ff4d4d;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}


.site-footer {
  background-color: red;
  padding: 15px 30px;
  color: #fff;
  font-size: 14px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left, .footer-right {
  color: #fff;
}

.site-footer a {
  color: #fff;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #ffcccc;
}

.privacy-policy {
  padding: 60px 20px;
  background-color: #fff;
  color: #333;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
}

.privacy-policy .container {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-policy h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #222;
}

.privacy-policy h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 10px;
  color: #222;
}

.privacy-policy h3 {
  font-size: 1.2rem;
  margin-top: 30px;
  margin-bottom: 8px;
  color: #444;
}

.privacy-policy p {
  margin-bottom: 20px;
}

.privacy-policy ul {
  margin: 10px 0 20px 20px;
  padding-left: 20px;
  list-style-type: disc;
}

.privacy-policy li {
  margin-bottom: 10px;
}




@media screen and (max-width: 1024px) {
  .nav-container {
    flex-direction: column;
    align-items: center;
  }
	.logo {
  height: 50px;
}

  .hamburger {
    display: block;
  }
	.logo-and-toggle {
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
}
 .nav-menu {
    display: none;
    flex-direction: column;
    gap: 15px;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    animation: fadeIn 0.3s ease-in-out;
  }
  .nav-menu.open {
    display: flex;
  }
  .close {
    display: block;
    font-size: 24px;
    align-self: flex-end;
    background: none;
    border: none;
    margin-bottom: 10px;
  }
  .contact-button {
    margin: 10px auto 0 auto;
  }
	.main-heading h1 {
    font-size: 32px;
  }

  .main-heading .subtext {
    font-size: 14px;
  }
	
	.full-width-carousel {
  height: 250px;
}
	
	.banner-black p {
  font-size: 16px;
  padding: 0 10px;
}

.promo-white {
  padding: 40px 15px 60px;
}

.promo-white h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

.promo-white p {
  font-size: 14px;
  margin-bottom: 30px;
}

.contact-button {
  padding: 10px 20px;
  font-size: 16px;
}

	.full-service h2 {
  font-size: 24px;
}

.service-cards {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.service-card {
  max-width: 90%;
}

	.services-cta-box {
  padding: 25px 20px;
  max-width: 90%;
}

.services-cta-box h2 {
  font-size: 22px;
}

.services-cta-box p {
  font-size: 14px;
}
	.testimonial-wrapper {
    padding: 0 20px;
  }

  .testimonial-slide p {
    font-size: 16px;
  }

  .testimonial-slide h4 {
    font-size: 14px;
  }

  .prev, .next {
    font-size: 28px;
  }
	
	.testimonial-grid-2x2 {
    grid-template-columns: 1fr;
  }
	
	.about-grid-2x2 {
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 40px 20px;
}
	
	.about-intro h2 {
  font-size: 24px;
}

.about-intro p {
  font-size: 16px;
}
	
	.contact-section {
  flex-direction: column;
		align-items: center;
  padding: 40px 20px;
}

.contact-left, .contact-form {
  max-width: 100%;
}

.contact-button {
  align-self: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
}

.contact-form {
  padding: 0 0px; /* Optional: adjust horizontal padding to match map */
}
	
	.social-icons {
  justify-content: center;
}

	.footer-content {
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

.footer-right {
  margin-top: 5px;
}

	
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}