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

:root {
  --primary-color: #2d5016;
  --secondary-color: #6ba539;
  --accent-color: #f5a623;
  --text-color: #333;
  --text-light: #666;
  --bg-color: #ffffff;
  --bg-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

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

/* Header & Navigation */
header {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 0;
  box-shadow: var(--shadow);
}

header nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero Sections */
.hero, .hero-small {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero-small {
  padding: 3rem 0;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-small h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.25rem;
  opacity: 0.95;
}

/* Content Sections */
.content {
  padding: 3rem 0;
}

.content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
}

.content p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

.content ul, .content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content li {
  margin-bottom: 0.5rem;
}

/* Item Cards */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.item-card {
  background: var(--bg-gray);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.item-card h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem 0;
  color: var(--primary-color);
}

.item-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
}

.item-card h3 a:hover {
  color: var(--secondary-color);
}

.meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  gap: 1rem;
}

.source {
  font-weight: 600;
  color: var(--secondary-color);
}

.excerpt {
  font-size: 0.95rem;
  color: var(--text-color);
}

/* Item Rows */
.items-list {
  margin: 2rem 0;
}

.item-row {
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
}

.item-row:last-child {
  border-bottom: none;
}

.item-row h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.item-row h4 a {
  color: var(--primary-color);
  text-decoration: none;
}

.item-row h4 a:hover {
  color: var(--secondary-color);
}

/* Features Section */
.features {
  background: var(--bg-gray);
  padding: 3rem 0;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

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

.feature {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature p {
  margin-bottom: 1rem;
}

.feature a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
}

.feature a:hover {
  text-decoration: underline;
}

/* Event Types & Categories */
.event-types, .tips-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.event-type, .tip-category {
  background: var(--bg-gray);
  padding: 1.5rem;
  border-radius: 8px;
}

.event-type h4, .tip-category h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.tip-category p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.quick-tips {
  background: var(--bg-gray);
  padding: 1.5rem 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.quick-tips li {
  margin-bottom: 1rem;
}

/* Buttons & CTAs */
.cta {
  text-align: center;
  margin: 3rem 0;
}

.button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
}

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

footer p {
  margin: 0.5rem 0;
}

/* Newsletter Signup Form */
.signup-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.signup-form {
  background: var(--bg-gray);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.required {
  color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background-color: white;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(107, 165, 57, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-text {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: normal;
}

.radio-label input[type="radio"] {
  margin-right: 0.5rem;
  cursor: pointer;
  width: auto;
}

.form-actions {
  margin-top: 2rem;
  text-align: center;
}

.form-actions .button {
  min-width: 200px;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 4px;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-small h1 {
    font-size: 1.75rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  header nav .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .items-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid, .event-types, .tips-categories {
    grid-template-columns: 1fr;
  }
  
  .signup-form {
    padding: 1.5rem;
  }
  
  .radio-group {
    flex-direction: column;
    gap: 0.75rem;
  }
}
