/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8fff9;
  height: 100%;
  color: #2d742d;
  padding-top: 90px;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 60, 0, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 100px;
  margin-right: 10px;
  margin-top: -15px;
  width: 100px;
}

.firm-name {
  color: white;
  font-size: 2rem;
  font-weight: bold;
}

nav ul {
  display: flex;
  list-style: none;
  margin-top: 12px;
  gap: 20px;
  align-items: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00ff88;
  color: #004400;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* HERO SECTION */
.product-hero {
  background: url('../images/products-hero.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px 80px;
  text-shadow: 2px 2px 8px #003300;
}

.product-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.product-hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* PRODUCTS */
.products-page {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
  padding-bottom: 20px;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 50px;
  margin-bottom: 50px;
  justify-content: center;
}

.product-card {
  background-color: #e6f2e6;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 60, 0, 0.1);
  padding: 20px;
  padding-bottom: 50px;
  margin-bottom: 10px;
  text-align: center;
  flex: 1 1 220px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  margin-bottom: 10px;
}

.product-card img {
  max-width: 100%;
  border-radius: 10px;
  height: 160px;
  object-fit: cover;
}

.product-card h2 {
  margin: 15px 0 10px;
  font-size: 1.4rem;
}

.product-card p {
  font-size: 1.05rem;
  color: #444;
  padding-bottom: 10px;
}


/* FOOTER */
footer {
  text-align: center;
  padding: 15px 0;
  background-color: rgba(0, 60, 0, 0.9);
  color: white;
  font-size: 0.9rem;
  position: fixed;
  bottom: 0;
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 60, 0, 0.95);
    width: 100%;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .product-hero h1 {
    font-size: 2rem;
  }

  .product-hero p {
    font-size: 1rem;
  }

  .product-grid {
    flex-direction: column;
    align-items: center;
  }

  .product-card {
    width: 90%;
  }
}
