/* ✅ Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* ✅ Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9fafb;
  color: #333;
  line-height: 1.6;
}

/* ✅ Navbar */
.navbar {
  background: #2e7d32;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.navbar ul {
  list-style: none;
  display: flex;
}

.navbar ul li {
  margin-left: 20px;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
  color: #ffeb3b;
}

/* ✅ Hero Section */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('images/hero-bg.jpeg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin: 10px 0 20px;
}

.hero .btn {
  background: #ffeb3b;
  color: #333;
  padding: 10px 25px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}

.hero .btn:hover {
  background: #ffd600;
}

/* ✅ Section Styling */
section {
  padding: 50px 10%;
  text-align: center;
}

section h2 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 15px;
}

/* ✅ Cards (Products) */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.card h3 {
  padding: 15px;
}

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

/* ✅ Gallery Preview */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ✅ Testimonials */
.testimonials {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 10px;
  scroll-behavior: smooth;
}

.testimonial-card {
  flex: 0 0 300px;
  background: #fff;
  padding: 20px;
  border-left: 5px solid #2e7d32;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 10px;
}

/* ✅ Buttons & Links */
.btn-link {
  display: inline-block;
  margin-top: 10px;
  background: #2e7d32;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-link:hover {
  background: #1b5e20;
}

/* ✅ Footer */
footer {
  background: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar ul {
    flex-direction: column;
    width: 100%;
  }
  .hero h1 {
    font-size: 2rem;
  }
}
/* 🔥 Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.modal-content h2 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.modal-content input, .modal-content textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.modal-content button {
  background: #388e3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.modal-content button:hover { background: #2e7d32; }
.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}
/* 🌱 Products Grid */
.products-section {
  padding: 50px;
  text-align: center;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}
.product-card img {
  width: 100%;
  border-radius: 8px;
}
.product-card:hover {
  transform: translateY(-5px);
}
.order-btn {
  background: #4CAF50;
  color: #fff;
  border: none;
  padding: 10px 15px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s;
}
.order-btn:hover {
  background: #388E3C;
}

/* 🔥 Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 400px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.close-btn {
  float: right;
  font-size: 22px;
  cursor: pointer;
}
.modal-content input, .modal-content button {
  width: 90%;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.submit-order {
  background: #4CAF50;
  color: #fff;
  border: none;
}
.submit-order:hover {
  background: #2e7d32;
}
/* 🌾 Gallery Layout */
.gallery-section {
  padding: 50px;
  text-align: center;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.gallery-grid img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery-grid img:hover {
  transform: scale(1.05);
}

/* 🔥 Lightbox Styling */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
.close-lightbox {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}
/* 🌟 Testimonials Section */
.testimonials-section {
  background: #f9fafb;
  padding: 50px 20px;
  text-align: center;
}

.testimonials-section h1 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #2e7d32;
}

/* ✅ Carousel Container */
.testimonial-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* ✅ Testimonial Cards */
.testimonial-card {
  flex: 0 0 100%;
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.5s ease;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.testimonial-card.active {
  opacity: 1;
  transform: scale(1);
}
.testimonial-card img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid #4CAF50;
}
.testimonial-card p {
  font-style: italic;
  color: #444;
  margin: 10px 0;
}
.testimonial-card h4 {
  font-weight: bold;
  color: #2e7d32;
}

/* ✅ Carousel Navigation */
.carousel-controls {
  margin-top: 15px;
}
.carousel-controls button {
  background: #4CAF50;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 8px 14px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.carousel-controls button:hover {
  background: #2e7d32;
}

/* ✅ Responsive */
@media (max-width: 600px) {
  .testimonial-card {
    padding: 15px;
  }
  .testimonials-section h1 {
    font-size: 22px;
  }
}
.testimonial-card {
  display: none;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1em;
  color: #333;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
}

/* First testimonial visible by default */
.testimonial-card:first-child {
  display: block;
}

/* Smooth fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
/* ===== Testimonials Section ===== */
.testimonials-section {
  padding: 50px 20px;
  background: #f9f9f9;
  text-align: center;
}

.testimonials-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #2e5d34;
}

.testimonial-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  min-height: 200px;
}

.testimonial-card {
  display: none;
  background: white;
  padding: 20px;
  margin: 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

.testimonial-card p {
  font-size: 1.1em;
  line-height: 1.5em;
  color: #444;
}

.testimonial-card h4 {
  margin-top: 15px;
  color: #2e5d34;
  font-weight: bold;
}

/* Navigation buttons */
.testimonial-nav {
  margin-top: 15px;
}

.testimonial-nav button {
  background: #2e5d34;
  color: white;
  border: none;
  padding: 8px 16px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.testimonial-nav button:hover {
  background: #1f4223;
}

/* Fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-card {
    font-size: 0.95em;
    padding: 15px;
  }
}
/* ===== Blog Section ===== */
.blog-section {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.blog-header h1 {
  color: #2e5d34;
  font-size: 2.5em;
  margin-bottom: 10px;
}

.blog-header p {
  color: #555;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

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

.blog-content {
  padding: 15px;
  text-align: left;
}

.blog-content h3 {
  color: #2e5d34;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.blog-content p {
  color: #444;
  font-size: 1em;
  margin-bottom: 15px;
}

.read-more {
  text-decoration: none;
  color: #fff;
  background: #2e5d34;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.read-more:hover {
  background: #1f4223;
}
/* ===== Contact Section ===== */
.contact-section {
  background: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.contact-section h2 {
  color: #2e5d34;
  font-size: 2.2em;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form button {
  background: #2e5d34;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #1f4223;
}

/* Map */
.map-container {
  max-width: 800px;
  margin: 0 auto;
}

.map-container h3 {
  margin-bottom: 10px;
  color: #2e5d34;
}