/* Reset styles */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #DAD1C7; /* Set background colour */
}

h2 {
  display: block;          /* ensures block-level spacing */
  text-align: center;
  font-size: 16px;
  color: #000000;
  font-family: 'Merriweather', serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  width: 90%;
  margin: 0 auto;          /* reset margin */
  padding-bottom: 25px;    /* guaranteed spacing below each h2 */
}




h3 {
  text-align: left;
  font-size: 24px; /* Slightly larger than 16px */
  color: #303F81; /* Blue color */
  font-family: 'Montserrat', sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  width: 90%;
  margin: 0 auto;
}

h1 {
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.5rem); 
  /* Responsive font size */
  color: #143A5D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: clamp(0.01em, 0.3vw, 0.05em); 
  /* Tighter spacing: smaller on mobile, modest on desktop */
  line-height: 1.8;
  margin: clamp(1rem, 4vw, 3rem) 0; 
  /* Responsive top & bottom margin */
  background-color: #f22b2c;
  padding: clamp(1rem, 3vw, 2rem) 0; 
  /* Responsive vertical padding inside the green bar */
  border: none;
  width: 100%;
  display: block;
}




@media only screen and (min-width: 600px) {
  h2 {
    max-width: 88%; /* Set a maximum width */
    margin: 0 auto; /* Center the element horizontally */
    text-align: justify; /* Spread the text evenly */
    padding: 0; /* Remove padding */
  }
}

.text-container {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
 }

.text {
  text-align: left;
}

.text p {
  margin-bottom: 1em;
  padding: 0;
}

.image {
  flex-shrink: 0;
  margin-left: 20px;
}

.image img {
  max-width: 100%;
  height: auto;
}

.centered-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.centered-image img {
  max-width: 100%;
  height: auto;
}

/* Prevent overflow issues */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Ensures no horizontal scrolling */
}

.video-wrapper {
    position: relative;
    width: 100vw;
    height: 500px; /* Deeper height on desktop */
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .video-wrapper {
        height: 300px; /* Reduced height on mobile */
    }
}





.caption-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.4);
  color: #212c55;
  padding: 10px;
  font-size: 16px;
  opacity: 1; /* Ensure it remains visible */
}


.pips {
  text-align: center;
  margin-top: 10px;
}

.pip {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #2f2e2e;
  margin: 0 5px;
  cursor: pointer;
}

.pip.active {
  background-color: #596eba;
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .caption-wrapper {
    display: none;
  }
}

/* Wrapper element to contain the main content and footer */
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header styles */
.header {
  background-color: #143a5d;
  background-image: url('../imgs/.jpg'); /* Add your background image path here */
  background-size: cover; /* Ensures the image covers the entire header */
  background-position: center; /* Centers the background image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  text-align: center;
  position: relative;
  padding: 20px; /* Adjust padding as needed */
}

.logo img {
  max-width: 100%;
  height: auto;
  padding: 10px;
}

/* Navigation styles */
.navigation {
  background-color: #F22B2C;
  padding: 10px;
  display: flex;
  justify-content: center;
  position: relative; /* Makes z-index work */
  z-index: 1; /* Ensure navigation stays above other content */
}

.navigation ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.navigation ul li {
  display: inline-block;
  margin: 0 10px;
  position: relative; /* Makes dropdowns work */
}

.navigation ul li a {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  text-transform: ;
  font-size: 18px; /* NEW: Adjust text size here */
}

.navigation ul li a:hover {
  color: #143A5D;
  border-bottom: px solid #FEED00; /* Fixed: added 1px */
}

.navigation ul li a.active {
  color: #07516E;
  font-weight: bold; /* Added bold weight */
  text-decoration: none;
  border-bottom: 1px solid #FEED00;
  border-top: 1px solid #FEED00;
}

/* Dropdown styles */
.dropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  width: 240px;
  top: 100%;
  left: 0;
  z-index: 2; /* Ensure dropdown appears above navigation */
}

.navigation ul li:hover .dropdown {
  display: block;
}

.dropdown li {
  display: block;
  margin: 0;
  text-align: left;
}

.dropdown li a {
  color: #fff;
  padding: 10px;
  font-size: 16px; /* Optional: adjust dropdown text size */
}



/* Hamburger menu styles */
.hamburger {
  display: none;
  width: 100%;
  height: 38px;
  background: #586EBA; /* Change background color */
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-right: 10px;
}

.hamburger.active {
  background-color: #586EBA; /* Ensure active state matches */
}

.hamburger__line {
  display: block;
  width: 25px;
  height: 4px;
  background-color: #ffffff; /* Change line color to blue */
  margin-bottom: 5px;
}

/* Main content styles */
main {
  flex-grow: 1;
  margin: 0px;
  font-family: "HKGrotesk", sans-serif;
}

/* Footer styles */
footer {
  background-color: #2F2F2F;
  background-image: url('../imgs/.jpg'); /* Add your background image path here */
  background-size: cover; /* Ensure the image covers the entire footer */
  background-position: center; /* Center the background image */
  background-repeat: no-repeat; /* Prevent the image from repeating */
  color: #DAD1C7; /* Updated text color */
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 20px; /* Reduced padding for smaller screens */
  text-align: left;
  margin-top: auto; /* Pushes the footer to the bottom */
  display: flex; /* Use flexbox */
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
  justify-content: space-between; /* Distribute items equally */
}

/* Style for links within the footer */
footer a {
  color: #000000; /* White text color */
  text-decoration: none; /* No underline */
}

/* Add styles for each column */
.footer-column {
  flex: 1; /* Each column takes equal space */
  flex-basis: 33.333%; /* Each column takes up one-third of the available space */
}

/* Style for each item within a column */
.footer-item {
  margin-bottom: 20px; /* Add spacing between items */
}

/* Style for images within items */
.footer-item img {
  margin-right: 10px; /* Add spacing to the right of images */
  vertical-align: middle; /* Align images vertically with text */
}

/* Style for images within items */
.footer-item img {
  margin-right: 10px; /* Add spacing to the right of images */
  vertical-align: middle; /* Align images vertically with text */
}

/* Small homepage floor shop links container */
.floor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  max-width: 100%;
  margin-left:20px;
  margin-right: 20px;
}

.floor-image {
  position: relative;
  max-width: 640px; /* Set the maximum width of the floor image */
}

.floor-image img {
  display: block;
  width: 100%;
  height:100%;
  border-radius: 3px;
  transition: opacity 0.3s ease;
}

.floor-image a {
  display: block;
  text-decoration: none;
}

.floor-caption {
  display: block;
  text-align: center;
  font-family: "HKGrotesk", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  color: #2f2e2e;
  margin-top: 5px;
  transition: color 0.3s ease;
}

.floor-image:hover img {
  /* opacity: 0.8; */
  transition: opacity 0.6s ease;
  box-shadow: 0px 0px 10px rgba(7, 81, 207, 0.5); /* Adjust the values as needed */
}

.floor-caption:hover {
  color: #2f2e2e;
}

/* boxes with links to log burners */
.text-container-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff; /* keep or remove as needed */
  padding: 1em; /* optional: space inside the container */
  box-sizing: border-box;
}

.text {
  flex: 1 1 22%; /* smaller width to fit 4 boxes in a row */
  text-align: center;
  padding: 2.5em;
  box-sizing: border-box;
  border: 1px solid #d0d7de;
  margin: 0.5em;
  background-color: #f9fbfc;
  border-radius: 30px; /* pill-shaped corners */
  transition: all 0.3s ease;
}

.text h1 {
  font-family: Arial, sans-serif;
  color: #143A5D;
  font-size: 1.6em; /* slightly larger headings */
  line-height: 1.4; /* more vertical spacing for wrapped lines */
  border-bottom: 1px solid #d0d7de;
  padding-bottom: 0.5em;
  margin-top: 0; /* no extra top margin */
  margin-bottom: 1em;
}

.text p {
  margin: 0 auto 1em auto; /* clean spacing below paragraphs */
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0.5px;
  line-height: 1.8;
  max-width: 90%; /* keeps paragraphs nicely contained */
}

@media (max-width: 768px) {
  .text-container-columns {
    flex-direction: column;
    padding: 0.5em; /* tighter padding on small screens */
  }

  .text {
    flex: 1 1 100%;
    margin: 0.5em 0;
    padding: 1.5em; /* slightly less padding on mobile */
  }

  .text h1 {
    font-size: 1.4em; /* smaller headings on mobile */
    line-height: 1.4;
  }

  .text p {
    font-size: 15px; /* slightly smaller text for better fit */
  }
}

.text:hover {
  background-color: #DAD1C7; /* subtle light blue on hover */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* soft shadow */
  transform: translateY(-3px); /* slight lift */
  border-radius: 12px; /* keep rounded corners on hover */
  transition: all 0.3s ease; /* smooth effect */
}



/* Contact Form styles */
.contact-form {
  max-width: 600px; /* limit the width */
  width: 100%;      /* full width up to max-width */
  padding: 0 20px;  /* horizontal padding for all screens */
  margin: 0 auto;   /* center the form */
}

.contact-form h2 {
  margin-bottom: 20px;
}

.contact-form form {
  display: grid;
  grid-gap: 10px;
}

.contact-form label {
  font-weight: bold;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: "HKGrotesk", sans-serif;
  font-size: 16px;
  width: 100%;
  padding: 5px;
  box-sizing: border-box; /* ensures padding doesn’t overflow */
}

.contact-form input[type="submit"] {
  background-color: #2f2e2e;
  color: #ffffff;
  border-radius: 3px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background-color: #f6b154;
  color: #2f2e2e;
}

/* Optional: adjust padding on very small screens */
@media (max-width: 480px) {
  .contact-form {
    padding: 0 10px;
  }
}

/* Google Maps styles */
.google-map {
  margin-top: 40px;
}

.google-map h2 {
  margin-bottom: 20px;
}

.google-map iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.social-icons img {
 max-width: 50px;
}

/* Responsive styles for mobile */
@media (max-width: 600px) {
  .text-container {
    flex-direction: column;
  }

  .contact-form {
    margin-left: 0;
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .navigation {
    display: none;
  }

  .navigation.active {
    display: block;
  }

  .navigation ul li {
    display: block;
    margin: 10px 0;
  }

  .hamburger {
    display: block;
  }

  .header {
    position: relative;
  }
  
  @media (max-width: 600px) {
  h2 {
    max-width: 90%;
    margin: 0 auto;
    text-align: justify; /* Ensure text is justified */
  }
  h3 {
    text-align: justify; /* Justify text for h3 */
  }
  
  .text p {
    text-align: justify; /* Justify paragraph text within .text */
  }
  .text-container {
    flex-direction: column;
    text-align: justify; /* Ensure justification for the container's text */
  }
}
S
  
  /* Strap Line */
}
/* CSS for strap container right image */
.strap_container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  border: 2px solid #ddd;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  font-size: 16px; /* Set font size to 16px */
  color: #000000; /* Set text color to #000000 */
  letter-spacing: 0.5px;
  line-height: 1.8;
}

  /* CSS for text header */
  .strap_header {
    flex: 1;
    margin-left: 20px;
    min-width: 300px;
  }

  /* CSS for image */
  .image {
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
  }

  /* Media query for mobile devices */
  @media (max-width: 768px) {
    .strap_container {
      flex-direction: column;
	  margin-right: 10px;
	  margin-left: 10px;
	  margin-bottom: 50px;
    }
    .image {
      order: -1;
    }
    .strap_header {
      margin-left: 0;
      margin-top: 20px;
      min-width: auto;
    }
  }

  /* Add some space between the containers */
  .strap_container + .strap_container {
    margin-top: 40px;
  }
  
  .strap_container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  border: 2px dotted #2a00ff;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

.image {
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.strap_header {
  flex: 1;
  margin-left: 20px;
  min-width: 300px;
}

@media (max-width: 768px) {
  .strap_container {
    flex-direction: column;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 50px;
  }
  .strap_header {
    margin-left: 0;
    margin-top: 20px;
    min-width: auto;
  }
}

.strap_container + .strap_container {
  margin-top: 40px;
}

/* CSS for left aligned text on contact page */
.left-align .text {
  text-align: left;
}

.float-right {
    float: right;
    margin: 0 20px 10px 15px;
    max-width: 28%;
    padding: 10px;
    background-color: #f9f9f9;
    border: 2px dotted #2a00ff;
    border-radius: 8px;
    box-sizing: border-box; /* Ensures padding doesn't exceed max-width */
    text-align: left; /* Ensures text is aligned to the left */
}


.float-right {
    float: right;
    margin: 0 20px 10px 15px;
    max-width: 28%;
    padding: 10px;
    background-color: #f9f9f9;
    border: 2px dotted #2a00ff;
    border-radius: 8px;
    box-sizing: border-box; /* Ensures padding doesn't exceed max-width */
    text-align: left; /* Ensures text is aligned to the left */
}

.float-right img {
    width: 100%; /* Ensures image fits inside container */
    height: auto;
    display: block;
}

.float-right p {
    word-wrap: break-word; /* Prevents text overflow */
}

/* Mobile-Friendly Fix */
@media (max-width: 768px) {
    .float-right {
        float: none; /* Removes floating on small screens */
        max-width: 100%; /* Makes it take full width */
        margin: 10px auto; /* Centers the container */
        text-align: center; /* Optional: Center text for better readability */
    }
}







