:root {
  --green: #2ecc71;
  --dark-green: #27ae60;
  --white: #ffffff;
  --gray: #f4f4f4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Anton", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--white);
  color: #333;
  line-height: 1.6;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

/* ===== Header ===== */
header {
  background-color: var(--green);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 20;
}

header h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

/* ===== Navbar ===== */
nav {
  background: var(--dark-green);
  padding: 0.75rem 0;
  text-align: center;
  position: fixed;
  top: 80px; /* below header */
  width: 100%;
  z-index: 15;
}

nav a {
  color: var(--white);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: bold;
  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

/* ===== Sections ===== */
main {
  margin-top: 1.5rem; /* offset for header + nav */
}

section {
  height: 100vh; /* full screen height */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  text-align: center;
  padding: 2rem 10%;
}

/* alternate subtle backgrounds */
section:nth-of-type(odd) {
  background-color: var(--white);
}

section:nth-of-type(even) {
  background-color: var(--gray);
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(rgba(46, 204, 113, 0.1), rgba(46, 204, 113, 0.1)),
              url('IMG_8036.jpeg') center/cover;
  color: var(--white);
}

#events {
  background: linear-gradient(
      rgba(46, 204, 113, 0.1),
      rgba(46, 204, 113, 0.1)
    ),
    url("IMG_8044.jpeg") center / cover no-repeat;
  color: var(--white);
}
#mission {
  background: linear-gradient(
      rgba(46, 204, 113, 0.1),
      rgba(46, 204, 113, 0.1)
    ),
    url("IMG_6079.jpeg") center / cover no-repeat;
  color: var(--white);
}
h2 {
  font-size: 4rem;
  margin-bottom: 1rem;
}
p {
  font-size: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}


.hero h2 {
  font-size: 7rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--white);
  color: var(--green);
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.button:hover {
  background-color: var(--gray);
}

/* ===== Footer ===== */
footer {
  background-color: var(--dark-green);
  color: var(--white);
  text-align: center;
  padding: 1rem;
}

header, nav {
  position: fixed;
  width: 100%;
  z-index: 20;
  transition: top 0.3s ease; /* smooth hide/show animation */
}
