
.site-container {
  max-width: 800px;     /* or whatever your header image's max width is */
  margin: 0 auto;       /* center it horizontally */
}

body {
  font-family: Arial, sans-serif;
  margin: 0 auto;
  background: #d1d3d6;   
}

nav {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  display: block;
}

header .banner-img {
  max-width: 800px;      /* Or whatever width you like: 700, 900, etc. */
  width: 100%;
  height: auto;          /* Keeps the aspect ratio */
  display: block;
  margin: 0 auto;        /* Centers the image */
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  background: #333;
  border-radius: 0 0 10px 10px;
  width: 100%;   
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  display: inline-block;
  padding: 0.4em 1.5em;      /* Taller bar */
  color: #fff;
  text-decoration: none;
  background: none;          /* Remove bubble background */
  border-radius: 0;          /* No more pills */
  margin: 0;                 /* Remove gap between items */
  transition: background 0.2s;
}

.main-menu > li > a:hover,
.main-menu > li:hover > a {
  background: #444;
}

.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  border-radius: 0 0 5px 5px;
}

.dropdown-content li a {
  color: #fff;
  padding: 0.4em 1em;
  text-decoration: none;
  display: block;
  background: #444;
  border-radius: 16px;
  margin: 3px 0;
}

.dropdown-content li:last-child a {
  border-bottom: none;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}

.dropdown-content {
  display: none;         /* HIDE BY DEFAULT */
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #444;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  border-radius: 0 0 5px 5px;
}

.dropdown-content li a {
  color: #fff;
  padding: 0.4em 1em;         /* Match main menu padding */
  text-decoration: none;
  display: block;
  background: #444;
  border-radius: 16px;
  margin: 3px 0;
}

.dropdown-content li:last-child a {
  border-bottom: none;
}

/* ONLY SHOW WHEN HOVERING ON PARENT */
.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
  display: block;
}
.slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto 0.5em auto;
  box-shadow: 0 2px 12px #8883;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
#slider-img {
  width: 100%;
  display: block;
  max-height: 350px;
  object-fit: cover;
}
.slider-controls {
  position: absolute;
  top: 45%;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.slider-controls button {
  background: #336633bb;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 0 1em;
  border-radius: 3px;
  outline: none;
  transition: background 0.2s;
}
.slider-controls button:hover {
  background: #224422;
}
.welcome {
  max-width: 800px;
  margin: 0.5em auto;
  background: #fff;
  padding: 2em;
  border-radius: 6px;
  box-shadow: 0 2px 8px #aaa3;
}
.welcome h2 {
  margin-top: 0;
  color: #336633;
}

/* Events page styling */
.events {
  max-width: 800px;
  margin: 2em auto;
  padding: 0 1em;
}

.events h1 {
  text-align: center;
  color: #336633;
  margin-bottom: 1em;
}

.event {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: 0 2px 8px #aaa3;
  padding: 1.5em;
  margin-bottom: 1.5em;
}

.event h2 {
  margin-top: 0;
  color: #333;
}

.event p {
  margin: 0.5em 0;
  line-height: 1.4;
}

.event p em {
  color: #666;
}
