/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #2d5016;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #2d5016;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.navbar-brand .title {
  line-height: 1;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #2d5016;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #4a7c29;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #2d5016;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Banner Section */
.banner {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(45, 80, 22, 0.4) 50%, rgba(107, 155, 55, 0.3) 100%);
}

.banner-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.banner-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.banner-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.5;
}

.banner-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.banner-stats span {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.banner-button {
  display: inline-block;
  background: linear-gradient(135deg, #4a7c29 0%, #6b9b37 100%);
  color: white;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 124, 41, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 41, 0.6);
  background: linear-gradient(135deg, #2d5016 0%, #4a7c29 100%);
}

/* Slider Navigation */
.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
  background: white;
  transform: scale(1.2);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
  font-size: 1.2rem;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* About Section */
.about {
  padding: 80px 0;
  background: #f8f9fa;
}

.about h2,
.products h2,
.benefits h2,
.gallery h2,
.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2d5016;
  margin-bottom: 3rem;
  position: relative;
}

.about h2::after,
.products h2::after,
.benefits h2::after,
.gallery h2::after,
.contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4a7c29 0%, #6b9b37 100%);
  border-radius: 2px;
}

.about p {
  font-size: 1.2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  color: #555;
  line-height: 1.8;
}

/* Credentials */
.credentials {
  padding: 60px 0;
  background: white;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.credential {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.credential:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.credential i {
  font-size: 3rem;
  color: #4a7c29;
  margin-bottom: 1rem;
}

.credential h3 {
  color: #2d5016;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Products */
.products {
  padding: 80px 0;
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: contain;
}

.product-card h3 {
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  color: #2d5016;
  font-size: 1.4rem;
  font-weight: 600;
}

.product-card p {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #666;
  line-height: 1.6;
}

/* Benefits */
.benefits {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.benefit-card i {
  font-size: 3rem;
  color: #4a7c29;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  color: #2d5016;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Gallery */
.gallery {
  padding: 80px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#galleryModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#galleryModal .modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.modal-image-container {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

#modalImage {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-counter {
  color: white;
  margin-top: 1rem;
  font-size: 1.1rem;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-nav.prev {
  left: 30px;
}

.modal-nav.next {
  right: 30px;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f8f0 0%, #e8f5e8 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4a7c29;
  box-shadow: 0 0 0 3px rgba(74, 124, 41, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.cta-button {
  background: linear-gradient(135deg, #4a7c29 0%, #6b9b37 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 124, 41, 0.4);
}

.contact-info {
  padding: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.info-item i {
  font-size: 1.5rem;
  color: #4a7c29;
  margin-top: 0.2rem;
}

.info-item a {
  color: #555;
  text-decoration: none;
}

.info-item a:hover {
  color: #2d5016;
}

/* Footer */
.footer {
  background: #2d5016;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Form Messages */
.form-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .banner-content h1 {
    font-size: 2.5rem;
  }

  .banner-content p {
    font-size: 1.1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    display: none;
  }

  .about h2,
  .products h2,
  .benefits h2,
  .gallery h2,
  .contact h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 1rem;
  }

  .banner-content h1 {
    font-size: 2rem;
  }

  .product-grid,
  .benefits-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a7c29 0%, #6b9b37 100%);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(74, 124, 41, 0.4);
}