body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #4b4b4b;
  margin: 0;
  position: relative;
  z-index: 1;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("images/water-background.jpg"); /* The original feedback was to add this to the main content, but it looked strange, so I made it the main background */
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.3;
}

#main-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

#header-box {
  display: flex;
  width: 100%;
  border-bottom: 3px solid #3caea3;
  background: linear-gradient(to right, #00b3c6, #3caea3);
  color: #fff;
  padding: 10px 0 12px;
}

#logo-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 2px solid rgba(255, 255, 255, 0.4);
}

#logo-box {
  width: 100px;
  height: 100px;
  border: 2px dashed rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#header-section {
  flex: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#header-text {
  font-size: 26px;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  margin-bottom: 8px;
}

#nav-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  overflow: visible;
}

#nav-section a {
  text-decoration: none;
}

#nav-section a div {
  padding: 8px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

#nav-section a div:hover {
  background: rgba(255, 255, 255, 0.4);
}

#nav-section a.nav-link.active div {
  background: #ff6b6b;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

div[id$="image-box"],
.lodging-image,
.cuisine-image {
  overflow: hidden;
  position: relative;
}

div[id$="image-box"] img,
.lodging-image img,
.cuisine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#information-box {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 30px;
}

#featured-box {
  flex: 0 0 60%;
  border-top: 3px solid #3caea3;
  padding-top: 20px;
  text-align: center;
}

#info-side-box {
  flex: 0 0 35%;
  border-top: 3px solid #00aeff;
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#info-side-text {
  color: #00aeff;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 20px;
}

#featured-text {
  color: #00b3c6;
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 20px;
}

.vertical-featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

#featured-box .featured-item {
  background: #fff;
  border: 3px solid #3caea3;
  border-radius: 10px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#info-side-box .featured-item {
  background: #fff;
  border: 3px solid #00aeff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 700px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.featured-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.featured-image-link {
  width: 100%;
  height: 280px;
  overflow: hidden;
  display: block;
}

.featured-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.featured-image-link img:hover {
  transform: scale(1.03);
}

/* Add some sort of icon for image based links */
.featured-image-link:hover::before {
  content: "↗↗";
  position: absolute;
  right: 1px;
  top: 1px;
  color: #00e1ff !important;
  font-weight: bold;
  z-index: 10;
  text-shadow: 1px -1px 3px black, -1px 1px 3px black;
  font-size: calc(1vw + 12px);
  animation-name: emphasis;
  animation-duration: 1s;
  animation-iteration-count: 5;
  animation-direction: alternate;
}

@keyframes emphasis{
  from {right: 1px;}
  to {right: 5px;}
}

.featured-title {
  font-weight: 700;
  color: #007b9a;
  margin-top: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.featured-desc {
  font-size: 15px;
  color: #4b4b4b;
  margin: 10px 20px 20px;
  line-height: 1.4;
}

#adventure-box {
  flex: 0 0 32%;
  border-top: 3px solid #3caea3;
  padding-top: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

#adventure-text {
  color: #00b3c6;
  font-weight: bold;
  margin-bottom: 10px;
}

#adventure-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

#adventure-cards > div {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #cde;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  width: 280px;
  transition: 0.2s;
}

#adventure-cards > div:hover {
  transform: translateY(-3px);
}

.page-grid {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
}

.page-grid h2 {
  font-size: 26px;
  color: #014d64;
  margin-bottom: 10px;
}

.page-grid p {
  max-width: 900px;
  margin: 0 auto 30px;
  font-size: 16px;
  color: #444;
}

#adventure-cards a.grid-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

#adventure-cards a.grid-card:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: auto;
}

.grid-card {
  background: #fff;
  border: 1px solid #cde;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.25s;
}

.grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.grid-image {
  height: 200px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 3px 1px rgb(80, 80, 80);
}

.grid-image img,video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.grid-title {
  font-weight: 700;
  color: #007b9a;
}

.grid-desc {
  font-size: 14px;
  color: #4b4b4b;
}

#footer-box {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-top: 3px solid #3caea3;
  background: linear-gradient(to right, #00b3c6, #3caea3);
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 14px;
  box-sizing: border-box;
  border-radius: 0 0 6px 6px;
}

#footer-policy-links {
  display: flex;
  gap: 15px;
}

#footer-policy-links a {
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#footer-policy-links a:hover {
  background: #ff6b6b;
  border-color: #ff6b6b;
}

#footer-policy-social-links {
  display: flex;
  gap: 10px;
}

#footer-policy-social-links a {
  font-size: 20px;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, color 0.3s;
  max-width: 30px;
}

#footer-policy-social-links a img {
  width: 100%;
  height: auto;
}

#footer-policy-social-links a:hover {
  transform: scale(1.15);
  color: #ff6b6b;
}

#hamburger {
  display: none;
}

@media (max-width: 992px) {
  #featured-box,
  #info-side-box {
    flex: 1 1 100%;
  }
  .featured-image-link {
    height: 220px;
  }
}

@media (max-width: 992px) {
  .home-container {
    flex-direction: column;
    align-items: center;
  }

  #featured-box,
  #adventure-box,
  #info-side-box {
    flex: 1 1 100%;
    border-right: none; /* Need to remove the border when the screen shrinks */
    padding-right: 0; /* Need to remove the padding when the screen shrinks */
  }

  .grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }

  #hamburger {
    display: block;
    cursor: pointer;
    user-select: none;
  }

  #nav-section {
    display: none;
    flex-direction: column;
    gap: 8px;
  }

  #nav-section.show {
    display: flex;
  }

  #footer-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  #footer-policy-links,
  #footer-policy-social-links {
    justify-content: center;
  }

  .featured-image-link {
    height: 200px;
  }
}

details {
  margin: 30px auto;
  max-width: 900px;
  background: #fff8f6;
  border: 1px solid #ff6b6b;
  border-radius: 6px;
  padding: 12px 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  font-size: 15px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  color: #ff6b6b;
  list-style: none;
  position: relative;
}

details summary::after {
  content: "➕";
  position: absolute;
  right: 0;
  transition: transform 0.3s;
}

details[open] summary::after {
  content: "➖";
}

details p {
  margin-top: 10px;
  color: #333;
}
