:root {
  --green: #3f6b4f;
  --light: #f4f6f3;
  --dark: #1e2a24;
}

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

body {
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  background:
    linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("https://cdn.sanity.io/images/5z5awbll/production/cf8be8cb6f0e25c88edf32096a8120fb9f627129-2000x1093.jpg?rect=181,0,1639,1093&w=2000&h=1334&auto=format")
    center / cover no-repeat;
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 70px; /* space for fixed nav */
}

/* ========================= */
/* NAV (DESKTOP DEFAULT) */
/* ========================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(30, 58, 42, 1);
  padding: 1rem 3rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo {
  font-weight: 600;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
}

.sign-in-btn {
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  background-color: #1f4d3a;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.sign-in-btn:hover {
  background-color: #2f6b53;
}

/* Burger hidden on desktop */
.burger {
  display: none;
}

/* ========================= */
/* HERO CONTENT */
/* ========================= */

.hero-content {
  margin: auto;
  text-align: center;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 3rem;
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--green);
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* ========================= */
/* SECTIONS */
/* ========================= */

.section {
  padding: 5rem 3rem;
  max-width: 1100px;
  margin: auto;
}

.section.alt {
  background: white;
}

.section h2 {
  color: var(--green);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========================= */
/* GRID */
/* ========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--light);
  padding: 2rem;
  border-radius: 6px;
}

/* ========================= */
/* CALENDAR */
/* ========================= */

.calendar-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  margin-top: 2rem;
}

.calendar-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================= */
/* MAP */
/* ========================= */

.map-section {
  text-align: center;
}

.map-wrapper {
  margin-top: 1.5rem;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================= */
/* CONTACT FORM */
/* ========================= */

.contact-form {
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input,
textarea {
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background: var(--green);
  color: white;
  border: none;
  padding: 0.75rem;
  cursor: pointer;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

/* ========================= */
/* MOBILE ONLY */
/* ========================= */

@media (max-width: 768px) {

  /* Make hero taller on mobile */
  .hero {
    min-height: 85vh;
  }

  /* Show burger */
  .burger {
    display: block;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    z-index: 1100;
  }

  .nav {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(30, 58, 42, 1);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.25rem;
    z-index: 1000;
  }

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

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .calendar-wrapper {
    padding-top: 140%;
  }
}
