/* Home Page Specific Styles */

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 76px;
}

.hero-slider,
.swiper-wrapper,
.swiper-slide {
  height: 100%;
  width: 100%;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7);
}

.slide-content {
  color: var(--white);
  padding: 2rem;
  max-width: 600px;
  margin-left: 10%;
  margin-top: 100px;
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: var(--border-radius);
  padding: 2rem;
}

.slide-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary);
}

.swiper-pagination-bullet-active {
  background-color: var(--primary);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon {
  margin: 0 auto 1.5rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 152, 0, 0.1);
  border-radius: 50%;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary-dark);
}

/* Products Section */
.products {
  padding: 5rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

.product-info h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary-dark);
}

.product-info p {
  margin-bottom: 1.5rem;
  min-height: 50px;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  background-color: var(--primary);
  color: var(--white);
}

.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 1.5rem;
}

.cta p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta .btn-primary {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.cta .btn-primary:hover {
  background-color: transparent;
  color: var(--white);
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .hero {
    height: 80vh;
  }

  .slide-content {
    margin-left: 5%;
    max-width: 90%;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .slide-content {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

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