/* ===== HOME PAGE ===== */

/* HERO */
.page-hero.home-hero {
  background: url('../images/banners/home_banner.jpg') center/cover no-repeat;
}

/* --- HERO TEXT FIX (keep heading in one line on wide screens) --- */
.home-hero .hero-overlay {
  max-width: 1100px; /* wider transparent box */
}

.home-hero .hero-overlay h1 {
  font-size: 2.8rem;
  white-space: nowrap; /* keep in one line on desktop */
}

.home-hero .hero-overlay p {
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .home-hero .hero-overlay h1 {
    white-space: normal; /* allow wrap on tablets */
    font-size: 2.3rem;
  }
}
@media (max-width: 600px) {
  .home-hero .hero-overlay h1 {
    font-size: 1.9rem;
  }
}

/* ABOUT */
.about {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}
.about p {
  max-width: 850px;
  margin: 15px auto;
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* PRODUCTS */
.products {
  text-align: center;
  padding: 60px 0;
  background: #f8f8f8;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0 40px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}
.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background-color: #eaeaea;
}
.product-card h3 {
  color: #2e5a2e;
  margin: 15px 0;
  font-size: 1.1rem;
}
.product-card p {
  color: #555;
  font-size: 0.95rem;
  margin: 0 15px 20px;
}

/* NEWS */
.news {
  padding: 60px 0 40px;
  background: #fff;
  text-align: center;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 25px;
}
.news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
  text-align: left;
}
.news-card:hover {
  transform: translateY(-5px);
}
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #eaeaea;
  border-bottom: 1px solid #eee;
}
.news-card h3 {
  color: #2e5a2e;
  margin: 15px 15px 5px;
  font-size: 1.1rem;
}
.news-card p {
  margin: 0 15px 10px;
  color: #555;
  font-size: 0.95rem;
}
.read-more {
  display: inline-block;
  color: #f5c542;
  font-weight: 600;
  margin: 0 15px 15px;
  text-decoration: none;
  transition: 0.3s;
}
.read-more:hover {
  text-decoration: underline;
  color: #d7ac2e;
}

/* CONTACT INFO */
.contact-info {
  text-align: center;
  padding: 60px 0 70px;
  background: #f8f8f8;
}
.contact-info h2 {
  color: #2e5a2e;
  margin-bottom: 25px;
}
.contact-info p {
  font-size: 1rem;
  color: #444;
  margin: 8px 0;
}
.contact-info a {
  color: var(--green-dark);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-overlay h1 { font-size: 2rem; }
  .hero-overlay p { font-size: 1rem; }
  .product-card img, .news-card img { height: 200px; }
}
