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

:root {
  --primary-color: #FFC107; /* Corn yellow */
  --secondary-color: #388E3C; /* Corn green */
  --dark-color: #2E7D32;
  --light-color: #fffef5;
  --text-color: #333333;
  --heading-font: 'Arial', sans-serif;
  --body-font: 'Arial', sans-serif;
}

body {
  font-family: var(--body-font);
  color: var(--text-color);
  background-color: var(--light-color);
  line-height: 1.6;
  margin: 0;
}

header {
  background-color: var(--dark-color);
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navbar .logo img {
  height: 40px;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: url('../images/hero.webp') no-repeat center/cover;
  color: white;
  padding-top: 120px; /* account for fixed header */
  padding-bottom: 120px;
  text-align: center;
  position: relative;
}

.hero-overlay {
  background: rgba(0,0,0,0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--dark-color);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #e6b800;
}

main {
  padding: 2rem;
  padding-top: 140px; /* account for header */
}

section {
  margin-bottom: 3rem;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

section p {
  margin-bottom: 1rem;
}

/* Announcement */
.announcement {
  text-align: center;
  background-color: var(--primary-color);
  color: var(--dark-color);
  padding: 0.5rem 1rem;
  font-weight: 600;
}

/* Cards Section */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

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

.card img {
  height: 60px;
  margin-bottom: 1rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.card p {
  font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
  background-color: var(--light-color);
}

.testimonial-item {
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-left: 4px solid var(--primary-color);
}

.testimonial-item p {
  font-style: italic;
}

.testimonial-item span {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--dark-color);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  border: none;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  color: var(--dark-color);
}

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

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}

footer .footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

footer .footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

footer .footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive menu */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--dark-color);
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
}
