/* === Base Layout === */
html {
  scroll-behavior: smooth;
}

body {
  background-color: black;
  color: white;
  font-family: 'Space Mono', monospace;
  margin: 0;
  padding: 0;
  transition: background 0.5s, color 0.5s;
  background-image: url('rocket_line_art.svg');
  background-repeat: repeat;
  background-size: 300px;
}

/* === Header === */
header {
  position: sticky;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
   align-items: center; 
  font-weight: bold;
 /* text-align: center; */
  padding: 20px;
}

/* Navbar container */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #000;
  color: white;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
   
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  right: 0;
}

/* icon */
.icon {
  font-size: 1.5rem;
  font-weight: bold;
  left: 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 100vw;
  overflow-x: hidden;
}

.nav-links a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  transition: background 0.2s ease;
}

.nav-links a:hover {
  background-color: #555;
  border-radius: 4px;
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  position: fixed;
  right: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 1000px) {
  .icon {
    display: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: 4rem;
    right: 0;
    height: 100%;
    /* width: 200px; */
    width: 100%;
    background-color: #000;
    flex-direction: column;
    padding: 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}





.hero-section {
  background: rgba(0, 0, 0, 0.8); /* semi-transparent background over your line art */
  color: white;
  text-align: center;
  padding: 100px 20px;
  background-blend-mode: multiply;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url('graphics/herobg.jpg'); 
  background-size: cover;
  background-position: center;
}

.hero-section h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

.hero-section p {
  font-size: 1.2em;
  color: #ccc;
  margin-bottom: 1.5em;
}



/* === Section Layout === */
section {
  padding: 40px 16px;
  max-width: 900px;
  margin: 0 auto;
 /* border-bottom: 2px solid white; */
}

h2 {
  font-size: 1.8em;
  margin-bottom: 16px;
  border-bottom: 1px solid white;
  display: inline-block;
}

.light-mode h2 {
  border-bottom: 1px solid black;
}

/* === Members & Projects === */
.member, .project {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-align: center;
}

.member img, .project img {
  width: 90%;
  max-width: 300px;
  border: 2px solid white;
}

.light-mode .member img,
.light-mode .project img {
  border: 2px solid black;
}

/* === Donate Button === */
.donate-button {
  background: none;
  border: 2px solid white;
  color: white;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  width: 90%;
  max-width: 300px;
}

.donate-button:hover {
  background: white;
  color: black;
}

.light-mode .donate-button {
  border: 2px solid black;
  color: black;
}

.light-mode .donate-button:hover {
  background: black;
  color: white;
}

/* === Email Form === */
.email-form input[type="email"],
.email-form input[type="submit"] {
  padding: 12px;
  width: 90%;
  max-width: 300px;
  border: 2px solid white;
  background: black;
  color: white;
  margin-bottom: 10px;
}

.light-mode .email-form input[type="email"],
.light-mode .email-form input[type="submit"] {
  border: 2px solid black;
  background: white;
  color: black;
}

.email-form input[type="submit"]:hover {
  background: white;
  color: black;
}

.light-mode .email-form input[type="submit"]:hover {
  background: black;
  color: white;
}

/* === Fade In Animation === */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: none;
}

/* === Social Links === */
.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.social-links img {
  width: 32px;
  height: 32px;
 /* filter: grayscale(100%); */
  transition: transform 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
}

.light-mode .social-links img {
  filter: none;
}

/* === Footer === */
footer {
  background: black;
  color: #ccc;
  padding: 40px 16px;
  margin-top: auto;
  text-align: center;
  font-size: 0.9em;
  border-top: 1px solid white;
}

/* Add these rules to remove bullet points from lists in your footer */
footer ul {
    list-style: none; /* Removes the bullet points */
    padding: 0;      /* Removes default left padding */
    margin: 0;       /* Removes default top/bottom margin */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  /* flex-direction: column; */
  /* gap: 32px; */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  color: white;
  font-size: 1.2em;
  margin-bottom: 12px;
}

.footer-section p,
.footer-section a {
  font-size: 0.9em;
}

.footer-link {
  color: #66b2ff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #99ccff;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 16px;
  margin-top: 32px;
  text-align: center;
  font-size: 0.8em;
  color: #888;
}
@media (max-width: 1000px) {
  .footer-container {
  display: flex;
  flex-direction: column;
  /* gap: 32px; */
  max-width: 1200px;
  margin: 0 auto;
}
}


/* === Light Mode Overrides === */
.light-mode {
  background-color: white;
  color: black;
}

.light-mode footer {
  background: white;
  color: #333;
  border-top: 1px solid black;
}

.light-mode .footer-section h3 {
  color: black;
}

.light-mode .footer-link {
  color: #004499;
}

.light-mode .footer-link:hover {
  color: #002244;
}

.light-mode .footer-bottom {
  border-top: 1px solid #aaa;
  color: #555;
}

.light-mode .social-icon {
  color: black;
}

* {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

