body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Change from hidden to only hide horizontal overflow */
  position: relative;
  font-family: Arial, sans-serif;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url("../img/garden.jpg") no-repeat center center fixed;
  background-size: cover;
  filter: blur(1px); /* Adjust blur radius */
  z-index: -1;
}

#content-wrapper {
  position: relative; /* Needed for the blur to work correctly */
  z-index: 10;
  min-height: 100vh; /* Or remove if height: 100vh is always desired */
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.4); /* Optional tint */
  width: 100%;
  box-sizing: border-box; /* Include padding in width calculation */
  overflow-y: auto; /* Allow vertical scrolling */
  display: flex;
  flex-direction: column; /* Arrange content vertically */
}

header {
  background: #333;
  color: #fff;
  padding: 10px 0;
  text-align: center;
  opacity: 0.3; /* Adjust the opacity for the header */
}

/* Navigation styles */
nav ul {
  list-style: none;
  background: #444;
  padding: 0;
  text-align: center;
  opacity: 0.5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav ul li {
  display: inline;
  margin: 0;
}

nav ul li a {
  color: #fff;
  padding: 10px 15px;
  display: inline-block;
  text-decoration: none;
}

nav ul li a:hover {
  background: #555;
}

/* Main content area */
main {
  flex: 1;
  overflow-y: auto;
}

#banner {
  max-width: 100%;
  box-sizing: border-box;
}

/* Map styles */
#map-canvas {
  width: 100%;
  height: 300px; /* Reduced height for mobile */
  margin: 20px 0;
  border-radius: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#map {
  width: 100%;
  padding: 10px 0;
}

/* Contact section */
#contact p {
  word-break: break-word; /* Prevent overflow of long URLs */
}

/* Direction link styling */
#contact a {
  display: inline-block;
  padding: 8px 12px;
  background-color: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  margin: 5px 0;
  font-weight: bold;
}

#contact a:hover {
  background-color: #45a049;
}

/* Footer styling */
footer {
  text-align: center;
  padding: 10px;
  background-color: rgba(51, 51, 51, 0.7);
  color: white;
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
  #content-wrapper {
    padding: 10px;
    height: auto;
  }

  nav ul li a {
    padding: 8px 10px;
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  #map-canvas {
    height: 250px;
  }
}

@media screen and (max-width: 480px) {
  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 2px 0;
  }

  nav ul li a {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  #map-canvas {
    height: 200px;
  }
}
