/* --------------------------
   GLOBAL STYLES
--------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #fffdf7;
  color: #333;
}

/* --------------------------
   HEADER & NAVIGATION
--------------------------- */
header {
  background: #ffcc00;
  padding: 1px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d2d2d;
  flex: 1;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  flex: 1;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding: 6px 0;
}

nav a:hover,
nav a.active {
  color: #006400;
}

/* --------------------------
   HERO SECTION
--------------------------- */
.hero {
  height: 90vh;
  background: url('../images/farm-bg.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  padding: 40px;
  border-radius: 10px;
}

/* --------------------------
   PAGE CONTENT
--------------------------- */
.content {
  padding: 60px 10%;
  line-height: 1.8;
}

.content h2 {
  color: #006400;
  margin-bottom: 15px;
}

.content h3 {
  margin-top: 25px;
  color: #444;
}

.content ul {
  margin-left: 20px;
}

/* --------------------------
   GALLERY SECTION
--------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* --------------------------
   CONTACT FORM
--------------------------- */
.contact-form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  padding: 10px;
  background: #006400;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #228b22;
}

/* --------------------------
   FOOTER
--------------------------- */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* --------------------------
   HOME PAGE SECTIONS (NEW LAYOUT)
--------------------------- */
.home-sections {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 60px 10%;
  background: #fffbe6;
}

/* Each section row */
.home-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.home-row.reverse {
  flex-direction: row-reverse;
  background: #fffef0;
}

/* Text section */
.home-text {
  flex: 1;
}

.home-text h3 {
  color: #006400;
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.home-text p {
  color: #444;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* Image section */
.home-image {
  flex: 1;
  text-align: center;
}

.home-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Buttons */
.btn {
  display: inline-block;
  background: #006400;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.btn:hover {
  background: #228b22;
}

/* --------------------------
   USP SECTION (if used later)
--------------------------- */
.usp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: #f9f9f9;
  border-left: 6px solid #006400;
  padding: 40px;
  margin-top: 50px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.usp-text {
  flex: 1;
}

.usp-text h3 {
  color: #006400;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.usp-text ul {
  list-style-type: disc;
  margin-left: 25px;
  line-height: 1.8;
  color: #333;
}

.usp-text li {
  margin-bottom: 5px;
}

.usp-image {
  flex: 1;
  text-align: right;
}

.usp-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* --------------------------
   FRUIT LIST STYLE
--------------------------- */
.fruit-list {
  background: #f9fff3;
  padding: 15px 20px;
  border-left: 5px solid #006400;
  border-radius: 8px;
  margin: 10px 0 25px 0;
  line-height: 1.8;
  color: #333;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* --------------------------
   MANGO VARIETY LIST
--------------------------- */
.mango-list {
  background: #f0f8ff;
  border-left: 6px solid #006400;
  border-radius: 10px;
  padding: 25px;
  margin: 25px 0 40px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mango-list h3 {
  color: #006400;
  margin-bottom: 15px;
}

.mango-column p {
  line-height: 1.8;
  color: #333;
  font-size: 0.95rem;
}

/* --------------------------
   RESPONSIVE DESIGN
--------------------------- */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .hero {
    height: 70vh;
  }

  .hero-text {
    padding: 20px;
  }

  .home-row,
  .home-row.reverse {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .home-image img {
    max-width: 100%;
    margin-top: 20px;
  }

  .usp-container {
    flex-direction: column;
    padding: 20px;
  }

  .usp-image {
    text-align: center;
  }

  .usp-image img {
    max-width: 100%;
  }
@media (max-width: 768px) {
  .mango-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .mango-list {
    grid-template-columns: 1fr;
  }

}
