body {
  margin: 0;
}

.service-text {
  padding: 40px 32px;
  font-size: 25px;
  line-height: 2.5;
  text-align: center; /* centers the text */
}



/* Lightbox Styles */

#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
}


/* Tooltip container */
.google {
  position: relative;
  display: inline-block;
  text-align: center;
}

.bbb{
  position: relative;
  display: inline-block;
}
/* Tooltip text */
.tooltip-text {
  visibility: hidden;
  background-color: black;
  color: white;
  text-align: center;
  padding: 6px 10px;
  border-radius: 4px;

  position: absolute;
  bottom: 105%; /* above the image */
  left: 50%;
  transform: translateX(-50%);

  white-space: nowrap;
  font-size: 14px;
  z-index: 10;
}

/* Show tooltip on hover */
.bbb:hover .tooltip-text {
  visibility: visible;


}

.google:hover .tooltip-text {
  visibility: visible;
}
/* ---------------------------
   CONTACT US PAGE
---------------------------- */
.contact-title-section {
  text-align: left;
  padding: 60px 32px;
}

.contact-title-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}


.contact-iframe-container iframe{
  width: 100%;
  height: 1200px;
  border: none;

}


.contactUs-text {
  padding: 40px 32px;
  font-size: 25px;
  line-height: 2.5;
  text-align: center; /* centers the text */
}


/* ---------------------------
   Residential Title Section
---------------------------- */

.residential-title-section {
  text-align: left;
  padding: 40px 40px;
}

.residential-title-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}


/* ---------------------------
   Residential Section
---------------------------- */

.residential-section {
  text-align: left;
  padding: 40px 40px; /* keeps grid close to screen edges */
}

.residential-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}


/* ---------------------------
   Residential Image Grid
---------------------------- */

.residential-grid {
  display: grid;

  /* responsive columns that expand across the screen */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 20px;
  margin-top: 20px;
}


/* Images */

.residential-grid img {
  width: 100%;      /* fills the grid column */
  height: 350px;    /* consistent image height */

  object-fit: cover; /* prevents distortion */
  border-radius: 6px;

  display: block;
}


/* Placeholder text */

.placeholder-text {
  font-size: 16px;
  line-height: 1.6;

  max-width: 800px;
  margin: 0 auto 20px;

  text-align: center;
}

/* make the residential images click*/
.residential-grid img {
  cursor: pointer;
  transition: transform 0.2s ease;
}



/* ---------------------------
   COMMERCIAL GRID SECTIONS
---------------------------- */

.commercial-title-section {
  text-align: left;
  padding: 40px 40px;
}

.commercial-title-section h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.commercial-section {
  text-align: left;
  padding: 40px 40px;
}

.commercial-section h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

/* make the commercial images click*/
.commercial-grid img {
  cursor: pointer;
  transition: transform 0.2s ease;
}



/* ---------------------------
   Commercial Image Grid
---------------------------- */

.commercial-grid {
  display: grid;

  /* responsive columns that expand across the screen */
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));

  gap: 20px;
  margin-top: 20px;
}


/* Images */

.commercial-grid img {
  width: 100%;       /* fills the grid column */
  height: 250px;     /* consistent image height */

  object-fit: cover; /* prevents distortion */
  border-radius: 6px;

  display: block;
}


/* Placeholder text */

.placeholder-text {
  font-size: 16px;
  line-height: 1.6;

  max-width: 800px;
  margin: 0 auto 20px;

  text-align: center;
}





.bottom-banner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;

  align-items: end;   /* keeps center/right at bottom */

  padding: 30px 40px;
   background-color: #a6a6a6;
  border-top: 1px solid #e5e5e5;

  font-family: system-ui, sans-serif;
  font-size: 18px;
}

/* LEFT (UNCHANGED) */

.footer-left {
  justify-self: start;
}

/* CENTER */

.footer-center {
  justify-self: center;
  align-self: end;
  text-align: center;
}

/* RIGHT */

.footer-right {
  justify-self: end;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 6px;  /* keeps heading close to logos */
}

/* logos */

.footer-logos {
  display: flex;
  align-items: center;
  gap: 30px; /* space between BBB and Google */
}

.bbb {
  width: 200px;
  height: 65px;
 
  overflow: hidden;
}

.footer-logos img {
  width: 60px;
}
/* Generic hover caption for links wrapping images or iframes */
.hover-caption {
  position: relative;        /* container for overlay */
  display: inline-block;
  text-decoration: none;     /* remove underline */
}



/* ---------------------------
   TOP BANNER
---------------------------- */
.top-banner {
  display: flex;
  align-items: center;             /* vertically center logo and nav */
  justify-content: space-between;  /* logo left, nav right */
  padding: 20px 40px;              /* larger gray box, more space from edges */
  background-color: #a6a6a6;      /* gray background */
  border-bottom: 1px solid #e5e5e5;
  flex-wrap: wrap;                 /* allow wrapping on small screens */
}

.logo {
   width: clamp(300px, 45vw, 500px);
  height: auto;
}

.logo img {
  width: 100%;
  height: auto;
  display: block;
}


/* ---------------------------
   NAVIGATION
---------------------------- */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;      /* space between menu items */
}

nav a,
.dropdown-toggle {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 20px;
  color: #222;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
}

/* Hover */
nav a:hover,
.dropdown-toggle:hover {
  color: #0077cc;
}

/* ---------------------------
   DROPDOWN MENU
---------------------------- */
.dropdown {
  position: relative; /* ensures dropdown positions correctly */
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1000;

  display: flex;        /* use flex for alignment */
  flex-direction: column; /* stack links vertically */
}

.dropdown-content {
  padding: 0;
  margin: 0;
  list-style: none;
}

.dropdown-content li {
  padding: 0;
  margin: 0;
  list-style: none;

}

.dropdown-content li a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

.dropdown-content li a:hover {
  background-color: #f5f5f5;
}

.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}



/* ---------------------------
   GALLERY GRID
---------------------------- */

.gallery-page {
  padding: 32px 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

/* make the gallery images click*/
.gallery-grid img {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.galllery-grid img:hover {
  transform: scale(1.05);
}

/* make the gallery images click*/
.gallery-grid img {
  cursor: pointer;
  transition: transform 0.2s ease;
}


/* ---------------------------
   HERO IMAGE
---------------------------- */
.hero-image img {
  width: 100%;
  height: 800px; /* adjust as needed */
  object-fit: cover; /* keeps image from stretching */
  border-radius: 6px;
}

/* ---------------------------
   ABOUT / PLACEHOLDER TEXT
---------------------------- */
.about-text {
  padding: 40px 32px;
  font-size: 25px;
  line-height: 2.5;
  text-align: center; /* centers the text */
}


.gutters-section,
.gutter-screens-section {
  padding: 40px 40px;
  text-align: left;
}

.gutters-section h1,
.gutter-screens-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.gutters-grid {
  width: 100%;
}

.gutters-grid img {
  width: 100%;
  max-height: 750px;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  margin: 0 auto;

  cursor: pointer;
  transition: transform 0.2s ease;
}







/* ---------------------------
   MOBILE / TABLET RESPONSIVE
---------------------------- */

/* Tablets */
@media (max-width: 1024px) {

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .residential-grid,
  .commercial-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero-image img {
    height: 500px;
  }

  .service-text,
  .about-text,
  .contactUs-text {
    padding: 32px 24px;
    font-size: 22px;
    line-height: 2.0;
  }

}


/* Phones */
@media (max-width: 768px) {
.top-banner {
  padding: 10px 16px;
}

  /* Top banner stack */
  .top-banner {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  nav a,
  .dropdown-toggle {
    font-size: 18px;
  }

  .service-text,
  .about-text,
  .contactUs-text {
    padding: 28px 20px;
    font-size: 19px;
    line-height: 1.8;
  }

  /* Reduce padding */
  .gallery-page,
  .residential-section,
  .commercial-section,
  .gutters-section,
  .gutter-screens-section {
    padding: 24px 16px;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Residential & commercial grids */
  .residential-grid,
  .commercial-grid {
    grid-template-columns: 1fr;
  }

  .residential-grid img {
    height: 250px;
  }

  .commercial-grid img {
    height: 200px;
  }

  /* Hero image */
  .hero-image img {
    height: 350px;
  }

  /* Footer stack */
  .bottom-banner {
    grid-template-columns: 1fr;
    background-color: #a6a6a6;
    text-align: center;
    gap: 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    justify-self: center;
  }

  .footer-logos {
    justify-content: center;
  }

}


/* Small phones */
@media (max-width: 480px) {

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  nav a,
  .dropdown-toggle {
    font-size: 16px;
  }

  .service-text,
  .about-text,
  .contactUs-text {
    padding: 24px 16px;
    font-size: 17px;
    line-height: 1.7;
  }

  .hero-image img {
    height: 250px;
  }

}
