/* General */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

/* Header & Navigation */
header {
  background: #ffffff;
  text-align: center;
  border-bottom: 1px solid #ccc;
}

.banner {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #00703C;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

nav li a:hover,
nav li a.active {
  background: #004d28;
}

/* Homepage Slideshow */
.slideshow {
  overflow: hidden;
  background: #000;
}

.slider {
  display: flex;
  width: max-content;
  animation: slide 120s linear infinite;
}

.slider img {
  height: 400px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  background: #000;
}

@keyframes slide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Homepage Video Section */
.video-section {
  padding: 30px 20px;
  text-align: center;
  background: #fff;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
}

/* Welcome Section */
.welcome-text {
  padding: 40px 20px;
  background: #ffffff;
  max-width: 900px;
  margin: auto;
  text-align: center;
  line-height: 1.7;
  font-size: 1.05rem;
}

.welcome-text h2 {
  color: #00703C;
  margin-bottom: 16px;
  font-size: 1.8rem;
}

/* Quick Links */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: #fff;
}

.quick-links a {
  background: #00703C;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.quick-links a:hover {
  background: #004d28;
}

/* Map Section */
.map {
  padding: 30px 15px;
  text-align: center;
  background: #f2f2f2;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
}

/* Activities Page Styles */
/* Video Row: two videos side by side, each keeping 16:9 */
.video-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.video-wrapper {
  /* allow two per row, maintain ratio automatically */
  flex: 1 1 calc(50% - 1rem);
  background: #000;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe,
.video-wrapper video {
  /* fill the wrapper without distortion */
  width: 100%;
  height: 100%;
  object-fit: contain;  /* shows the whole frame, letterboxing if needed */
}

/* Slideshows Grid: two per row */
.slideshows-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Individual Slideshow Containers */
.slideshow-container {
  position: relative;
  overflow: hidden;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fafafa;
}

.slideshow-container h3 {
  text-align: center;
  margin: 0.5rem 0;
  font-size: 1.1rem;
  color: #00703C;
}

.slideshow-container .slides {
  position: relative;
  width: 100%;
  height: 200px;
}

.slideshow-container .slides img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slideshow-container .slides img.active {
  opacity: 1;
}
