/* -----------------------------
   RESET & BASE LAYOUT
----------------------------- */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: black;
  overflow-x: hidden;
  font-family: Verdana, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fffdc8;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body.centered-layout {
  padding-top: 22vh; /* Equal to .static-header height */
  padding-bottom: 80px; /* For footer */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* -----------------------------
   LANGUAGE & ADMIN BUTTONS
----------------------------- */
.admin-button-container {
  position: absolute;
  top: 5px;
  left: 10px;
  z-index: 1000;
  color: white;
  background-color: orange;
}

.lang-btn-eng,
.lang-btn-nl,
#admin-login-btn.lang-btn-eng {
  background-color: orange;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 12px;
  cursor: pointer;
  width: 50px;
  height: 40px;
}

/* -----------------------------
   FIXED HEADER
----------------------------- */
.static-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15em; 
  background-color: black;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 100;
  font-family: Verdana, sans-serif;
}

.header-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.header-line {
  position: absolute;
  width: 100%;
  background-color: orange;
}

.header-line-top {
  top: 0;
  height: 2px;
}

.header-line-bottom {
  bottom: 0;
  height: 3px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.header-logo {
  text-align: center;
}

.header-logo img {
  max-height: 145px;
  width: auto;
  display: block;
}

.static-header h1 {
  color: orange;
  font-size: 2.25rem;
  margin: 0;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
}

.language-switcher {
  position: absolute;
  top: 10%;
  right: 16px;
  transform: translateY(-50%);
  display: flex;
  gap: 8px;
}
/* -----------------------------
   NAVIGATION BAR
----------------------------- */
.static-nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: transparent;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  padding: 10px 0;
  z-index: 90;
}

.static-nav ul {
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.static-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.static-nav ul li a:hover {
  color: orange;
  border-bottom: 2px solid orange;
}

/* -----------------------------
   OVERLAY + MAIN CONTENT BOX
----------------------------- */
#white-square {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 4em auto 5px auto; /* ? Push down from header and leave space for footer */
  width: 90%;
  max-width: 1200px;
  min-width: 280px;
  background: #fcf6e9;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow-y: auto;
}

/* Custom scrollbars */
#white-square::-webkit-scrollbar {
  width: 12px;
}
#white-square::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
#white-square::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 10px;
  border: 3px solid black;
}
#white-square::-webkit-scrollbar-thumb:hover {
  background: #ffb347;
}
#white-square {
  scrollbar-width: thin;
  scrollbar-color: orange black;
}

/* -----------------------------
   BODY LAYOUT
----------------------------- */
body.centered-layout {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  padding-top: 180px;  /* pixel padding for header */
  padding-bottom: 80px; /* pixel padding for footer */
  box-sizing: border-box;
}

/* Scrollbar hidden */
body.no-scrollbar::-webkit-scrollbar {
  display: none;
}
body.no-scrollbar {
  scrollbar-width: none;
  overflow-y: hidden !important;
}

/* -----------------------------
   UTILITY STYLES
----------------------------- */
.image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.arrow-button {
  width: 40px;
  height: 40px;
  cursor: pointer;
  user-select: none;
}

.arrow-button.left {
  margin-right: 10px;
}
.arrow-button.right {
  margin-left: 10px;
}

.equipment-image {
  max-width: 100px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.orion1 {
  display: block;
  width: 20%;
  height: auto;
  margin: 20px auto 0 0;
  margin-left: 40px;
}

.quote-text {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  margin-top: 10px;
  text-align: right;
}

.citation {
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 5px;
  text-align: right;
}

.top {
  color: orange;
  height: 30px;
  text-align: center;
  margin-bottom: 25px;
}
.top h2 {
  margin-top: 15px;
}

.gear {
  display: flex;
  margin-top: 5px;
}

.intro,
.intro2,
.intro3,
.intro4 {
  color: black;
  padding: 10px 15px;
  font-size: 14px;
  text-align: center;
}

.intro {
  margin-left: 25px;
  text-align: left;
}

.intro2 {
  display: inline-block;
  margin-top: 30px;
  margin-left: 15px;
}

.intro3 {
  width: fit-content;
  margin: 0 auto;
}

.intro4 {
  display: flex;
  margin-top: 20px;
}

.intro p:last-of-type {
  margin-bottom: 0;
}

.spacer {
  display: block;
  height: 20px;
  background: none;
  margin: 0;
  padding: 0;
}

.swipe p {
  display: none !important;
}
/* -----------------------------
   GALLERY CONTAINER
----------------------------- */
.gallery-table {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

.gallery-row {
  display: flex;
  flex-wrap: wrap;        /* Allow wrapping */
  justify-content: center;
  align-items: flex-start;
  gap: 15px;              /* Give space between cells */
  width: 100%;
  padding: 0 10px;        /* Optional: add padding to prevent edge clipping */
  box-sizing: border-box;
  margin-bottom: 15px;
}

.gallery-cell {
  text-align: center;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fcf6e9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.gallery-cell img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 5px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
}

.gallery-cell img:hover {
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(255, 165, 0, 0.8);
}

.description-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin-top: -40px;
  box-sizing: border-box;
}
.description {
  margin-top: 15px !important;
  text-align: center;
  font-size: 10px;
  font-weight: normal;
  color: black;
  width: 200px;
}
@media screen and (max-width: 1024px) {
  .gallery-cell {
    width: 140px;
    height: 140px;
  }
  .description-row {
  display: none;
}
#white-square {
  width: 98%;
}
}
.large-image {
  max-width: 90%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.slide img {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 70%;
  height: auto;
  border-radius: 8px;
}

.slide h2 {
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 15px;
  color: orange;
}

.slide {
  text-align: left;
  padding: 20px;
  font-size: 12px;
}

#gallery-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5vh;
  z-index: 10000;
  overflow-y: auto;
}

#gallery-lightbox img {
  width: auto;
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

#gallery-lightbox .close-btn {
  position: absolute;
  top: 10px;
  width: 10px;
  height: 10px;
  right: 20px;
  font-size: 1.5rem;
  color: orange;
  cursor: pointer;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: orange;
  cursor: pointer;
  user-select: none;
}

.slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow-x: hidden;
  height: auto;
}

.slides {
  display: flex;
  transition: transform 0.5s ease;
  z-index: 1;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: auto;
  display: flex;
  background-color: white;
  flex-direction: column;
}

.slide-half.slide-text {
  position: relative;
  background-color: white;
  font-size: 12px;
  margin-top: 5px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}

.slide-half {
  width: 50%;
  box-sizing: border-box;
  padding: 5px;
}

.slide-half .slide-image {
  position: relative;
  background-color: white;
  font-size: 11px;
  padding: 0.5rem;
  height: 75%;
}

.slide-image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 200px;
  margin-top: 27px;
}

.slide-image img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  align-items: center;
  display: block;
}

.underlay {
  position: absolute;
  width: 800px;
  height: 482.15px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  z-index: -1;
  pointer-events: none;
}

.slider-controls {
  display: none;
}

.slider-controls .prev,
.slider-controls .next {
  background: none;
  border: none;
  font-size: 2rem;
  color: orange;
  cursor: pointer;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: orange;
  border-radius: 50%;
  opacity: 0.5;
  cursor: pointer;
}

.dot.active {
  opacity: 1;
}

.slide h2 {
  color: orange;
}

.sun-photo {
  display: block;
  max-width: 60%;
  height: auto;
  margin: 0 auto 10px;
  object-fit: contain;
}

.shops {
  font-size: 14px;
}

#login-form {
  background-color: #fff6dc;
  border-radius: 12px;
  padding: 20px;
  max-width: 400px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: 'Verdana', sans-serif;
}

#login-form label {
  font-size: 16px;
  color: #333;
  display: block;
  margin-bottom: 10px;
}

#login-form input[type="password"] {
  padding: 8px 12px;
  font-size: 16px;
  width: 80%;
  max-width: 250px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 12px;
}

#login-form button#login-button {
  background-color: orange;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#login-form button#login-button:hover {
  background-color: darkorange;
}

.slider-arrow.left {
  left: 10px;
}

.slider-arrow.right {
  right: 10px;
}

.admin-panel {
  background-color: #fff6dc;
  border-radius: 12px;
  padding: 20px;
  max-width: 1000px;
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* -----------------------------
   ADMIN TOOLBAR
----------------------------- */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.admin-toolbar button {
  background-color: orange;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1rem;
  cursor: pointer;
}

.admin-toolbar button:hover {
  background-color: darkorange;
}

/* -----------------------------
   EDITOR LAYOUT
----------------------------- */
#editor-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
}

#gallery-editor,
#preview-container {
  width: 50%;
  box-sizing: border-box;
}

#preview-container pre {
  max-height: none;
  overflow: auto;
  background: #f8f8f8;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

/* -----------------------------
   IMAGE UPLOAD AREA
----------------------------- */
#image-upload-zone {
  margin-top: 30px;
  text-align: center;
}

#image-upload-zone input[type="file"] {
  margin: 10px;
}

/* ------------------------------------
   FOOTER
------------------------------------ */
/* Footer styling */
footer {
    background-color: black;
    height: 6vh;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 1;
    color: white;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
}

/* Orange lines at the top and bottom of the footer */
footer::before,
footer::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: orange;
  left: 0;
}

footer::before {
  top: 0;
}

footer::after {
  bottom: 0;
}

/* -----------------------------
   GLOBAL NAVIGATION (Fallback)
----------------------------- */
nav {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  top: 7%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  padding: 0;
  margin: 0;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: orange;
  border-bottom: 2px solid orange;
}

/* -----------------------------
   ZOOM CONTROLS
----------------------------- */
.zoom-controls {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  gap: 20px;
  padding: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: row;
}

/* -----------------------------
   ADMIN TABLE WRAPPER
----------------------------- */
.table-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.table-column {
  flex: 1;
  min-width: 320px;
}

/* -----------------------------
   ADMIN TABLE STYLE
----------------------------- */
.slim-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-family: Verdana, sans-serif;
  font-size: 0.875rem;
  color: black;
}

.slim-table th,
.slim-table td {
  border: 1px solid black;
  padding: 4px;
  text-align: left;
}

.slim-table th {
  background-color: black;
  color: orange;
  font-weight: bold;
  opacity: 0.8;
}

.slim-table td {
  width: 50%;
}

/* -----------------------------
   TABLE HEADERS / TITLES
----------------------------- */
.table-title,
.shops {
  color: orange;
  font-size: 1.125rem;
  font-weight: bold;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
    overflow-x: hidden;
    background: #fffdc8;
  }

  *, *::before, *::after {
    box-sizing: inherit;
  }

  .static-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 24vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 100;
    padding-top: 10px;
  }

  .header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }
.orion1 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 15px;
  width: 100%;
  max-width: 320px;
  height: auto;
}
  .static-header h1 {
    font-size: 1.3rem;
    color: orange;
    margin: 0;
    line-height: 1.3;
  }

  .subtitle {
    display: block;
    font-size: 1rem;
    color: white;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 8px;
  }

  .hamburger-menu span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .static-nav {
    position: absolute;
    top: 23.5vh;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background-color: orange;
    border-radius: 10px;
    padding: 8px 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
  }

  .static-nav.active {
    opacity: 1;
    visibility: visible;
  }

  .static-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .static-nav ul li a {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
  }

  .static-nav ul li a:hover {
    background-color: black;
    color: orange;
  }
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: black;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.nav-arrow.left {
  left: 10px;
}

.nav-arrow.right {
  right: 10px;
}

#white-square {
  position: absolute;
  top: 18vh;                           /* Directly below header */
  bottom: 6vh;                         /* Stops above the footer */
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  background: #fcf6e9;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-bottom: 8vh; /* gives enough breathing room above a 6vh footer */
}

/* Optional: Mobile scrollbar polish */
#white-square::-webkit-scrollbar {
  width: 10px;
}
#white-square::-webkit-scrollbar-thumb {
  background: orange;
  border-radius: 10px;
}

  #white-square h2 {
    font-size: 1.2rem;
    color: orange;
    text-align: center;
    margin-bottom: 12px;
  }

  #white-square p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    margin-bottom: 1rem;
    color: #333;
    word-wrap: break-word;
  }

  #white-square p.subtitle {
    font-size: 0.95rem;
    color: #444;
    text-align: center;
    margin-top: -4px;
  }
.quote-container {
  display: block;
  width: 100% !important;
  padding: 0;
  margin: 20px 0;
  box-sizing: border-box;
}
  .arrow-spacer {
    height: 100px; /* create vertical room for arrows */
    width: 100%;
  }
.quote-block {
  margin: 0 auto;
  max-width: 95%; /* Match regular text width */
  padding: 0 16px;
  padding-bottom: 40px;
  background: none;
  text-align: left;
  box-sizing: border-box;
  background-color: rgba(255,0,0,0.1);
}

.quote-text {
  font-size: 0.95rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.6;
  color: #333;
  text-align: left;
  display: block;
}

.citation {
  display: block;
  font-size: 0.9rem;
  font-style: italic;
  color: #444;
  text-align: right !important;
  width: 100%; /* ensures it uses the full width of parent */
  box-sizing: border-box;
}
.intro {
  margin-left: -12px !important;
}

  
  /* Optionally, adjust other elements as needed for mobile readability */
  .static-header h1 {
    text-align: center;
  }
  .header-left {
    text-align: center;
  }
#black-overlay {
  display: none !important;
}

/* When the menu is active (clicked), make it visible */
.static-nav.active {
  display: flex;
}

/* Style the navigation links */
.static-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.static-nav ul li {
  padding: 10px 0;
  width: 100%;
}

.static-nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  display: block;
  padding: 10px;
  transition: background 0.3s ease-in-out;
}

.static-nav ul li a:hover {
  background: orange;
  color: black;
}

.gallery-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.gallery-cell {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
  margin: 0;
}
.gallery-cell img {
  display: block;         /* Remove inline image spacing */
  margin: 0 auto;         /* Ensures it's centered */
  width: 90%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}
  .description-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 20px;
    width: 100%;
  }

  .description {
    font-size: 14px;
    color: black;
    text-align: center;
    max-width: 90%;
    margin: 0 auto;
  }    
/* ========================================
       MOBILE VIEWER (Detailed Image View)
    ======================================== */
/* MOBILE LAYOUT FIXES */

.mobile-viewer {
  padding: 10px;
  position: relative;
}

.mobile-viewer .viewer-title {
  text-align: center;
  font-size: 1.4em;
  margin: 10px 0 15px;
  color: orange;
  margin-top: 30px;
}

.mobile-viewer img.large-image {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Custom image arrows below the white-square */

.nav-arrow-img {
  position: fixed;
  bottom: 20px;
  width: 25px;              /* adjust as needed, try 40px–60px */
  height: auto;
  z-index: 9999;            /* make sure it’s above everything */
  cursor: pointer;
  user-select: none;
  margin-bottom: 30px;
  opacity: 1;
  object-fit: contain;      /* avoids image distortion */
  pointer-events: auto;
}
.nav-arrow-img.left {
  left: 20px;
}

.nav-arrow-img.right {
  right: 20px;
}
.viewer-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 10px 10px;
  text-align: center;
  margin-right: 5px !important;
}

.mobile-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px;
    padding-bottom: 6vh !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden !important;
}
.viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    background: white;
    top: 0;
    left: 0;  
    z-index: 999;
    box-sizing: border-box;
}

/* Title aligned left, flexible */
.viewer-title {
    font-size: 18px;
    font-weight: bold;
    color: orange;
    margin: 0;
    white-space: nowrap;
    flex-grow: 1;
}
/* Ensure the image scales properly */
    .mobile-viewer .large-image {
        width: 90%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        margin-top: 15px;
    }

    /* ?? Long descriptions in the viewer */
    .mobile-viewer p {
        font-size: 14px;
        text-align: center;
        margin-top: 20px;
        padding: 0 15px;
        color: black;
    }

/* Image Description */
.viewer-description {
    font-size: 12px;
    text-align: center;
    margin-top: 15px !important;
    padding: 10px;
    line-height: 1.5;
}
/* Fix alignment and spacing */
.close-btn {
    background: white;
    border: 2px solid orange;
    color: orange;
    padding: 8px 12px;
    font-size: 18px;
    margin-top: -65px !important;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center  !important;
    justify-content: center;
    width: 20px;
    height: 20px;
}
.close-btn:hover {
    background: orange;
    color: white;
}
/* Viewer Content */
.viewer-content {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

/* Large Image */
.large-image {
    max-width: 95%;
    height: auto;
    border-radius: 12px;
    margin-top: 10px;
}
    /* ?? Reset Zoom Button */
    .reset-zoom-btn {
        background: orange;
        color: white;
        padding: 8px 15px;
        border: none;
        border-radius: 5px;
        font-size: 14px;
        margin-top: 10px;
        cursor: pointer;
        transition: all 0.2s ease-in-out;
    }

    .reset-zoom-btn:hover {
        background: darkorange;
    }
  /* --- Page Title --- */
.top {
  width: 100%;
  text-align: center !important;
  box-sizing: border-box;
  display: block !important;
  margin-top: 0;           /* ensure no unexpected spacing from above */
}

.top h2 {
  margin: 0 auto;
  padding: 0;
  text-align: center !important;
  font-size: 1.1rem !important;
  color: orange;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
  /* --- Page Subtitle --- */
  .intro3 {
    width: 100%;
    text-align: center;
    padding: 0 15px 12px;
    box-sizing: border-box;
    margin-top: -2px;   
  }

  .intro3 p {
    font-size: 1rem;
    color: #333;
    margin: 0 auto;
    max-width: 90%;
  }
  .top,
  .intro3 {
    display: block !important;
  }
  .top h2 {
    font-size: 4px;
}
  /* --- Slider Wrapper --- */
  .slider {
    width: 100%;
    max-width: 100%;
    height: auto !important;
    overflow: visible !important;
    padding: 0;
    margin: 0;
  }

  .slides {
    flex-direction: column;
    width: 100%;
    height: auto !important;
  }

  .slide {
    display: flex;
    flex-direction: column-reverse; /* Image below text */
    width: 100%;
    height: auto !important;
    padding: 0 15px 30px;
    box-sizing: border-box;
    background-color: white;
  }
  .slide-half.slide-text h2 {
    font-size: 1.0rem;
    color: orange;
    margin: 0 0 10px;
    padding: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;  /* allow wrapping */
    word-break: break-word;  /* prevent overflow */
  }

  .slide-half.slide-text {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
    overflow: visible;
  }
  /* --- Slide Text Block --- */
  .slide-half.slide-text {
    width: 100%;
    font-size: 1rem;
    padding: 15px;
    height: auto !important;
    overflow: visible !important;
    display: block;
    background-color: white;
    box-sizing: border-box;
  }

  /* --- Slide Image Block --- */
  .slide-half {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }

  .slide-half .slide-image {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: auto !important;
    width: 100% !important;
    padding: 10px 0;
    background-color: transparent;
  }

  .slide-image img {
    width: 100%;
    max-width: 320px;
    height: auto;
    object-fit: contain;
    display: block;
  }

  /* --- Hide Navigation Controls --- */
  .slider-controls,
  .slider-controls .prev,
  .slider-controls .next,
  .dot,
  .underlay {
    display: none !important;
  }

  /* --- Optional: Slightly smaller section headers in text --- */
  .slide-half.slide-text h3 {
    font-size: 1.3rem;
    color: orange;
    margin-top: 0;
  }
.swipe p {
  text-align: center !important;
  display: block;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  color: #333; /* Optional styling */
  font-size: 1rem; /* Adjust if needed */
}
  .sun-photo {
    display: none;
  }
.table-container {
    flex-direction: column; /* Stack left and right tables vertically */
    gap: 20px;
  }
. viewer-title  {
  .table-column {
    width: 100%;
  }

  .slim-table {
    width: 100%;
    font-size: 15px;
  }

  /* Stack URL above Description for each row */
  .slim-table tr {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid black;
    margin-bottom: 10px;
  }

  .slim-table th {
    display: none; /* Hide headers (optional on mobile) */
  }

  .slim-table td {
    width: 100%;
    display: block;
    padding: 6px 8px;
    border: none;
    border-bottom: 1px solid #ccc;
  }

  .slim-table td:first-child {
    font-weight: bold;
    color: #0056b3;
    word-break: break-word;
  }

  .slim-table td:last-child {
    color: #333;
    margin-top: -5px;
  }

  .shops,
  .table-title {
    font-size: 16px;
    text-align: center;
    margin-bottom: 5px;
  }
.admin-button-container {
  display: none;
}

/* Footer styling */
  footer {
    position: fixed;
    bottom: 0;
    height: 6vh;
    width: 100%;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    z-index: 100;
  }
/* Orange lines at the top and bottom of the footer */
footer::before,
footer::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: orange;
  left: 0;
}

footer::before {
  top: 0;
}

footer::after {
  bottom: 0;
}
}


@media screen and (max-width: 768px) {
  .slim-table {
    width: 95%;
    border-collapse: collapse;
    display: block;
  }
  .quote-text, .citation {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    color: black;
  }

  .slim-table thead {
    display: none;
  }
  .header-logo img {
    height: 60px !important;
    width: auto;
  }

  .slim-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
  }
  .slim-table tr:first-child {
    display: none;
  }
  .slim-table td {
    display: block;
    width: 100%;
    padding: 5px 0;
    font-size: 0.95em;
    color: #111;
  }

  .slim-table td:first-child {
    font-weight: bold;
    color: #0047ab;
    word-break: break-word;
  }

  .slim-table td:nth-child(2) {
    margin-top: 8px;
    font-style: italic;
  }
}

@media screen and (min-width: 768px) and (max-width: 1366px) {
  html, body {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
    background-color: #fffdc8;
    font-family: Verdana, sans-serif;
  }

  body.centered-layout {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    box-sizing: border-box;
  }

  .static-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    background-color: rgba(0, 0, 0, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    z-index: 100;
  }

  .static-header h1 {
    font-size: 2rem;
    color: orange;
    margin: 0;
    text-align: center;
  }

  .header-logo img {
    height: 50px !important;
    height: auto;
    width: auto;
  }

  .static-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: transparent;
    top: 1vh;
    font-family: Arial, sans-serif;
    padding: 10px 0;
    z-index: 90;
  }

  .static-nav ul {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
  }

  .static-nav ul li a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .static-nav ul li a:hover {
    color: orange;
    border-bottom: 2px solid orange;
  }

  #white-square {
    position: relative;
    margin-top: 15vh;
    margin-bottom: 6vh;
    width: 92%;
    max-width: 1200px;
    background: #fcf6e9;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow-y: auto;
    flex-grow: 1;
  }

  .top h2 {
    text-align: center;
    font-size: 1.4rem;
    color: orange;
    margin: 15px 0 25px;
  }

  .intro, .intro2, .intro3, .intro4 {
    font-size: 14px;
    color: black;
    padding: 10px 15px;
    text-align: left;
  }

  .orion1 {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 15px auto;
  }

  .quote-text, .citation {
    text-align: center;
    font-size: 1rem;
    margin: 0 auto;
    color: black;
  }

  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .gallery-cell {
    width: 200px;
    height: 200px;
    background: #fcf6e9;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .gallery-cell img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 5px;
  }

  footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 6vh;
    background-color: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    z-index: 100;
  }

  footer::before,
  footer::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: orange;
    left: 0;
  }

  footer::before { top: 0; }
  footer::after { bottom: 0; }

  .language-switcher {
    top: 14%;
    right: 16px;
    transform: translateY(-50%);
  }

  .admin-button-container {
    display: block;
    top: 10px;
    left: 10px;
  }

  .slide-image img,
  .large-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
  }

  .slide-half.slide-text {
    font-size: 14px;
    padding: 10px;
    overflow-y: auto;
  }

  .slider {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    overflow-x: hidden;
  }
}
