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

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  color: #333;
  transition: background-color 0.3s, color 0.3s;
}

/* Dark theme */
body.dark-theme {
  background-color: #121212;
  color: #e0e0e0;
}

/* Container for centered content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

/* Header styling */
header {
  background-color: #004080;
  /* Dark blue */
  color: white;
  padding: 1rem 0;
  border-bottom: 4px solid #ffcc00;
  /* accent yellow */
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-img {
  height: 40px;
  width: auto;
}

/* Navigation styles */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.nav-links li a:hover,
.nav-links li a.active {
  text-decoration: underline;
}

/* Mobile menu toggle button */
.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: none;
  /* hide by default, show on mobile */
}

/* Theme toggle button */
#theme-toggle {
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('../images/hero-bg.jpg') center center/cover no-repeat;
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero.small {
  padding: 3rem 0 2rem 0;
  background: none;
  color: #004080;
}

/* CTA button */
.cta-button {
  display: inline-block;
  background-color: #ffcc00;
  color: #004080;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 1rem;
}

.cta-button:hover {
  background-color: #e6b800;
}

/* Sections */
section {
  margin: 2rem 0;
}

/* Cards in highlights */
.cards {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.1);
  width: 300px;
  padding: 1rem;
  text-align: center;
  transition: transform 0.3s;
}

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

.card img {
  width: 100%;
  border-radius: 6px 6px 0 0;
  height: 180px;
  object-fit: cover;
}

/* Footer styling */
footer {
  background-color: #222;
  color: #eee;
  padding: 1rem 0;
  text-align: center;
  border-top: 4px solid #ffcc00;
}

/* Contact & Donate Forms */
.contact-form,
#donation-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label,
#donation-form label {
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
#donation-form input,
#donation-form textarea {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
}

.contact-form button,
#donation-form button {
  background-color: #004080;
  color: white;
  border: none;
  padding: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.contact-form button:hover,
#donation-form button:hover {
  background-color: #003060;
}

/* Donation thank you message */
.thank-you {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #dff0d8;
  border: 1px solid #a3c293;
  border-radius: 4px;
  color: #3c763d;
}

.thank-you.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    width: 100%;
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }

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