body {
  font-family: 'Helvetica', sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #fdf8f9, #eaf4ff);
  color: white;
}

/* Updated Nav Styles */
#hamburger {
  font-size: 2rem;
  cursor: pointer;
  color: white;
}


#hamburger {
  display: none;
}

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #022242;
  padding: 0.5rem 2rem;
  /* Use fixed padding instead of percentage */
  position: fixed;
  width: 100%;
  /* Ensures it takes up the full viewport width */
  max-width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  min-height: 7rem;
  box-sizing: border-box;
}


#nav-brand {

  display: flex;
  align-items: center;
  gap: 2rem;
  /* Space between logo and text */
}

/* Smaller Logo */
#nav-brand img {
  width: 4rem;
  /* Adjusted to fit better */
  height: auto;
}

/* Church Name Styling */
#nav-text {
  font-size: 2rem;
  /* Adjusted to fit navbar */

  font-family: 'Futura', sans-serif;


  white-space: nowrap;
  /* Prevents text from breaking */
  display: flex;
  align-items: center;


}

/* Nav Links */
#nav-list {
  font-family: 'Helvetica ', sans-serif;
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
}

#nav-list li a {
  /* color: rgb(211, 151, 0); */
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  font-family: 'Futura', sans-serif;
  /* font-weight: bold; */
  transition: color 0.3s ease;
  /* text-shadow: 1px 1px 18px #fefefe; */

}

#nav-list li a:hover,
#nav-list li a:focus {
  color: #871d38;
}

/* Dropdown Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #871d38;
  padding: 1rem;
  list-style: none;
  top: 100%;
  left: 0;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown:hover .dropdown-menu {
  display: block;

}

.dropdown-menu li {
  margin-bottom: 0.5rem;
}

.dropdown-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: block;
}

.dropdown-menu li a:hover {
  color: white;
}

/* Hero */
.give-hero {
  background-color: #022242;
  height: 40rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 2rem;
}

.give-hero h1 {
  font-size: 5rem;
  margin: 0;
  font-weight: bold;
}

.give-hero p {
  font-size: 2.5rem;
  margin-top: 1rem;
  font-weight: 300;
}

/* Main Box */
.give-box {
  background-color: white;
  max-width: 600px;
  margin: 4rem auto;
  padding: 4rem 2rem;
  text-align: center;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.give-box h2 {
  color: #871d38;
  font-size: 3rem;
  margin-bottom: 1rem;
}

.give-subtext {
  font-size: 1.8rem;
  color: #444;
  margin-bottom: 2rem;
}

.give-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.give-bubble {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #871d38;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 1.5rem;
  color: black;
}

.give-bubble:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
}

.give-bubble .emoji {
  font-size: 2rem;
}

.give-instructions {
  font-size: 1.6rem;
  color: #333;
  max-width: 500px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

.give-instructions a {
  color: #871d38;
  font-weight: bold;
  text-decoration: underline;
}

.give-instructions a:hover {
  color: #a62450;
}

.thank-you {
  font-size: 1.5rem;
  color: #222;
  margin-top: 2rem;
  font-style: italic;
}


/* Footer */
#footer {
  background-color: #022242;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.6rem;
  font-family: 'Futura', sans-serif;
}

.footer-brand img {
  width: 3rem;
  height: auto;
}



.footer-links a:hover {
  color: white;
}

.footer-contact p {
  margin: 0.25rem 0;
  font-size: 1.2rem;
}

.footer-contact a {
  color: goldenrod;
  text-decoration: underline;
}

.footer-contact a:hover {
  color: white;
}

.footer-copy {
  font-size: 1rem;
  color: #aaa;
  margin-top: 1rem;
}


/* mobile design */
@media (prefers-reduced-motion: no-preference) {
  section {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  #hamburger {
    display: block;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0.5rem 1rem;
    margin-left: auto;
  }

  #nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  #nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 7rem;
    left: 0;
    width: 100%;
    background-color: #161414d1;
    padding: 1rem 0;
    z-index: 999;
  }

  #nav-list.show {
    display: flex;
  }

  #nav-list.hidden {
    display: none;
  }

  #nav-brand {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
  }

  #nav-brand img {
    width: 3rem;
  }

  #nav-text {
    font-size: 1.2rem;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    max-height: 40vh;
    overflow-y: auto;
    width: 100%;
    background-color: #871d38;
    text-align: center;
    padding: 0.5rem 0;
  }

  .give-hero {
    height: auto;
    padding: 8rem 1rem 3rem;
  }

  .give-hero h1 {
    font-size: 2.4rem;
  }

  .give-hero p {
    font-size: 1.4rem;
  }

  .give-box {
    margin: 2rem 1rem;
    padding: 2rem 1rem;
  }

  .give-box h2 {
    font-size: 2rem;
  }

  .give-subtext,
  .give-instructions,
  .thank-you {
    font-size: 1.1rem;
  }

  .give-bubble {
    padding: 1.5rem;
    font-size: 1.2rem;
  }

  .give-bubble .emoji {
    font-size: 1.8rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-contact {
    text-align: center;
  }
}

@media (max-width: 600px) {
  #nav-text {
    font-size: 1rem;
  }

  #nav-brand img {
    width: 2.5rem;
  }

  #nav-list {
    gap: 0.8rem;
  }

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

  .give-hero p {
    font-size: 1.2rem;
  }

  .give-box h2 {
    font-size: 1.6rem;
  }

  .give-subtext,
  .give-instructions,
  .thank-you {
    font-size: 1rem;
  }

  .give-bubble {
    font-size: 1rem;
  }

  .give-bubble .emoji {
    font-size: 1.5rem;
  }

  .footer-brand img {
    width: 2.5rem;
  }

  .footer-contact p {
    font-size: 0.95rem;
  }

  .footer-copy {
    font-size: 0.85rem;
  }
}
