/* General Layout */
html, body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: 'Playfair Display', serif;
  background: url('../afbeeldingen/jungle.jpg') center/cover fixed no-repeat;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="32" width="32"><text y="24" font-size="24">🦊</text></svg>') 16 16, auto;
}

/* Navigation Bar */
nav {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 1em 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  margin: 0 1em;
}

/* Navigation list */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0 20px;
  margin: 0;
  position: relative;
}

/* Navigation links */
nav li {
  position: relative;
  padding: 0 1em;
}

nav li::before {
  content: "|";
  color: #666;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

nav li:last-child::after {
  content: "|";
  color: #666;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

nav li a {
  color: #2c2c2c;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}

nav li a:hover {
  color: #f08a5d;
  text-shadow: 2px 2px 5px rgba(240, 138, 93, 0.8);
}



/* Main */
main {
  flex: 1;
}

/* Footer */
footer {
  margin-top: auto;
  padding: 2em 1em;
  background: rgba(253, 242, 233, 0.3);
  text-align: center;
  font-size: 1em;
  color: #333;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  flex-wrap: wrap;
}

.footer-icon {
  cursor: pointer;
  font-size: 1.5em;
  transition: transform 0.2s;
}
.footer-icon:hover {
  transform: scale(1.3);
}

.pause-btn {
  background: #fff;
  border: 2px solid #f08a5d;
  border-radius: 50%;
  padding: 0.5em;
  font-size: 1.2em;
  cursor: pointer;
}
.pause-btn:hover {
  background: #ffe0d3;
  transform: scale(1.2);
}

.price {
  display: block;
  float: right;
  opacity: 1;
  color: rgba(255, 255, 255, 0.8);
}

/* Title */
h1 {
  text-align: center;
  font-size: 5.5em;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(65, 34, 190, 0.9) radial-gradient(circle, rgba(193, 18, 18, 0.2), rgba(60, 187, 79, 0.9));
  border-radius: 90px;
  padding: 0.5em 1em;
  width: fit-content;
  margin: 0.3em auto 1em;
  margin-bottom: 50px;
}

.pensionaries {
  background: url('../afbeeldingen/pensionaries.jpg') center/cover no-repeat;
  border-radius: 10px;
  /* background-size: relative; - This is not a valid CSS property value. Remove or correct it. */
  margin: 10px 0 10px 0;
  height: 600px; /* Example: Set a fixed height */
  width: 900px; /* Example: Set a fixed width */
  margin: auto auto;
  position: relative;
}

.adults {
  background: url('../afbeeldingen/adults.jpg') center/cover no-repeat;
  border-radius: 10px;
  margin: 10px 0 10px 0;
  height: 600px;
  width: 900px;
  margin: 20px auto;
  position: relative;
}

.kids {
  background: url('../afbeeldingen/kids.jpg') center/cover no-repeat;
  border-radius: 10px;
  margin: 20px 0 20px 0;
  height: 600px;
  width: 900px;
  margin: auto;
  position: relative;
  margin-bottom: 50px;
}

p {
  font-size: 1.2em;
  position: absolute;
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(21, 18, 18, 0.8);
  line-height: 1.4;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1em 1.5em;
  box-sizing: border-box;
  margin: 0;
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
  nav {
    padding: 0.5em;
    margin: 0 0.5em;
  }

  /* This nav ul rule will now correctly apply as the #nav-list rules are gone */
  nav ul {
    flex-direction: row; /* Display items horizontally */
    justify-content: space-around; /* Distribute items with space around them */
    gap: 0.5em; /* Keep a small gap if desired */
    padding: 0; /* Adjust padding as needed */
  }

  nav li {
    padding: 0 0.5em; /* Adjust padding for horizontal items */
    border-bottom: none; /* Remove border from previous column layout */
  }

  /* Ensure dividers are shown on mobile for the horizontal layout */
  nav li::before,
  nav li:last-child::after {
    content: '|'; /* Re-enable the dividers */
  }

  nav li a {
    font-size: 0.9rem; /* Slightly reduce font size for smaller screens if needed */
  }

  header {
    font-size: 1.3em;
    padding: 1em 0.5em;
  }

  .footer-icon {
    font-size: 1.3em;
  }

  .pause-btn {
    font-size: 1em;
    padding: 0.3em;
  }

  /* Adjust height for smaller screens if needed */
  .pensionaries,
  .adults,
  .kids {
    height: 200px; /* Example: Smaller height on mobile */
    width: auto; /* Allow width to be flexible on mobile */
    margin: 10px auto; /* Adjust margin for mobile */
  }

  /* Title adjustment for smaller screens */
  h1 {
    font-size: 2.5em; /* Smaller font size for mobile H1 */
    padding: 0.3em 0.5em;
    border-radius: 40px; /* Adjust border-radius */
    margin: 10px auto; /* Adjust margin */
  }

  p {
    font-size: 1em; /* Smaller font size for paragraphs on mobile */
    padding: 0.8em 1em;
  }
}
