/* header.css */

.top-section {
  padding: 1em;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.branding {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3em;
}
.menu-toggle {
  width: 2.1em;
  height: 2.2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

 .menu-toggle span {
      height: 0.25em;
      width: 100%;
      background-color: transparent;
      border-radius: 0;
      box-shadow:
        0 0 0 0.15em black,
        2px 2px 6px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s ease, opacity 0.3s ease;
    }

.menu-toggle.open span:nth-child(1) {
  transform: translateY(0.95em) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-0.95em) rotate(-45deg);
}

.title-image {
  height: 4.3em;
  width: auto;
  display: block;
  box-sizing: border-box;
}

/* Menu button styles */

.menu {
  position: fixed;       /* ⬅ floats above the page */
  top: 6em;              /* ⬅ adjust to just below the hamburger */
  left: 1em;  
  display: none;
  flex-direction: column;
  align-items: flex-start;
  padding: 1em;
  z-index: 1000;
  border-radius: 0;
}

.menu a {
  margin: 5px 0;
  padding: 5px 15px;
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  background-color: rgba(100, 100, 100, 0.6);
  border: 2px solid white;
  border-radius: 0;
  text-decoration: none;
  width: 10em;
  text-align: left;
  transition: background-color 0.3s;
}

.menu a:hover {
  background-color: rgba(120, 120, 120, 0.6);
}

/* Optional: match main page button style */

.button {
  margin: 10px;
  padding: 5px 15px;
  font-size: 24px;
  font-family: 'Futura', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: white;
  background-color: rgba(128, 128, 128, 0.5);
  border: 2px solid white;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  width: 200px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.button:hover {
  background-color: rgba(192, 192, 192, 0.5);
  color: white;
}

.hidden {
  display: none;
}

.title-image {
      height: 3em;
      width: auto;
      display: block;
      box-sizing: border-box;
    }

.page-banner {
  width: 100%;
  background-color: rgba(100, 100, 100, 0.6);
  border: 2px solid white;
  padding: 0.5em 1em;
  font-family: 'Futura', Arial, sans-serif;
  font-size: 1em;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  text-align: left;   /* ✅ left-aligned text */
  box-sizing: border-box;
  margin-top: 0em;
}

.thumbnail-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-top: 1em;
  width: fit-content;
  max-width: 100%;
}

.thumbnail {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.thumbnail img {
  display: block;
  height: auto;
  max-width: 100%;
  border: 2px solid white;
  box-sizing: border-box;
}

/* Hover overlay */
.thumbnail .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 20, 20, 0.8);
  color: white;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
  font-size: 0.9em;
  padding: 1em;
  transition: opacity 0.3s ease-in-out;
}

.thumbnail:hover .overlay {
  opacity: 1;
}

/* Fullscreen viewer */
#fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#fullscreen-viewer img {
  max-width: 90vw;
  max-height: 90vh;
  border: 4px solid white;
}