/* ─────────── GLOBAL RESET ─────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
  line-height: 1.6;
  background: #fff;
  color: #222;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* ─────────── HEADER ─────────── */
.header {
  background: #fff;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo img {
  height: 90px;
  width: auto;
  max-width: 220px;
}

.tagline {
  font-size: 0.8rem;
  color: #5d7531;
  font-weight: 600;
  margin-top: 5px;
}

.contact {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.9rem;
  font-weight: 600;
}

.icon {
  width: 16px;
  vertical-align: middle;
  margin-right: 6px;
}

/* ─────────── NAVIGATION ─────────── */
/* Center nav menu horizontally */
.main-nav {
  background: #000;
  padding: 15px 50px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center; /* 👈 center everything inside */
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu {
  display: flex;
  gap: 50px;
  font-weight: bold;
  justify-content: center; /* 👈 center nav items */
  align-items: center;
}

.menu a {
  color: #fff;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #8bc34a;
  transition: width 0.3s ease;
}

.menu a:hover {
  color: #8bc34a;
}
.menu a:hover::after {
  width: 100%;
}

.menu a.active {
  color: #8bc34a;             /* Highlight color */
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: #8bc34a;
}

.burger {
  display: none;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
}

/* ─────────── HERO ─────────── */
.hero {
  position: relative;
  min-height: 90vh;
  padding: 60px 4%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

.hero::after {
  filter: brightness(1.05) contrast(1.1) saturate(1.1);
}

/* Slideshow container */
.slideshow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideshowFade 18s infinite;
}

/* Stagger each slide */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }

@keyframes slideshowFade {
  0% { opacity: 0; transform: scale(1); }
  8% { opacity: 1; transform: scale(1.05); }
  33% { opacity: 1; transform: scale(1.1); }
  41% { opacity: 0; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.1); }
}

/* Dark overlay to improve text visibility */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
  z-index: 0;
}

.banner-text {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  z-index: 1;
  animation: fadeSlideUp 0.5s ease-out forwards;
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cta-btn {
  margin-top: 20px;
  background: #5b753c;
  color: #fff;
  font-size: 1rem;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 4px;
  border: 2px solid #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 1;
}

.cta-btn:hover {
  background: #8bc34a;
  transform: translateY(-2px);
}


/* Quick Search */
.quick-search {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  z-index: 2;
  position: relative;
}

.quick-search select,
.quick-search button {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

/* Inquiry Button */
.inquiry-image-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  z-index: 3;
}

/* Animations */
@keyframes slideShow {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  8% {
    opacity: 1;
    transform: scale(1);
  }
  33% {
    opacity: 1;
    transform: scale(1);
  }
  41% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─────────── SEARCH BAR ─────────── */
.quick-search {
  position: relative;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  margin-top: 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.quick-search select,
.quick-search button {
  min-width: 220px;
  padding: 0.6rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.quick-search button {
  background: #000;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quick-search button:hover {
  background: #333;
}

/* ─────────── INQUIRY BUTTON ─────────── */
.inquiry-image-btn { 
  position: absolute; 
  top: 25px; right: 50px; 
  width: 40px; 
  height: auto; cursor: pointer; 
  transition: transform 0.2s ease; 
  z-index: 10; 
} 
.inquiry-image-btn:hover { 
  transform: scale(1.05); 
  border-radius: 5px; } .popup-overlay { 
  position: fixed; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; 
  background: rgba(0, 0, 0, 0.5); 
  display: none; 
  justify-content: flex-end; 
  z-index: 999; 
} 

.inquiry-modal { 
  width: 400px; 
  max-height: 75vh; 
  top: 90px; 
  margin: 20px;     
  background: #fff; 
  padding: 30px;
  border-radius: 12px; 
  box-shadow: -6px 6px 20px rgba(0, 0, 0, 0.2);
  border-left: 3px solid #b62424; 
  overflow-y: auto; 
  position: relative; 
  transform: translateX(100%); 
  transition: transform 0.3s ease; 
} 

.popup-overlay.active { 
  pointer-events: auto; 
} 

.popup-overlay.active .inquiry-modal { 
  transform: translateX(0); 
} 

.inquiry-modal .form-title { 
  margin-bottom: 20px; 
  font-size: 20px; 
  font-weight: bold; 
  color: #000000; 
  text-align: center; 
  font-size: 24px; 
} 

.inquiry-modal label { 
  display: block; 
  font-size: 13px; 
  font-weight: 600; 
  margin-bottom: 6px; 
  margin-top: 14px; 
  color: #222; 
} 

.inquiry-modal input { 
  width: 100%; 
  padding: 10px; 
  font-size: 13px; 
  border: 1px solid #ccc; 
  border-radius: 6px; 

} .submit-btn { 
  margin-top: 20px; 
  width: 100%; 
  background: #136916; 
  color: #fff; 
  padding: 10px; 
  border: none; 
  border-radius: 6px; 
  font-weight: bold; 
  cursor: pointer; 
} 

.close-btn { 
  position: absolute; 
  top: 10px; 
  right: 14px; 
  background: none; 
  border: none; 
  font-size: 20px; 
  cursor: pointer; 
  color: #888; }

/* ─────────── FOOTER ─────────── */
footer {
  text-align: center;
  font-size: 0.9rem;
  padding: 18px 0;
  background: #f9f9f9;
  margin-top: 40px;
  color: #444;
}

/* ─────────── RESPONSIVE ─────────── */
@media(max-width:700px){
  .burger {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0%;
    width: 40%;
    background: #000;
    padding: 10px 0;
    border-top: 1px solid #444;
    z-index: 999;
  }

  .menu.show {
    display: block;
    padding: 2% 0;
  }

  .menu li{
    text-align:center;
    padding: 5%;
  }

  .hero{
    padding:40px 6%;
  }

  .hero h1{
    font-size:1.8rem;
  }
}
