* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}

:root {
  --green-dark: #1a5632;
  --green-main: #2d8a4e;
  --green-light: #4caf50;
  --green-pale: #e8f5e9;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray: #666666;
  --gray-dark: #333333;
  --shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px 60px;
}

.hero-overlay .logo {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero .tagline {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navbar */
.navbar {
  background: var(--green-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 10px 20px;
}

.navbar a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s;
}

.navbar a:hover {
  background: var(--green-main);
}

.navbar a.active {
  background: var(--green-main);
  border-radius: 4px;
}

/* Mobile header - hidden on desktop */
.mobile-header {
  display: none;
}

.section-indicator {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Hamburger button - hidden on desktop */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Sections */
.section {
  padding: 60px 20px;
}

.section.alt {
  background: var(--gray-light);
}

.section h2 {
  font-size: 2rem;
  color: var(--green-dark);
  text-align: center;
  margin-bottom: 20px;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  color: var(--gray);
}

/* Officers */
.officers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.officer-card {
  background: var(--white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.officer-card:hover {
  transform: translateY(-4px);
}

.officer-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.officer-card h3 {
  color: var(--green-main);
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.officer-card p {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gray-dark);
}

/* Calendar toggles */
.calendar-toggles {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 20px;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-dark);
}

.toggle-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--green-main);
}

/* Calendar wrapper */
.calendar-wrapper {
  position: relative;
  height: 600px;
}

.calendar-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
}

.calendar-actions {
  text-align: center;
  margin-top: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green-main);
  color: var(--white);
  font-size: 1.2rem;
  padding: 18px 48px;
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(45,138,78,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--green-main);
}

.btn-secondary:hover {
  background: var(--green-pale);
}

.btn-large {
  font-size: 1.2rem;
  padding: 18px 48px;
}

/* Sign-up form */
#signups {
  padding-top: 20px;
  padding-bottom: 20px;
}

#signups .container {
  padding: 0;
}

.form-and-qr {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 10px;
}

.form-embed {
  flex: 1;
  min-width: 0;
  margin: 0 -12px;
}

.form-embed iframe {
  display: block;
}

.qr-code {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.qr-code p {
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.qr-code img {
  display: block;
  margin: 0 auto;
}

/* Membership */
#membership {
  text-align: center;
}

/* Contact */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.contact-item {
  background: var(--white);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.contact-item h3 {
  color: var(--green-main);
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  text-decoration: underline;
}

.school-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.school-links .btn {
  min-width: 200px;
  max-width: 300px;
  flex: 1;
}

/* Footer */
footer {
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
}

footer p {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Small screens up to 425px */
@media (max-width: 425px) {
  .container {
    padding: 0 10px;
  }

  .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .btn-large {
    padding: 16px 20px;
  }

  .school-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .school-links .btn {
    min-width: 0;
    max-width: none;
    margin-bottom: 0;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    min-height: 50px;
  }

  main {
    margin-top: 50px;
  }

  .hero {
    padding: 50px 15px 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  /* Hamburger menu */
  .hamburger {
    display: block;
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    z-index: 1000;
    padding: 10px 0;
    background: none;
    border-radius: 0;
  }

  .hamburger span {
    margin: 4px 0;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 0;
    gap: 0;
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--green-dark);
    box-shadow: var(--shadow);
  }

  .navbar ul.open {
    display: flex;
    z-index: 102;
  }

  .navbar a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 0;
  }

  .section {
    padding: 25px 10px;
  }

  .section h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .form-and-qr {
    flex-direction: column;
    align-items: center;
  }

  .form-embed {
    margin: 0;
    width: 100%;
  }

  .qr-code {
    display: none;
  }

  .qr-code img {
    width: 200px;
    height: 200px;
  }

  .officers-grid {
    gap: 15px;
  }

  .officer-card {
    padding: 25px 20px;
  }

  .contact-info {
    gap: 15px;
  }

  .contact-item {
    padding: 25px 20px;
  }

  .calendar-toggles {
    gap: 15px;
  }

  .school-links {
    flex-direction: column;
    align-items: stretch;
  }

  .school-links .btn {
    margin-bottom: 10px;
  }

  .school-links .btn:last-child {
    margin-bottom: 0;
  }
}
