body {

  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  background-color: gray;
  color: #555;
}

.contact-body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  margin: 0;
  background-color: black;
  color: #555;
 background-image: url('wtimages/flat-roof-extension-dusk.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}


/* Global fix to prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}





/* Nav Section */
.navbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  color: black;
  box-sizing: border-box;
}

.navbar-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.navbar-left .logo {
  height: 80px;
  width: auto;
  margin-right: 10px;
}

.site-title {
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  text-align: center;
  font-size: 1rem;
  color: black;
}

.navbar-right {
  display: flex;
  flex: 2;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar-right a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
  padding: 0.5rem;
}

.navbar-right a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .navbar-left,
  .navbar-center,
  .navbar-right {
    width: 100%;
    justify-content: center;
    margin: 0.5rem 0;
  }

  .navbar-left .logo {
    height: 50px;
    width: auto;
    margin-right: 8px;
  }

  .site-title {
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
  }

  .navbar-center {
    font-size: 0.9rem;
    order: 3;
    margin-top: 0.3rem;
  }

  .navbar-right {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    order: 2;
    margin-top: 0.3rem;
    gap: 6px;
  }

  .navbar-right a {
    font-size: 0.9rem;
    padding: 0.4rem;
    margin: 0 0.5rem 0.3rem 0.5rem;
  }
}




/* Brochure Section */
.brochures {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #f9f9f9;
}

.brochures-heading {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.brochure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.brochure-card {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: #222;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brochure-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brochure-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.brochure-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.brochure-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #555;
}

.brochure-cta {
  font-weight: bold;
  color: #1256d9;
  font-size: 0.95rem;
}

/* Remove old layout if no longer needed */
.row,
.column {
  all: unset;
}

/* Optional: Maintain some spacing for legacy safety */
.row {
  margin: 20px 0;
}





/* === Slideshow Layout === */
.slideshow {
  margin: 0 auto;
  width: 100%;                /* Fixed from 100vw */
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  justify-content: center;
  height: 75vh;
  max-height: 900px;
  flex: 1 1 100%;
  box-sizing: border-box;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}

/* === Page Wrapper === */
.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;                /* Fixed from 100vw */
  margin: 0 auto;
  height: 75vh;
  max-height: 900px;
  overflow: hidden;
  background: white;
  border-radius: 0;
  box-shadow: none;
  position: relative;
  box-sizing: border-box;
}

/* === Sidebar Images === */
.left-text,
.right-text {
  flex: 0 0 18%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  border-radius: 0.5rem;
  box-sizing: border-box;
}

.left-text img,
.right-text img {
  width: 100%;
  height: 375px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === Main Text Section === */
.main-text {
  width: 100%;
  margin: 2rem auto;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  box-sizing: border-box;
}

.main-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}




/* Footer video section*/

.footer-break {
  /* Your existing footer-break styles (if any) remain here */
  padding: 1rem;
  text-align: center;
}

.footer-break .video-player iframe {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.footer-break .video-thumbnails {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap; /* Wrap on smaller screens */
  padding: 0 10px;
}

.footer-break .video-thumbnails button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  flex: 0 0 auto;
  width: 100px; /* fixed width for thumbnails */
  height: 60px;
}

.footer-break .video-thumbnails button:hover,
.footer-break .video-thumbnails button.active {
  box-shadow: 0 0 12px #1256d9;
  transform: scale(1.05);
  outline: none;
}

.footer-break .video-thumbnails img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 5px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-break .video-thumbnails button {
    width: 80px;
    height: 50px;
  }

  .footer-break .video-player iframe {
    width: 100%;
    height: 200px;
  }

  .left-text,
  .right-text {
    flex: none;
    width: 80%;
    margin: 0.5rem auto;
    background-color: transparent;
    padding: 0;
  }

  .left-text img,
  .right-text img {
    width: 100%;
    height: 150px;
    object-fit: cover;
  }

  .slideshow {
    width: 100%;
    height: 300px;
    flex: none;
    margin: 1rem 0 0 0;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  .slide {
    height: 100%;
    object-fit: cover;
  }

  .main-text {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .main-text h2 {
    font-size: 1.5rem;
  }

  .footer-break {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Desktop enhancement: larger video section */
@media (min-width: 768px) {
  .footer-break {
    padding: 3rem 2rem;
  }

  .footer-break .video-player iframe {
    width: 700px;
    height: 400px;
  }

  .footer-break .video-thumbnails button {
    width: 120px;
    height: 72px;
  }
}




/* Home checklist and UL */
.home-features {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.features-container {
  max-width: 1100px;
  margin: 0 auto;
}

.features-container h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.features-list {
  list-style: none;
  padding-left: 0;
  columns: 1;
  font-size: 16px;
  color: #444;
}

.features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
}

.features-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #1e8c4d;
  font-weight: bold;
}

@media (min-width: 768px) {
  .features-list {
    columns: 2;
    column-gap: 50px;
  }
}

/* Image Gallery Container */
.image-gallery {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  width: 100%;
  padding: 0;
  margin: 0 auto;
  gap: 1rem;
  max-width: 1100px;
  box-sizing: border-box;
}

/* Each clickable image block */
.image-link {
  display: block;
  width: 23%; /* ~4 items per row with gaps */
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  text-decoration: none; /* remove underline */
  color: inherit; /* keep text color consistent */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-link:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* Overlay container to position text */
.image-overlay {
  position: relative;
  width: 100%;
  height: 250px; /* fixed height, adjust if needed */
  overflow: hidden;
  border-radius: 1rem;
}

/* The image itself */
.image-overlay .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.image-link:hover .image {
  transform: scale(1.05);
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* wrap on small screens */
  padding: 1rem;
}

.image-container img {
  width: 100%;
  max-width: 300px; /* maximum size */
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* Text overlay */
.overlay-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  text-align: center;
}

/* Title styling */
.overlay-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Small line separator */
.title-line {
  width: 50px;
  height: 3px;
  background: #FFA600; /* example accent color */
  margin: 0.3rem auto 0.5rem auto;
  border-radius: 2px;
}

/* Paragraph text */
.overlay-content p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
  .image-gallery {
    justify-content: center;
    gap: 1rem;
  }

  .image-link {
    width: 90%; /* stack vertically */
    max-width: 400px;
    margin: 0 auto;
  }

  .image-overlay {
    height: 200px;
  }
}



/* Conservatory checklist and UL */
.conservatory-section {
  background-color: #f7f7f7;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;;
}

.conservatory-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.conservatory-content h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding-left: 0;
  columns: 1;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #555;
}

.feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #2a8b4c;
  font-size: 16px;
}

@media (min-width: 768px) {
  .feature-list {
    columns: 2;
    column-gap: 40px;
  }
}


/* Footer organisation and content  */
.footer {
  background-color: #1e1e1e;
  color: #f1f1f1;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', Tahoma, sans-serif;;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.footer-section {
  flex: 1 1 30%;
  padding: 10px;
  box-sizing: border-box;
  
}

.footer-logo {
  flex: 0 0 120px; /* fixed width for logo */
  display: flex;
  align-items: center;
}

.footer-logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 18px;
  border-bottom: 2px solid #555;
  padding-bottom: 5px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;

}

.footer-section ul li a:visited {
  margin-bottom: 10px;
  color: #eff3f1;
}

.footer-section ul li a:hover {
  margin-bottom: 10px;
  color: green;
}


.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #bbb;
  line-height: 1.6;
}

.footer-bottom a {
  color: #f1f1f1;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ddd;
}

@media (max-width: 768px) {
  .footer-section {
    flex: 1 1 100%;
    text-align: center;
  }
}

/*DROPDOWN
.custom-select {
  position: relative;
  display: inline-block;
}

.custom-select select {
  appearance: none;
  padding: 10px;
  width: 200px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.custom-select::after {
  content: "▼";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
}
*/

.divider-image {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* wrap on small screens */
  padding: 1rem;
}

.divider-image img {
  width: 100%;
  max-width: 300px; /* maximum size */
  height: auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}




/* FORM  */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');

.formcarry-container {
  box-sizing: border-box;
  margin: 40px auto 0 auto;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: white;
  width: 400px;
  

  /* NORMAL */
  --fc-border-color: #ECEFF9;
  --fc-normal-text-color: #0E0B3D;
  --fc-normal-placeholder-color: #B3B8D0;

  /* PRIMARY COLOR | HSL FORMAT*/
  --fc-primary-color-hue: 220;
  --fc-error-color-hue: 356;
  --fc-primary-hsl: var(--fc-primary-color-hue), 100%, 54%;
  --fc-error-hsl: var(--fc-error-color-hue), 100%, 54%;

  /* HOVER */
  --fc-field-hover-bg-color: #F7F9FC;
  --fc-border-hover-color: #DDE0EE;
  --fc-field-hover-text-color: #B3B8D0;

  --fc-border-active-color: #1463FF;
}

.formcarry-container * {
  box-sizing: border-box;
}

.formcarry-container label {
  display: block;
  cursor: pointer;
}

.formcarry-container .formcarry-block:not(:first-child) {
  margin-top: 16px;
}

.formcarry-container input,
.formcarry-container textarea,
.formcarry-container select {
  margin-top: 4px;
  width: 100%;
  height: 42px;
  border: 1px solid var(--fc-border-color);
  color: var(--fc-normal-text-color);
  border-radius: 6px;
  padding: 8px 12px;
  
  font-family: "Inter", sans-serif;
  font-size:14px;
  transition: 125ms background, 125ms color, 125ms box-shadow;
}

.formcarry-container textarea{
  min-height: 188px;
  max-width: 100%;
  padding-top: 12px;
}

.formcarry-container input::placeholder,
.formcarry-container textarea::placeholder,
.formcarry-container select::placeholder {
  color: var(--fc-normal-placeholder-color);
}

.formcarry-container input:hover,
.formcarry-container textarea:hover,
.formcarry-container select:hover {
  border-color: var(--fc-border-hover-color);
  background-color: var(--fc-field-hover-bg-color);
}

.formcarry-container input:hover::placeholder,
.formcarry-container textarea:hover::placeholder,
.formcarry-container select:hover::placeholder {
  color: var(--fc-field-hover-text-color);
}

.formcarry-container input:focus,
.formcarry-container textarea:focus,
.formcarry-container select:focus {
  background-color: #fff;
  border-color: hsl(var(--fc-primary-hsl));
  box-shadow: hsla(var(--fc-primary-hsl), 8%) 0px 0px 0px 3px;
  outline: none;
}

.formcarry-container select {
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.9997 14.5001L8.46387 10.9642L9.64303 9.78589L11.9997 12.1434L14.3564 9.78589L15.5355 10.9642L11.9997 14.5001Z' fill='%236C6F93'/%3E%3C/svg%3E%0A");
  /* background-position: calc(100% - 20px) calc(1em + 4px), calc(100% - 15px) calc(1em + 4px); */
  background-size: 24px 24px;
  background-position: 98%;
  background-repeat: no-repeat;
  appearance: none;
  -webkit-appearance: none;
}

.formcarry-container button {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  height: 42px;
  line-height: 40px;
  width: 100%;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid hsla(var(--fc-primary-hsl));
  background-color: hsla(var(--fc-primary-hsl));
  color: #fff;
  cursor: pointer;
}

.formcarry-container button {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.02em;
  height: 40px;
  line-height: 24px;
  width: 100%;
  border: 0;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: hsla(var(--fc-primary-hsl));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 0 transparent;
  
  transition: 125ms all;
}

.formcarry-container button:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), hsla(var(--fc-primary-hsl));
}

.formcarry-container button:focus {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), hsla(var(--fc-primary-hsl));
  border-inline: 1px solid inline rgba(255, 255, 255, 0.6);
  box-shadow: 0px 0px 0px 3px rgba(var(--fc-primary-hsl), 12%);
}

.formcarry-container button:active {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), hsla(var(--fc-primary-hsl));
}

.formcarry-container button:disabled {
  background-color: hsla(var(--fc-primary-hsl), 40%);
  cursor: not-allowed;
}

.formcarry-container input:focus:required:invalid,
.formcarry-container input:focus:invalid, 
.formcarry-container select:focus:required:invalid,
.formcarry-container select:focus:invalid
{
  color: hsl(var(--fc-error-hsl)); 
  border-color: hsl(var(--fc-error-hsl));
  box-shadow: 0px 0px 0px 3px hsla(var(--fc-error-hsl), 12%);
}

/* === MOBILE FIX FOR NAVBAR OVERLAP === */
@media (max-width: 768px) {
  .formcarry-container {
    margin-top: 230px; /* Adjust to match your navbar height */
  }
}

/* === MOBILE FIX FOR NAVBAR HIDDEN === */
@media (max-width: 768px) {
  .wrapper {
    margin-top: 120px; /* Adjust based on your fixed navbar height */
  }
}

/* === MOBILE FIX FOR NAVBAR HIDDEN === */
@media (max-width: 768px) {
  .main-text {
    margin-top: 120px; /* Adjust based on your fixed navbar height */
  }
  
   .main-text img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
}
