body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  padding: 0;
  background: #f7f9fc;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
  
header {
  background: #1e90ff;
  color: white;
  padding: 1rem;
  text-align: center;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
  flex: 1;
}

section {
  margin-bottom: 2rem;
}

footer {
  background: #ddd;
  text-align: center;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.image-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
}

.image-gallery img {
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  padding: 0;
  margin: 0 1rem;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  height: 100%;
  line-height: 2.5rem; /* match height of nav links */
}

nav a, .dropbtn {
  display: inline-block;
  padding: 0;
  text-align: center;
  text-decoration: none;
  height: 2.5rem;
  line-height: 2.5rem;
}


/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 0.75rem 1rem;
  text-decoration: none;
  display: block;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Highlight dropdown items on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Keep text aligned with other nav items */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
  
.report-image {
  max-width: 30%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.image-description {
  font-style: italic;
  text-align: center;
}

/* Responsive iframe container */
iframe {
  display: block;
  margin: 2rem auto;
  max-width: 100%;
  width: 800px;
  height: 450px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Make iframe responsive on smaller screens */
@media (max-width: 850px) {
  iframe {
    width: 100%;
    height: 56.25vw; /* 16:9 aspect ratio */
    max-height: 80vh;
    margin: 1rem auto;
  }
}

/* Make iframe even larger on very small screens */
@media (max-width: 480px) {
  iframe {
    margin: 0.5rem auto;
    border-radius: 4px;
  }
}

/* Image gallery container */
.image-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.image-container img:hover {
  transform: scale(1.02);
}

/* Make gallery responsive on smaller screens */
@media (max-width: 768px) {
  .image-container {
    grid-template-columns: 1fr;
  }
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  max-width: 100%;
  /* margin: 2rem auto; */
  /* padding: 0 1rem; */
}

.slides {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Slideshow buttons */
.slideshow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 1rem;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 2;
}

.slideshow-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

/* Dots */
.dots {
  text-align: center;
  margin-top: 1rem;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #1e90ff;
}

/* Make slideshow responsive */
@media (max-width: 768px) {
  .slides {
    height: 400px;
  }
  
  .slideshow-btn {
    padding: 0.75rem;
    font-size: 1.2rem;
  }
}

/* Video container */
.video-container {
  position: relative;
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.timestamp-btn {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.timestamp-btn:hover {
  background-color: #187bcd;
}

/* Make iframe responsive on smaller screens */
@media (max-width: 850px) {
  .video-container {
    padding: 0 1rem;
  }
  
  .timestamp-btn {
    width: 100%;
    max-width: 300px;
  }
}