/* Base Styles */
:root {
  --primary-color: #4CAF50;
  --primary-dark: #388E3C;
  --primary-light: #A5D6A7;
  --secondary-color: #FFC107;
  --text-color: #333333;
  --text-light: #666666;
  --background-light: #F9F9F9;
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #EEEEEE;
  --gray: #DDDDDD;
  --error: #D32F2F;
  --success: #388E3C;
  --border-radius: 8px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font: inherit;
}

/* Custom list styling */
.custom-list {
  list-style: none;
  padding-left: 1.5rem;
}

.custom-list li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
  background-color: var(--primary-light);
  border-radius: 50%;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.read-more {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more::after {
  content: "→";
  margin-left: 0.25rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 0.5rem;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
}

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

nav ul {
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem;
  position: relative;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

.language-toggle {
  position: relative;
}

.language-toggle button {
  background-color: transparent;
  border: 1px solid var(--gray);
  padding: 0.25rem 0.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.language-toggle button:hover {
  background-color: var(--gray-light);
}

/* Hero Section */
.hero {
  background-color: var(--primary-light);
  padding: 5rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Page Header */
.page-header {
  background-color: var(--primary-light);
  padding: 3.5rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/6.jpg');
  background-size: cover;
  background-position: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Featured Posts Section */
.featured-posts {
  padding: 4rem 0;
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Newsletter Section */
.newsletter {
  padding: 3rem 0;
  text-align: center;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  margin-bottom: 4rem;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

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

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  outline: none;
}

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Gardening Tips Section */
.gardening-tips {
  padding-bottom: 4rem;
}

.gardening-tips h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background-color: #2E7D32;
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 1rem;
  background-color: white;
  border-radius: var(--border-radius);
  padding: 0.5rem;
}

.footer-links h3 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: var(--white);
  opacity: 0.9;
}

.footer-links ul li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-contact i {
  margin-right: 0.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  color: var(--white);
  font-size: 1.25rem;
  opacity: 0.9;
}

.social-icons a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Blog Page Styles */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
  max-width: 800px;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

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

.sidebar {
  width: 100%;
  max-width: 300px;
}

.widget {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.widget h3 {
  margin-top: 0;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.widget.categories ul li {
  margin-bottom: 0.5rem;
}

.widget.popular-posts ul li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.widget.popular-posts ul li img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-right: 1rem;
}

.widget.newsletter form {
  display: flex;
  flex-direction: column;
}

.widget.newsletter input {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
}

/* About Page Styles */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.value-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

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

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

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
}

.team-member p {
  color: var(--text-light);
  padding: 0 1.5rem;
  margin-bottom: 1rem;
}

.team-member .social-icons {
  justify-content: center;
  margin: 1rem 0 1.5rem;
}

/* Contact Page Styles */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

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

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.checkbox-group input {
  width: auto;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.map-section {
  margin-bottom: 4rem;
}

.map-container {
  height: 400px;
  background-color: var(--gray-light);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

/* Blog Post Page Styles */
.blog-post-page {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.blog-post-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
}

.post-header {
  margin-bottom: 2rem;
}

.post-featured-image {
  margin-bottom: 2rem;
}

.post-featured-image img {
  width: 100%;
  border-radius: var(--border-radius);
}

.post-body h2, 
.post-body h3 {
  color: var(--text-color);
}

.post-body ul, 
.post-body ol {
  margin-bottom: 1.5rem;
}

.post-tip {
  background-color: var(--primary-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.post-tip h3 {
  color: var(--primary-dark);
  margin-top: 0;
}

.post-tip p {
  margin-bottom: 0;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem 0;
}

.tag {
  background-color: var(--gray-light);
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.post-share {
  border-top: 1px solid var(--gray);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.post-share h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.social-share {
  display: flex;
  gap: 1rem;
}

.social-share a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  transition: var(--transition);
}

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

.post-sidebar .widget {
  margin-bottom: 2rem;
}

.author-info {
  text-align: center;
}

.author-info img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.5rem;
}

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

.related-posts {
  margin-bottom: 4rem;
}

.related-posts h2 {
  margin-bottom: 2rem;
  text-align: center;
}

/* Plant Care Guide Styling */
.plant-care-guide {
  background-color: var(--gray-light);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.plant-care-guide p {
  margin-bottom: 0.5rem;
}

.plant-care-guide p:last-child {
  margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1000px;
  margin: 0 auto;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

.cookie-policy {
  font-size: 0.9rem;
  margin-bottom: 0;
}

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

.modal-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

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

.modal svg {
  margin: 0 auto 1.5rem;
}

.modal h2 {
  margin-top: 0;
}

.close-btn {
  margin-top: 1.5rem;
}

/* SVG Icons */
svg {
  display: inline-block;
  vertical-align: middle;
}

/* Media Queries */
@media (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-post-page {
    grid-template-columns: 1fr;
  }
  
  .post-sidebar {
    max-width: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .post-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .about-story {
    grid-template-columns: 1fr;
  }
  
  .contact-section {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-logo {
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-links, .footer-contact {
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}
