* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background-color: #f8f5ed;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Georgia, serif;
  min-height: 100vh;
  margin: 0;
}

main {
  flex: 1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #5c614c;
  color: #fff;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #eaeaea;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #d6d6ff;
}

.website-title {
  font-family: "Brush Script MT", cursive;
  font-size: 2rem;
  text-align: center;
}

#head_display {
  position: relative;
  background-image: url("../images/events.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5rem 1rem;
  text-align: center;
  color: white;
}
/* dark overlay for readability */
#head_display::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* bring text above overlay */
#head_display h2, #head_display p {
  position: relative;
  z-index: 2;
  color: #fff;
}

#head_display h2 {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

#head_display p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.location-info {
  padding: 2rem 1rem;
  text-align: center;
  background-color: #f8f5ed;
}

.location-info h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.location-info p {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

button {
  background-color: #5c614c;
  font-family: Georgia, serif;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

button:hover {
  background-color: #47503a;
}

.map_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 2rem;
  background-color: #f8f5ed;
}

.calendar-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 2rem;
  padding-top: 1.5rem;
  background-color: #f8f5ed;
}

.calendar-wrapper iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/12;
  border-radius: 8px;
  border: none;
}

footer {
  background-color: #5c614c;
  color: #fff;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  width: 100%;
  display: block;
}

footer a {
  color: #d6d6ff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile Optimization */
@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #4c5041;
    border-radius: 5px;
    margin-top: 0.5rem;
  }

  .nav-links.active {
    display: flex;
    padding: 0.8rem 1rem;
    gap: 0.5rem;
  }

  .nav-links li {
    text-align: center;
    width: 100%;
  }

  .website-title {
    font-size: 1.8rem;
    width: 100%;
  }
}
