/* Reset styles */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

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

h1 {
  text-align: center;
  font-size: px;
  color: #07516E;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: normal;
  letter-spacing: 0.5px;
  line-height: 1.8;
  margin-left: 20px;
  margin-right: 20px;
  border-top: 2px solid #07516E;
  border-bottom: 2px solid #07516E;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media only screen and (min-width: 600px) {
  h2 {
    max-width: 88%;
    margin: 0 auto;
    text-align: justify;
    padding: 0;
  }
}

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

/* Homepage slideshow styles */
* {
  box-sizing: border-box;
}

.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(134, 178, 207, 0.8);
  color: #0e4459;
  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: #86B2CF;
}

@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: #000000;
  background-image: url('../imgs/banner_top.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  position: relative;
  padding: 20px;
}

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

/* Navigation styles */
.navigation {
  background-color: #86B2CF;
  padding: 10px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.navigation ul li a.active {
  color: #07516E;
  text-decoration: none;
  border-bottom: 1px solid #07516E;
  border-top: 1px solid #07516E;
}

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

.navigation ul li {
  display: inline-block;
  margin: 0 10px;
  position: relative;
}

.navigation ul li a {
  color: #fff;
  font-family: "HKGrotesk", sans-serif;
  text-decoration: none;
  text-transform: uppercase;
}

.navigation ul li a:hover {
  color: #07516E;
}

/* Dropdown styles */
.dropdown {
  display: none;
  position: absolute;
  background-color: #86B2CF;
  width: 200px;
  top: 100%;
  left: 0;
  z-index: 2;
}

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

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

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

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

.hamburger.active {
  background-color: #034772;
}

.hamburger__line {
  display: block;
  width: 25px;
  height: 4px;
  background-color: #ffffff;
  margin-bottom: 5px;
}

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

/* Footer styles */
footer {
  background-color: #000000;
  color: #fff;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  padding: 20px;
  text-align: left;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer a {
  color: #fff;
  text-decoration: none;
}

.footer-column {
  flex: 1;
  flex-basis: 33.333%;
}

.footer-item {
  margin-bottom: 20px;
}

.footer-item img {
  margin-right: 10px;
  vertical-align: middle;
}

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

.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 {
  box-shadow: 0px 0px 10px rgba(7, 81, 207, 0.5);
}

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

.text-container-columns {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #86B2CF;
  border-bottom: 2px solid #07516E;
}

.text {
  flex: 1;
  text-align: center;
}

.text p {
  margin-bottom: 1em;
  padding: 0;
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #000000;
  letter-spacing: 0.5px;
  line-height: 1.8;
  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: #86B2CF;
  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;
  }

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

  .hamburger {
    display: block;
  }

  .header {
    position: relative;
  }
}

/* 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;
  color: #000000;
  letter-spacing: 0.5px;
  line-height: 1.8;
}

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

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

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

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

  .navigation.active {
    display: block;
  }
}

/* ✅ CONTACT PAGE FIX
   Ensure static image on contact.php displays properly
   without affecting homepage slideshow */
.contact-page .image-wrapper img {
  display: block !important;
  opacity: 1 !important;
}
