
/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #28352b;
  background: #fffdf7;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1150px;
  margin: auto;
}

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

/* NAVBAR */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.navbar {
  min-height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo,
.footer-logo {
  color: #28613c;
  font-size: 23px;
  font-weight: 800;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-menu a {
  color: #344238;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #e49b35;
}

.menu-toggle {
  display: none;
  border: none;
  background: none;
  color: #28613c;
  font-size: 28px;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(rgba(15, 42, 25, 0.76), rgba(15, 42, 25, 0.76)),
    url("https://images.unsplash.com/photo-1524024973431-2ad916746881?auto=format&fit=crop&w=1800&q=90")
    center/cover no-repeat;
}

.hero-content {
  padding-top: 70px;
  padding-bottom: 70px;
}

.hero-label,
.section-label {
  display: inline-block;
  color: #e49b35;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 750px;
  margin: 18px 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.2;
  font-weight: 800;
}

.hero p {
  max-width: 620px;
  margin-bottom: 30px;
  color: #f1f1f1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 13px 25px;
  border-radius: 7px;
  border: 2px solid transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  color: white;
  background: #28613c;
}

.btn-primary:hover {
  background: #1b482b;
  transform: translateY(-2px);
}

.btn-outline {
  color: white;
  border-color: white;
}

.btn-outline:hover {
  color: #28613c;
  background: white;
}

/* GENERAL SECTION */
.section {
  padding: 90px 0;
}

.section-heading {
  margin-bottom: 45px;
  text-align: center;
}

.section-heading h2,
.about-text h2,
.contact-info h2 {
  margin: 10px 0;
  color: #244c31;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.3;
}

.section-heading p {
  color: #777;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 15px;
}

.about-text p {
  margin-bottom: 17px;
  color: #6b756d;
}

.about-text .btn {
  margin-top: 12px;
}

/* PRODUCTS */
.products {
  background: #f4f6ee;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.product-card {
  overflow: hidden;
  background: white;
  border-radius: 13px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

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

.product-info {
  padding: 24px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: #28613c;
  font-size: 20px;
}

.product-info p {
  min-height: 75px;
  color: #777;
  font-size: 14px;
}

.product-link {
  display: inline-block;
  margin-top: 15px;
  color: #d58a24;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.product-note {
  margin-top: 25px;
  color: #777;
  font-size: 12px;
  text-align: center;
}

/* FEATURES */
.features {
  background: #fffdf7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feature-card {
  padding: 35px 25px;
  text-align: center;
  background: #f5f7f0;
  border-radius: 12px;
}

.feature-icon {
  margin-bottom: 15px;
  font-size: 42px;
}

.feature-card h3 {
  margin-bottom: 10px;
  color: #28613c;
}

.feature-card p {
  color: #777;
  font-size: 14px;
}

/* TESTIMONIAL */
.testimonials {
  background: #f4f6ee;
}

.testimonial-slider {
  max-width: 700px;
  margin: auto;
  padding: 35px;
  text-align: center;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stars {
  margin-bottom: 15px;
  color: #e7a32e;
  font-size: 22px;
}

.testimonial p {
  margin-bottom: 20px;
  color: #626d64;
  font-style: italic;
}

.testimonial h3 {
  color: #28613c;
}

.testimonial span {
  color: #999;
  font-size: 13px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.slider-controls button {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  color: white;
  background: #28613c;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: #c8d0c5;
  cursor: pointer;
}

.dot.active {
  background: #28613c;
}

/* CONTACT */
.contact {
  background: #fffdf7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info > p {
  margin: 15px 0 30px;
  color: #777;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 22px;
}

.contact-detail > span {
  font-size: 25px;
}

.contact-detail h3 {
  color: #28613c;
  font-size: 16px;
}

.contact-detail p {
  color: #777;
  font-size: 14px;
}

.contact-form {
  padding: 35px;
  background: #f4f6ee;
  border-radius: 15px;
}

.contact-form h3 {
  margin-bottom: 22px;
  color: #28613c;
  font-size: 22px;
}

.contact-form label {
  display: block;
  margin: 15px 0 7px;
  color: #344238;
  font-size: 14px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #dce2d8;
  border-radius: 7px;
  outline: none;
  background: white;
  font-family: inherit;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #28613c;
}

.contact-form textarea {
  resize: vertical;
}

.error {
  display: block;
  min-height: 18px;
  color: #d93025;
  font-size: 12px;
}

.form-button {
  width: 100%;
  margin-top: 12px;
}

.form-feedback {
  margin-top: 15px;
  font-size: 13px;
  text-align: center;
}

.form-feedback.success {
  color: #28613c;
}

.form-feedback.failed {
  color: #d93025;
}

/* FOOTER */
.footer {
  color: #e5e9e3;
  background: #193c27;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-top: 55px;
  padding-bottom: 45px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 12px;
  color: white;
}

.footer-content h3 {
  margin-bottom: 15px;
  color: white;
}

.footer-content p,
.footer-content a:not(.footer-logo) {
  display: block;
  margin-bottom: 9px;
  color: #d0d9d1;
  font-size: 13px;
  text-decoration: none;
}

.footer-content a:hover {
  color: #e49b35;
}

.copyright {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  color: #c8d3ca;
  font-size: 12px;
}

/* TABLET */
@media (max-width: 900px) {
  .nav-menu {
    gap: 15px;
  }

  .nav-menu a {
    font-size: 12px;
  }

  .about-grid,
  .contact-grid {
    gap: 30px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .navbar {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5%;
    background: white;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    display: block;
    padding: 12px 0;
    font-size: 14px;
  }

  .hero {
    min-height: 550px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 300px;
  }

  .product-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .section {
    padding: 65px 0;
  }

  .product-grid,
  .feature-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-slider,
  .contact-form {
    padding: 25px 18px;
  }
}

