/* Global Styles */
:root {
  --primary-color: #2e7d32;
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary-color: #f5f5f5;
  --text-color: #333;
  --text-light: #666;
  --text-white: #fff;
  --accent-color: #ff8f00;
  --border-color: #e0e0e0;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Header */
header {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background-color: var(--primary-dark);
  color: var(--text-white);
}

.parallax-header {
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

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

.header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.tagline {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Navigation */
nav {
  background-color: #fff;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-links {
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 10px 5px;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after,
.nav-links a.active:after {
  width: 100%;
}

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

.dropbtn {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 250px;
  box-shadow: var(--shadow);
  z-index: 1;
  border-radius: 4px;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.dropdown-content a {
  padding: 12px 16px;
  display: block;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* Main Sections */
main {
  padding: 40px 0;
}

.hero, .about-hero, .contact-hero {
  background-color: #f0f8f1;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 40px;
}

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero::before, .about-hero::before, .contact-hero::before,
.newsletter::before, .values-section::before, .faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 125, 50, 0.05);
  z-index: -1;
}

/* Featured Posts */
.featured-posts {
  padding: 40px 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.post-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
}

.post-image {
  height: 200px;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.post-content p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.post-meta i {
  margin-right: 5px;
}

.read-more {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
}

.read-more:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  color: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.newsletter::before {
  background-color: rgba(0, 0, 0, 0.2);
}

.newsletter-form {
  max-width: 500px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  min-width: 200px;
}

.newsletter-form button {
  padding: 12px 25px;
  background-color: var(--accent-color);
  border: none;
  border-radius: 0 4px 4px 0;
  color: white;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: darken(var(--accent-color), 10%);
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-info, .footer-contact, .footer-links, .footer-social {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

.footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.footer-contact p, .footer-links li {
  margin-bottom: 10px;
}

.footer-contact i {
  margin-right: 10px;
}

.footer-links a, .footer-social a {
  color: #ddd;
}

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

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #aaa;
}

.footer-legal-links {
  margin-top: 10px;
}

.footer-legal-links a {
  margin: 0 10px;
  color: #ddd;
}

/* Blog Post Page */
.blog-post {
  padding: 40px 0;
}

.post-header {
  text-align: center;
  margin-bottom: 30px;
}

.blog-post .post-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.blog-post .post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.blog-post h3 {
  margin-top: 30px;
  color: var(--primary-dark);
}

.blog-post ul, .blog-post ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.blog-post ul li, .blog-post ol li {
  margin-bottom: 10px;
}

.post-navigation {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.post-navigation-links {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  width: 100%;
}

.prev-link, .next-link {
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 4px;
  transition: var(--transition);
}

.prev-link:hover, .next-link:hover {
  background-color: var(--primary-light);
  color: white;
}

.post-share {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
}

.share-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.share-button {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 4px;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}

.share-button svg {
  margin-right: 5px;
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.linkedin {
  background-color: #0077b5;
}

.email {
  background-color: #666;
}

.share-button:hover {
  opacity: 0.9;
  color: white;
}

.related-posts {
  max-width: 800px;
  margin: 0 auto 40px;
}

.related-posts h4 {
  text-align: center;
  margin-bottom: 20px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.related-post {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.related-post img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.related-post h5 {
  padding: 15px;
  text-align: center;
  font-size: 1rem;
}

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

.newsletter-box {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.newsletter-box h4 {
  margin-bottom: 10px;
}

/* About Page */
.about-story {
  padding: 40px 0;
}

.story-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.story-image {
  flex: 1;
  min-width: 300px;
}

.story-image img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.story-text {
  flex: 2;
  min-width: 300px;
}

.team-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-member h3, .team-member p {
  padding: 0 15px;
}

.team-member h3 {
  margin-top: 15px;
  font-size: 1.2rem;
}

.team-member p:first-of-type {
  color: var(--primary-color);
  font-weight: 600;
  margin: 5px 0 10px;
}

.team-member p:last-child {
  font-size: 0.9rem;
  padding-bottom: 20px;
}

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

.values-section {
  padding: 60px 0;
  background-color: #f0f8f1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-icon {
  background-color: var(--primary-light);
  color: white;
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

.testimonials {
  padding: 60px 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial {
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: rgba(46, 125, 50, 0.1);
  font-family: Georgia, serif;
}

.testimonial-text {
  position: relative;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.testimonial-author h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.testimonial-author p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Contact Page */
.contact-options {
  padding: 40px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.contact-form-container, .contact-info-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.submit-btn {
  align-self: flex-start;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.submit-btn:hover {
  background-color: var(--primary-dark);
}

.contact-info {
  display: grid;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.2rem;
  margin-right: 15px;
  margin-top: 5px;
  color: var(--primary-color);
}

.info-item h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.info-item p {
  margin: 0;
  color: var(--text-light);
}

.social-follow {
  margin-top: 30px;
}

.social-follow h4 {
  margin-bottom: 15px;
}

.map-section {
  padding: 40px 0;
}

.map-container {
  height: 450px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-section {
  background-color: #f0f8f1;
  padding: 60px 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 20px;
  position: relative;
  cursor: pointer;
  font-size: 1.1rem;
  margin: 0;
}

.faq-question:after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.faq-answer {
  padding: 0 20px 20px;
}

.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1001;
}

.modal-content {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-icon {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 20px;
}

.modal-btn {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 20px;
}

/* Cookie Banner */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.cookie-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.accept {
  background-color: var(--primary-color);
  color: white;
}

.customize, .reject {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-policy-link {
  color: #ddd;
  text-decoration: underline;
  font-size: 0.9rem;
}

/* Special styles for blog content */
.formula {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 4px;
  text-align: center;
  font-family: monospace;
  font-size: 1.1rem;
  margin: 20px 0;
}

.disclaimer {
  background-color: #fff3e0;
  border-left: 4px solid var(--accent-color);
  padding: 15px;
  margin: 20px 0;
  font-size: 0.95rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .header-content {
    padding: 80px 20px;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links li {
    margin: 5px 10px;
  }
  
  .dropdown-content {
    left: 0;
    transform: none;
    width: 200px;
  }
  
  .story-content, .footer-content {
    flex-direction: column;
  }
  
  .footer-info, .footer-contact, .footer-links, .footer-social {
    margin-bottom: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .post-navigation-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .prev-link, .next-link {
    text-align: center;
  }
  
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .share-button {
    width: 100%;
    justify-content: center;
  }
}

/* Animation and parallax effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.parallax-scroll {
  transform: translateY(0);
  transition: transform 0.5s ease;
}
