/* Products Page Specific Styles */

/* Active navigation state */
.nav-items a.active {
  color: var(--green);
}

.nav-items a.active::after {
  width: 100%;
  background-color: var(--green);
}

/* Hero section */
.products-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: var(--light-grey);
  background-color: var(--dark-grey);
}

.products-hero .video-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  background-color: var(--dark-grey);
}

.products-hero .video-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.products-hero #video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.9;
}

.products-hero .content {
  position: relative;
  z-index: 2;
}

.products-hero .scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: float 2s ease-in-out infinite;
}

/* Products intro section */
.products-intro {
  padding: 100px 0;
  background-color: var(--dark-grey);
  color: var(--light-grey);
}

/* Product categories */
.product-categories {
  padding: 100px 0;
  background-color: var(--light-grey);
  color: var(--dark-grey);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.category-item {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.category-image {
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: #f8f9fa;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.category-item:hover .category-image img {
  transform: scale(1.05);
}

.category-content {
  padding: 25px;
}

.category-content h3 {
  color: var(--green);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.category-content p {
  color: var(--dark-grey);
}

.learn-more {
  display: inline-block;
  margin-top: 15px;
  color: var(--green);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.learn-more::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--green);
  transition: width 0.3s ease;
}

.learn-more:hover::after {
  width: 100%;
}

/* Featured products section */
.featured-products {
  position: relative;
  padding: 100px 0;
  color: var(--light-grey);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.product-image {
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  /* transform: scale(1.1); */
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  color: var(--green);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.product-description {
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tag {
  background-color: var(--green);
  color: var(--dark-grey);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Sustainable solutions section */
.sustainable-solutions {
  padding: 100px 0;
  background-color: var(--light-grey);
  color: var(--dark-grey);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.solution-item {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.solution-item:hover {
  /* transform: translateY(-10px); */
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.solution-item h3 {
  color: var(--green);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* Product testimonials section */
.product-testimonials {
  padding: 100px 0;
  background-color: var(--dark-grey);
  color: var(--light-grey);
}

.testimonial-carousel {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  transition: box-shadow 0.3s ease;
}

.testimonial-item:hover {
  /* transform: translateY(-5px); */
}

.testimonial-quote {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-quote p {
  position: relative;
  padding-left: 20px;
}

.testimonial-quote p::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  line-height: 1;
  color: var(--green);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
  border: 2px solid var(--green);
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h4 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 1.1rem;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Page transition animation */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--green);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}

.page-transition.active {
  transform: translateY(0);
}

.page-transition.fade-out {
  transform: translateY(-100%);
}

/* Media Queries */
@media screen and (max-width: 992px) {
  .category-grid,
  .product-showcase,
  .solutions-grid,
  .testimonial-carousel {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  .category-grid,
  .product-showcase,
  .solutions-grid,
  .testimonial-carousel {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .products-hero {
    height: 70vh;
  }
  
  .category-image,
  .product-image {
    height: 180px;
  }
  
  .solution-item {
    padding: 20px;
  }
} 