/* ==============================
   BODY
   ============================== */
body {
  margin: 0;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  color: #000000;
}
.back-link {
  display: inline-block;
  color: whitesmoke;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid white;
  padding: 4px 12px;
  letter-spacing: 2px;
  margin: 10px;
}
.back-link:hover {
  background: white;
  color: black;
}
/* ==============================
   BACKGROUND
   ============================== */
#top-section {
  position: relative;
  background-color: #111;
  padding: 10px;
  min-height: 100vh;
  margin: 0;
  color: #000000;
}
/* ==============================
   TABS
   ============================== */
#tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 50px 30px 40px;
  max-width: 960px;
  margin: 0 auto;
}
.earth-tab {
  position: relative;
  display: block;
  height: 110px;
  text-decoration: none;
  border: 3px solid white;
  overflow: hidden;
  cursor: pointer;
}
.earth-tab:hover {
  border-color: #ffa602;
}
.earth-tab:hover .tab-label {
  background: rgba(255, 165, 0, 0.75);
}
.earth-tab .tab-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.earth-tab .tab-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px;
  transition: background 0.15s;
}
/* ==============================
   PHOTO WALL
   ============================== */
#photo-wall {
  padding: 20px 30px 60px;
  max-width: 960px;
  margin: 0 auto;
  columns: 3;
  column-gap: 10px;
}
@media (max-width: 600px) {
  #photo-wall { columns: 2; }
}
.wall-photo {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  border: 3px solid white;
  cursor: pointer;
  transition: border-color 0.15s;
}
.wall-photo:hover {
  border-color: #ffa602;
}
.photo-block {
  color: red;
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  margin: 30px 0 20px;
  letter-spacing: 2px;
}
.photo-link {
  display: block;
  column-span: all;
  width: fit-content;
  margin: 20px 0 10px 0;
  padding: 6px 14px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: all 0.15s;
}
.photo-link:hover {
  border-color: #ffa602;
  color: #ffa602;
}
#featured-text {
  color: white;
  text-align: center;
  margin-top: 5px;
  font-size: 14px;
  font-family: Helvetica, Arial, sans-serif;
}
/* ==============================
   LIGHTBOX
   ============================== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  border: 3px solid white;
}
#lightbox-close {
  position: absolute;
  top: 14px;
  right: 20px;
  background: none;
  border: 2px solid white;
  color: white;
  font-size: 14px;
  padding: 4px 12px;
  letter-spacing: 2px;
  cursor: pointer;
  font-family: Helvetica, Arial, sans-serif;
}
#lightbox-close:hover {
  background: white;
  color: black;
}