body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

/* NAV BAR */
.nav {
  background: #333333;
}

/* INNER CONTAINER */
.nav-inner {
  height: 60px; 
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background: #333333;
}

/* SITE NAME */
.nav-name {
  display: flex;
  align-items: center;
}

.nav-name a {
  color: #ffffff;
  font-size: 14pt;
  font-weight: 500;
  text-decoration: none;
}

/* LINKS CONTAINER */
.nav-links {
  display: flex;
  align-items: stretch;
}

.nav-links a {
  font-size: 12pt;
  display: flex;
  align-items: stretch;
}

/* LINKS */
.nav a {
  display: flex;
  align-items: center;
  height: 100%;

  padding: 0 18px;
  color: #ffffff;
  text-decoration: none;
  /* font-size: 14pt; */

  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

/* HOVER TAB */
.nav a:hover {
  background: #ffffff;
  color: #000000;
}

/* ACTIVE TAB */
.nav a.active {
  background: #ffffff;
  color: #000000;
  font-weight: 500;
}

/* ---------- DROPDOWN CONTAINER ---------- */

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-item > a {
  position: relative;
  padding-right: 36px;   /* room for arrow */
}

.nav-item > a::after {
  content: "";
  width: 8px;
  height: 8px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-75%) rotate(45deg);
}

/* ---------- DROPDOWN MENU ---------- */

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;

  min-width: 180px;
  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);

  display: none;
  flex-direction: column;
  z-index: 1000;

  transition: opacity 0.12s ease;
  min-width: 100%;
}

/* ---------- DROPDOWN LINKS ---------- */

.dropdown a {
  padding: 16px 14px;
  font-size: 12pt;
  color: #000000;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown a:hover {
  background: #f0f0f0;
}

/* ---------- SHOW DROPDOWN ON HOVER ---------- */

.nav-item:hover .dropdown {
  display: flex;
}

/* ---------- KEEP TOP TAB HIGHLIGHTED ---------- */

.nav-item:hover > a {
  background: #ffffff;
  color: #000000;
}


.container {
  font-size: 14pt;
  margin: 30px 50px;
  padding: 30px 50px;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vspaced {
  display: flex;
  flex-direction: column;
  gap: 12px;
}





.gallery-container {
      display: flex;
      height: calc(100vh - 60px);
    }

/* Left menu (list of items) */
.menu {
    width: 220px;
    background: #f5f5f5;
    border-right: 1px solid #ddd;
    padding-top: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.menu header {
  margin: 16px 0 8px;
  padding: 0 12px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
}

.menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.menu a:hover {
    background: #e0e0e0;
}

.menu a.active {
    background: #ddd;
    font-weight: bold;
}

.display {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;

  overflow: hidden;
}

/* Image area gets remaining space */
.image-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

/* Image scales correctly */
.image-area img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

/* ---------- CAPTION (menu-like behavior) ---------- */

.caption {
  height: 60px;
  margin-top: 12px;
  padding: 10px 10px;

  font-size: 16px;
  line-height: 1.4;
  color: #333;

  border-top: 1px solid #ddd;
  background: #fafafa;

  overflow-y: auto;
  box-sizing: border-box;
}