
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background: #0c0c1c;
  color: #e0e0f0;
}

h1 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

nav {
  display: flex;
  flex-direction: row; /* logo left */
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background-color: #111;
  position: relative;
  z-index: 4;
}

.logo-title {
  display: flex;
  align-items: center;
}

.site-title {
  margin-left: 0.5rem;
  font-weight: bold;
  font-size: 1.2rem;
  color: gold;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  z-index: 999;
  position: relative;
}

.nav-menu li a {
  color: #e0e0f0;
  text-decoration: none;
  font-size: 1.3rem;  /* ~22px */
}


.nav-menu li a:visited {
  color: #e0e0f0;
}

.nav-menu li a:hover {
  color: #FFFFFF;
}

.nav-menu li a:active {
  color: #FFD700;
}

@media (max-width: 768px) {
  .nav-menu li a {
    font-size: 1.3rem;  /* ~24px for finger tapping */
  }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.8); /* overlay + transparency */
    position: fixed;  /* CHANGE: was absolute */
    top: 70px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 9999;  /*  BOOST: ensure above hero-text z-index 5 */
  }
  .nav-menu.open { display: flex; }
}

.logo { height: 60px; width: 60px; }

.break-on-mobile {
  display: inline;
}

@media (max-width: 600px) {
  .break-on-mobile {
    display: block;
  }
}

.hero-text {
  position: relative;  /* RELATIVE not absolute! */
  text-align: center;
  z-index: 5;
}

.hero-text h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 5rem); /* responsive size */
  line-height: 1.1;
  color: rgb(255, 196, 0);
  text-shadow: 4px 4px 6px rgba(0,0,0,0.8);
}


.banner-container {
  position: relative;
  display: flex;
  flex-direction: column; /* vertical flow for text */
  align-items: center;
  justify-content: center; /* vertical centering */
  height: 30vh;
  width: 100%;
  overflow: hidden;
  background: #000;
  z-index: 1; /* force lower than nav menu overlay */
}

.banner-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  cursor: pointer;
}

.banner-image.active { opacity: 1; z-index: 1; }

.tooltip {
  position: absolute;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 7px;
  font-size: 14px;
  line-height: 1.3;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.fullscreen {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none;
}

.fullscreen img {
  max-width: 100%;
  max-height: 100%;
  transform-origin: center center;
  transform: scale(0.1) rotate(-25deg);
  transition: transform 1.8s ease-in-out;
}

.close-btn {
  position: absolute;
  top: 20px; right: 20px;
  background: #f00;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1000;
}

.description-box {
  position: absolute;
  top: 100px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px 16px;
  font-size: 14px;
  border-radius: 8px;
  max-width: 30%;
  max-height: 40%;
  overflow-y: auto;
  z-index: 1001;
  text-align: left;
}

.site-title {
  display: inline-block;
  margin-left: 1rem;
  font-weight: bold;
  font-size: 1.2rem; /* Adjust size as needed */
  color: rgb(255, 196, 0);
  vertical-align: middle;
}


.section-dark,
.section-mid {
  position: relative;
  overflow: hidden;
}

.section-dark::before,
.section-mid::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/starchartbkd.png') repeat;
  opacity: 0.5; /* starchart visibility */
  pointer-events: none;
}


.section-dark {
  background-color: #07001af3;
  color: #f0f0f0;
  padding: 4rem 2rem;
}

.section-mid {
  background-color: #202458;
  color: #f0f0f0;
  padding: 4rem 2rem;
}


.section-taupe {
  background-color: #d8cfc4;
  color: #111;
  padding: 4rem 2rem;
}

.section-light {
  background-color: #f5f5f5;
  color: #111;
  padding: 4rem 2rem;
}

/* .container {
  max-width: 960px;
  margin: 0 auto;
} */

.section-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px; /* optional: rounded corners */
}

.next-meeting-heading {
  color: hsl(44, 100%, 50%);
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
}

.meeting-details-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* spacing between image and text */
  flex-wrap: wrap; /* stacks nicely on small screens */
}

.meeting-snap {
  max-width: 400px; /* adjust as needed */
  height: auto;
  border-radius: 5px; /* optional: rounded corners */
}

.meeting-info {
  max-width: 500px;
}

.meeting-info h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  background: #2b2b2b;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background: #555555;
}

.btn-dark {
  background: #252525;
  color: #fff;
}

.btn-dark:hover {
  background: #555555;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-parallax {
  background-image: url('../images/Observing-session.jpg'); /* your big image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 8rem 2rem;
  position: relative;
}

.section-parallax::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* subtle dark overlay to keep text readable */
  z-index: 0;
}

.section-parallax .container {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
}


  .meeting-snap {
  width: 600px;
  height: auto;
  transition: opacity 1s ease-in-out; /* keep the fade */
  display: block; /* ensures proper sizing */
  max-width: 100%; /* keeps it responsive if needed */
  z-index: 5;
}

.button-archive {
  display: inline-block;
  background: rgb(255, 217, 0); /* Gold */
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.button-archive:hover {
  background: #000; /* Invert on hover */
  color: rgb(255,215,0);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1a1a1a;
  padding: 2em;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.contact-heading {
  max-width: 700px;
  margin: 3em auto 1em auto;
  padding: 0 3em;
  color: #fff;
  font-size: 2em;
  font-weight: bold;
  text-align: left;
}

.contact-intro {
  max-width: 700px;
  margin: 0 auto 2em auto;
  padding: 0 3em;
  color: #ccc;
  font-size: 1.1em;
  line-height: 1.6;
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 1.5em;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5em;
  color: #ccc;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75em;
  border: 1px solid #555;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #00aaff;
  outline: none;
}

.form-button {
  background-color: #00aaff;
  color: #fff;
  border: none;
  padding: 0.75em 2em;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.form-button:hover {
  background-color: #008fcc;
}

footer.footer {
  background-color: #000;
  color: #ccc;
  text-align: center;
  padding: 2rem;
}
