:root {
  --font-default: "Inter", system-ui, sans-serif;
  --font-primary: "Amatic SC", cursive;
  --font-secondary: "Lora", serif;

  --color-text: #2e2b26;
  --color-heading: #1f2a1f;
  --color-primary: #4f7c3a;
  --color-primary-dark: #395c2b;
  --color-accent: #c77b30;
  --color-cream: #f6f1e7;
  --color-sand: #ece3d0;
  --color-green-soft: #dde7d6;
  --color-card: #ffffff;
  --color-footer: #192117;
  --color-muted: #6f6a60;
  --shadow-soft: 0 12px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 18px 35px rgba(0, 0, 0, 0.12);
  scroll-behavior: smooth;
}

/* General */
body {
  font-family: var(--font-default);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.7;
}

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

a:hover {
  color: var(--color-accent);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-heading);
  font-family: var(--font-secondary);
  font-weight: 700;
}

section {
  padding: 90px 0;
  scroll-margin-top: 90px;
  overflow: hidden;
}

.section-light {
  background: var(--color-cream);
}

.section-cream {
  background: #efe7d8;
}

.section-green {
  background: linear-gradient(135deg, #4f7c3a, #2c4722);
  color: #fff;
}

.section-kicker {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 48px;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--color-muted);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 34px;
  }
}

/* Buttons */
.btn-main,
.btn-main:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(199, 123, 48, 0.28);
}

.btn-main:hover,
.btn-main:focus:hover {
  background: #b46720;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-light,
.btn-outline-light:focus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
}

.btn-outline-light:hover,
.btn-outline-light:focus:hover {
  background: #fff;
  color: var(--color-heading);
}

.btn-whatsapp,
.btn-whatsapp:focus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  transition: 0.3s;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus:hover {
  background: #1db954;
  color: #fff;
}

/* Header */
.header {
  background: rgba(25, 33, 23, 0.95);
  backdrop-filter: blur(10px);
  transition: 0.3s;
  z-index: 997;
  min-height: 90px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header .container {
  min-height: 90px;
}

.header .logo img {
  max-height: 72px;
}
/* ===============================
   NAVBAR DESKTOP
================================ */

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar > ul > li {
  padding: 10px 0 10px 26px;
}

.navbar a,
.navbar a:focus {
  color: rgba(255,255,255,0.82);
  font-weight: 600;
  transition: 0.3s;
  position: relative;
  text-decoration: none;
}

.navbar > ul > li > a:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: 0.3s;
}

.navbar a:hover,
.navbar .active,
.navbar li:hover > a {
  color: #fff;
}

.navbar a:hover:before,
.navbar .active:before,
.navbar li:hover > a:before {
  width: 100%;
}

/* ===============================
   MOBILE NAV TOGGLE BUTTONS
================================ */

.mobile-nav-show,
.mobile-nav-hide {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

@media (min-width: 1280px) {
  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/* ===============================
   MOBILE NAVIGATION
================================ */

@media (max-width:1279px){

.navbar{
  position:fixed;
  top:0;
  right:-100%;
  width:75%;
  max-width:280px;
  height:100vh;

  background:linear-gradient(135deg,#1c2b1c,#2f4d34);

  padding:80px 30px 30px;

  transition:right .35s ease;

  z-index:9998;
}

.mobile-nav-active .navbar{
  right:0;
}

/* NAV LIST */

.navbar ul{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* LINKS */

.navbar a{
  font-size:18px;
  font-weight:600;
  color:#fff;

  padding:10px 0;

  border-bottom:1px solid rgba(255,255,255,0.08);

  transition:.25s;
}

.navbar a:hover{
  color:#ffb347;
  transform:translateX(4px);
}

/* CLOSE BUTTON */

.mobile-nav-hide{
  position:fixed;
  top:20px;
  right:20px;
  z-index:9999;
}

/* BACKGROUND OVERLAY */

.mobile-nav-active .navbar:before{
  content:"";
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index:-1;
}

}
/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 170px 0 100px;
  background:
    linear-gradient(rgba(17, 24, 16, 0.55), rgba(17, 24, 16, 0.55)),
    url("../img/hero.jpg") center center / cover no-repeat;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.35));
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 72px;
  line-height: 0.95;
  margin-bottom: 20px;
  color: #fff;
  font-family: var(--font-primary);
}

.hero p {
  font-size: 18px;
  max-width: 620px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
}

.hero-img {
  max-height: 520px;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.25));
}

@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: 150px 0 70px;
  }

  .hero h1 {
    font-size: 52px;
  }
}

@media (max-width: 575px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* Trust bar */
.trust-bar {
  background: var(--color-primary);
  color: #fff;
  padding: 22px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  text-align: center;
}

.trust-item {
  font-weight: 700;
  font-size: 17px;
}

.trust-item i {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Cards */
.image-card,
.content-card,
.story-box,
.product-card,
.info-card,
.map-card,
.reviews-box,
.simple-product,
.contact-form {
  background: var(--color-card);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.image-card img {
  width: 100%;
  border-radius: 22px;
  display: block;
}

.content-card {
  padding: 34px;
}

.story-box {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 44px;
  border: 1px solid rgba(255,255,255,0.12);
}

.story-box h2 {
  color: #fff;
  font-size: 46px;
  margin-bottom: 18px;
}

.story-box p {
  color: rgba(255,255,255,0.9);
}

.farm-list ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.farm-list li {
  margin-bottom: 10px;
  font-weight: 600;
}

.farm-list i {
  color: var(--color-primary);
  margin-right: 8px;
}

.badges-row {
  margin-top: 20px;
}

.badge-image {
  max-width: 190px;
}

/* Products */
.product-card {
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

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

.product-body {
  padding: 22px;
}

.product-body h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.product-body p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.custom-tabs {
  border: 0;
  margin-bottom: 26px;
}

.custom-tabs .nav-link {
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(0,0,0,0.15);
  border-radius: 0;
  margin: 0 12px;
  padding: 10px 4px;
  color: var(--color-muted);
  font-weight: 700;
}

.custom-tabs .nav-link.active {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.simple-product {
  padding: 24px;
  height: 100%;
}

.simple-product h4 {
  margin-bottom: 8px;
  font-size: 22px;
}

.simple-product p {
  margin-bottom: 0;
  color: var(--color-muted);
}

/* Reviews */
.reviews-box {
  padding: 40px;
}

.review-placeholder {
  border: 2px dashed rgba(79, 124, 58, 0.25);
  border-radius: 18px;
  padding: 40px 25px;
  text-align: center;
  background: #fbfaf6;
}

.review-placeholder i {
  font-size: 42px;
  color: var(--color-accent);
  margin-bottom: 14px;
}

/* Gallery */
.gallery-slider .swiper-slide img {
  border-radius: 18px;
}

.gallery .swiper-pagination {
  margin-top: 22px;
  position: relative;
}

.gallery .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background: #ccbfa8;
}

.gallery .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* Info cards */
.info-card {
  padding: 30px;
  height: 100%;
}

.info-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.info-card h3 i {
  color: var(--color-primary);
  margin-right: 10px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.map-card {
  overflow: hidden;
}

.inline-link {
  font-weight: 700;
}

/* CTA */
.cta-section {
  background:
    linear-gradient(rgba(22, 31, 20, 0.7), rgba(22, 31, 20, 0.7)),
    url("../img/gallery/gallery-1.jpg") center center / cover no-repeat;
  color: #fff;
}

.cta-section h2 {
  color: #fff;
  font-size: 52px;
  margin-bottom: 14px;
}

.cta-section p {
  color: rgba(255,255,255,0.88);
  max-width: 700px;
  margin: 0 auto 25px;
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 34px;
  }
}

/* Contact form */
.contact-form {
  padding: 34px;
}

.contact-form .form-control {
  border-radius: 14px;
  border: 1px solid #ddd3c0;
  min-height: 52px;
  box-shadow: none;
  padding: 12px 16px;
}

.contact-form textarea.form-control {
  min-height: 140px;
}

.contact-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(79, 124, 58, 0.12);
}

.loading,
.error-message,
.sent-message {
  display: none;
  margin-top: 10px;
}

.error-message {
  color: #c62828;
}

.sent-message {
  color: #2e7d32;
}

/* Footer */
.footer {
  background: linear-gradient(180deg, #1c2619, #131912);
  padding: 60px 0;
  color: rgba(255,255,255,0.75);
}

.footer-logo img {
  max-height: 84px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.footer-text {
  max-width: 520px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  margin-left: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: var(--color-accent);
  color: #fff;
}

/* Scroll top */
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 18px;
  bottom: 18px;
  z-index: 99999;
  background: var(--color-accent);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  transition: 0.3s;
}

.scroll-top i {
  font-size: 24px;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* ===============================
   FARM REVIEWS
================================ */
/* ===============================
REVIEWS
=============================== */

.review-container{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
  margin-top:40px;
}

.review{
  background:#ffffff;
  border-radius:14px;
  padding:26px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  transition:0.3s;
  position:relative;
}

.review:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 35px rgba(0,0,0,0.12);
}

.review-author{
  font-weight:700;
  font-size:18px;
  color:#1f3525;
  margin-bottom:6px;
}

.review-rating{
  color:#f6a623;
  font-size:18px;
  margin-bottom:12px;
}

.review-text{
  color:#444;
  line-height:1.6;
  font-style:italic;
}

.review::before{
  content:"“";
  font-size:70px;
  position:absolute;
  top:-10px;
  left:12px;
  color:#e9efe7;
  font-family:serif;
}
/* PRELOADER BACKGROUND */

#preloader{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:#0f2a12;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

/* TRACTOR */

.tractor-loader{
  font-size:70px;
  animation: tractorDrive 2s linear infinite;
}

/* DRIVE RIGHT */

@keyframes tractorDrive{

  0%{
    transform: translateX(40px);
  }

  50%{
    transform: translateX(-40px);
  }

  100%{
    transform: translateX(40px);
  }

}