/*  Taken from css/styles.css?v=1.0.1 05/04/25 11;50am  */

/* Reset styles */
html {
  box-sizing: border-box;
}
*,
*:before,
*:after {
  box-sizing: inherit;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  background-color: #ffffff;
}

a,
a:link {
  color: black;
  text-decoration: none;
}
a:hover {
  color: blue;
}
a:visited {
  color: black;
}
a:active {
  color: green;
}

h1 {
  text-align: center;
  font-size: 32px; /* Added font size */
  color: #0a9103; /* Blue color */
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  margin: 1rem 20px;
  border-top: 1px solid #ffcb1d; /* Blue line above */
  border-bottom: 1px solid #ffcb1d; /* Blue line below */
  padding: 10px 0; /* Adjust top padding for space between line and text */
}
h2 {
  text-align: center;
  font-size: 16px;
  color: #000000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  width: 90%;
  margin: 0 auto;
}

h3 {
  text-align: left;
  font-size: 24px; /* Slightly larger than 16px */
  color: #303f81; /* Blue color */
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  margin: 0 auto;
}
.welcome > p {
  font-size: 1rem;
  color: #000000;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  margin: 0 0 1rem;
  padding: 0 1rem;
}
.text-container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
.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;
}
img.join {
  display: block;
  margin: auto;
  max-width: 100%;
}
.centered-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

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

/* Homepage slideshow styles */
.slideshow {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.image-wrapper {
  position: relative;
}
.image-wrapper img {
  width: 100%;
  height: auto;
  display: none;
  opacity: 0;
  transition: opacity 1s;
}

.image-wrapper img.active {
  display: block;
  opacity: 1;
}

.caption-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.4);
  color: #212c55; /* Changed the font color to white */
  padding: 10px;
  font-size: 16px;
  opacity: 0;
  transition: opacity 1s;
}

.caption-wrapper.active {
  opacity: 1;
}

.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;
  max-width: 1360px;
  margin: auto;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.header {
  position: relative;
  z-index: 1;
  display: grid; /* Helps with centering content if needed */
  align-items: center; /* Centers content vertically */
  justify-items: center; /* Centers content horizontally */
  grid-template-areas: "header";
}
.main-header-img {
  width: 100%;
  display: block;
  height: auto;
  grid-area: header;
}
.logo {
  position: relative;
  z-index: 2;
  grid-area: header;
}
.logo img {
  max-width: 100%;
  height: auto;
  margin: auto;
  display: block;
}
@media screen and (max-width: 650px) {
  .logo img {
    max-width: 50%;
  }
}

/* Navigation styles */
.navigation {
  background-color: #c7d0f7;
  padding: 10px;
  display: block; /* Changed from flex */
  justify-content: center;
  position: relative; /* Add position relative to make z-index work */
  z-index: 1; /* Ensure navigation stays above other content */
}

.navigation ul li a.active {
  color: #07516e; /* Change color when link is active */
  /* font-weight:normal ;  Optionally, you can add other styles */
  text-decoration: none; /* Remove default underline */
  border-bottom: 1px solid #07516e; /* Add active underline */
  border-top: 1px solid #07516e; /* Add active underline */
}

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

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

.navigation ul li a {
  color: #000000; /* Change color to black */
  font-family: "HKGrotesk", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.navigation ul li a:hover {
  color: #5f6161;
  border-bottom: 1px solid #07516e; /* Add active underline */
}

/* 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; /* Align text to the left */
}

.dropdown li a {
  color: #fff;
  padding: 10px;
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: auto;
  background: #dfeffe; /* Change background color to green */
  border: none;
  border-bottom:1px solid #ffcb1d
  cursor: pointer;
  padding: 10px;
  margin: 0;
  box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
}

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

.hamburger-lines {
  display: table;
  position: relative;
  width: 25px;
  height: 24px;
  border-top: 4px solid #021e38;
  border-bottom: 4px solid #021e38;
  margin: 0 5px;
}
.hamburger-lines:after {
  content: "";
  position: absolute;
  inset: 0;
  height: 4px;
  margin: auto 0;
  background: #021e38;
}
.sr-only:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

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

main {
  position: relative; /* Ensures watermark is positioned relative to the main content */
}

.watermark {
  position: fixed; /* Fixed positioning relative to the viewport */
  right: 20px; /* Position it 20px from the right */
  top: 50vh; /* Fixed vertical position - halfway down the page */
  transform: translateY(-50%); /* Vertically center the watermark around 50vh */
  width: 500px;
  height: auto;
  opacity: 0.1;
  pointer-events: none;
  z-index: 9999; /* Ensures the watermark is above other content */
}

/* Footer styles */
footer {
  background-color: #000000;
  background-image: url('../imgs/banner_footer.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: #ffffff; /* 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;
}

.text-container-columns {
  display: flex;
  justify-content: space-between; /* Equal spacing between columns */
  max-width: 1200px;
  margin: 0 auto;
  background-color: #86b2cf; /* Set your desired background color */
  border-bottom: 2px solid #07516e;
}

.text {
  flex: 1; /* Each column takes equal space */
  text-align: center;
}

.text p {
  margin-bottom: 1em;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px; /* Set font size to 16px */
  color: #000000; /* Set text color to #000000 */
  letter-spacing: 0.5px;
  line-height: 1.8;
  /* No need to set background-color here */
  border-right: 2px solid #07516e;
}

/* Contact Form styles */
.contact-form {
  margin-left: 40px;
  width: 50%;
}

.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;
}

.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;
}

/* 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;
    position: sticky;
    top: 38px;
    z-index: 99;
   box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.3);
  }

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

  .hamburger {
    display: block;
    -webkit-position: sticky;
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .header {
    position: relative;
  }

  @media (max-width: 600px) {
    h1 {
      font-size: 26px;
    }
    h2 {
      max-width: 90%;
      margin: 0 auto;
      text-align: justify; /* Ensure text is justified */
    }
    h3 {
      text-align: center;
      font-size: 19px;
      line-height: 1.5;
      margin: 0 auto 1rem;
    }

    .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 */
    }
  }

  /* 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: 0px 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;
  padding: 10px;
  background-color: #f9f9f9;
  border: 2px dotted #2a00ff;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: left;
  display: inline-block; /* Container fits content */
}

.float-right img {
  width: auto;        /* Use the image's natural width */
  height: auto;       /* Preserve aspect ratio */
  display: block;     /* Removes extra space below image */
  max-width: none;    /* Prevent any unintended scaling */
}

.float-right p {
  word-wrap: break-word;
}

/* Mobile-Friendly Fix */
@media (max-width: 768px) {
  .float-right {
    float: none;
    margin: 10px auto;
    text-align: center;
  }

  .float-right img {
    max-width: 100%;  /* Image scales down if needed on small screens */
    height: auto;
  }
}



.page-div {
  background-color: #a5fea0;
  text-align: center;
  position: relative;
  font-family: "HKGrotesk", sans-serif;
  font-size: 30px;
  color: #0a9103;
  width: 100%;
  padding: 30px 0;
  margin-top: 0px;
}

.container {
  display: flex;
  justify-content: flex-start; /* Align items to the start (left) */
  align-items: flex-start; /* Align items to the top */
  background-color: #d4f8d9; /* Change to your desired background color */
  padding: 10px 70px; /* Increased horizontal padding to create more space on the sides */
  margin: 0; /* Remove margins */
  box-sizing: border-box;
  position: relative; /* Set position relative to allow absolute positioning inside */
}
.container.bgstretch {
  box-shadow: 1360px 0px 0px #d4f8d9, -1360px 0px 0px #d4f8d9;
}

/* Text content takes up 75% of the container width */
.text-content {
  padding-right: 20px; /* Space between text and image */
  text-align: left; /* Align text to the left */
}

/* Ensure paragraph text uses a serif font */
.text-content p {
  font-family: "Arial", Times, serif; /* Serif font */
  text-align: left; /* Align text to the left */
  font-size: 14px; /* Adjust the font size to your preference */
  line-height: 1.6; /* Increase line spacing for better readability */
}

/* Image content takes up 25% of the container width */
.image-content {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex: 1 0 35%; /* adjust to suit*/
  min-width: 240px; /* adjust to suit*/
}

/* Adjust the image to be properly positioned in the top left */
.image-content img {
  max-width: 100%;
  height: auto;
  margin: 0; /* Reset margin-top to ensure no overlap with text */
  position: relative;
  top: -48px; /* Maintain the negative top value */
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
  .container {
    display: block; /* no need for flex now */
    padding: 15px 30px; /* Adjust padding on mobile to ensure content has space on sides */
  }

  .text-content,
  .image-content {
    padding: 0;
  }

  .text-content {
    margin-bottom: 20px;
    text-align: center; /* Center text on mobile devices for better readability */
  }

  .text-content p {
    text-align: center; /* Align text to the center on mobile devices */
    line-height: 1.6; /* Keep line spacing consistent */
  }

  .image-content img {
    position: static; /* Reset position for mobile devices */
    margin-top: 0; /* Reset margin-top for mobile devices */
  }
}

/* Table Design */
.table-container {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center; /* Centers the table if it's smaller than the container */
  padding-left: 10px; /* Adjust to match border-spacing */
}

table {
  width: 100%;
  max-width: 100%;
  border-collapse: separate; /* Allows border-spacing to work */
  border-spacing: 10px; /* Adjust the spacing between cells */
  table-layout: auto; /* Ensures columns adjust based on content */
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

table {
  border: 1px solid green; /* Table border in green */
}

th,
td {
  background-color: #f0f0f0; /* Grey background for the cells */
  border: 1px solid green; /* borders for individual cells */
  vertical-align: top; /* Align text to the top of the cell */
  padding: 10px; /* Adds spacing inside the cells */
  word-wrap: break-word; /* Prevents content from overflowing */
}

.right-image {
  position: absolute; /* Keeps the image positioned on large screens */
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 100%;
}

/* Ensure the image scales properly */
.right-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Mobile-friendly layout */
@media screen and (max-width: 768px) {
  .right-image {
    position: static; /* Remove absolute positioning */
    transform: none; /* Reset transformations */
    text-align: center; /* Center the image */
    margin-top: 20px; /* Space between the form and image */
  }

  .right-image img {
    max-width: 80%; /* Scale image for better mobile fit */
    height: auto;
  }
}

/*Ticker */
.news-ticker-container {
  background-color: #C7D0F7;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 10px 0;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 1000;
}

.news-ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
  font-size: 1rem;
}

.news-ticker-container:hover .news-ticker-track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.news-item {
  display: inline;
  margin-right: 2rem;
}

.news-item a {
  color: #ffd700;
  text-decoration: none;
}

.news-item a:hover {
  text-decoration: none;
  color: #479303; /* Example: bright orange */
}


@media (max-width: 600px) {
  .news-ticker-track {
    font-size: 0.9rem;
  }
  .crest-icon {
  height: 28px;
  width: auto; /* keeps the aspect ratio */
  vertical-align: middle;
  margin-right: 6px;
}


}


