/* Products Page Styles */

.container-products {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.products-hero {
  min-height: 50vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  position: relative;
}

.products-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.5));
  z-index: 1;
}

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

.products-hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  font-weight: 300;
}

.products-hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #FFD700;
  margin: 0;
  letter-spacing: 2px;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background: white;
}

.products-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.products-header {
  text-align: left;
  flex: 1;
}

.products-subtitle {
  font-size: 20px;
  color: #999;
  margin: 0 0 8px 0;
  font-weight: 400;
}

.products-main-title {
  font-size: 42px;
  font-weight: 400;
  margin: 0 0 12px 0;
  line-height: 1.2;
  color: #666;
}

.products-main-title .title-plough {
  color: #E53935;
  font-weight: 700;
}

.products-main-title .title-range {
  color: #666;
  font-weight: 400;
}

.products-description {
  font-size: 16px;
  color: #999;
  margin: 0;
}

/* Product Filters */
.product-filters {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.filter-btn {
  background: #FFD600;
  border: none;
  padding: 12px 28px;
  border-radius: 25px;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
  background: #FFC400;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.4);
}

.filter-btn.active {
  background: #E53935;
  color: white;
}

/* Product Carousel */
.products-carousel {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 80px;
}

.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0 60px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 30px;
  align-items: center;
}

.product-card {
  flex: 0 0 500px;
  min-width: 500px;
  background: #FFD600;
  border-radius: 30px;
  padding: 0;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s ease;
  opacity: 0.5;
  transform: scale(0.85);
  height: 450px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-card.active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.product-image-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 30px 20px;
  background: #FFD600;
}

.product-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 300px;
  display: block;
}

.product-info {
  background: white;
  padding: 20px 30px;
  border-radius: 0 0 30px 30px;
  text-align: center;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  color: #E53935;
  margin: 0 0 8px 0;
}

.product-download-link {
  font-size: 13px;
  color: #999;
  text-decoration: none;
  display: inline-block;
  margin: 0;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-download-link:hover {
  color: #E53935;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #E53935;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-nav:hover {
  background: #E53935;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
  left: 10px;
}

.carousel-nav.next {
  right: 10px;
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: #E53935;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.3;
}

.carousel-dot.active {
  opacity: 1;
  background: #E53935;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  .container-products {
    padding: 0 1.5rem;
  }

  .products-hero-title {
    font-size: 4rem;
  }

  .product-card {
    flex: 0 0 calc(50% - 15px);
  }

  .products-carousel {
    padding: 0 50px;
  }
}

@media screen and (max-width: 768px) {
  .container-products {
    padding: 0 1rem;
  }

  .products-hero {
    min-height: 40vh;
  }

  .products-hero-title {
    font-size: 2.5rem;
  }

  .products-hero-subtitle {
    font-size: 0.8rem;
  }

  .products-section {
    padding: 60px 0;
  }

  .products-top {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 25px;
  }

  .products-main-title {
    font-size: 32px;
  }

  .products-subtitle {
    font-size: 18px;
  }

  .products-description {
    font-size: 15px;
  }

  .product-filters {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

  /* Mobile Carousel - Complete Redesign */
  .products-carousel {
    padding: 0 15px;
    max-width: 100%;
  }

  .carousel-container {
    padding: 20px 0 40px;
    overflow: visible;
  }

  .carousel-track {
    gap: 0;
    align-items: stretch;
  }

  .product-card {
    flex: 0 0 calc(100% - 80px);
    min-width: calc(100% - 80px);
    max-width: calc(100% - 80px);
    height: auto;
    margin: 0 40px;
    border-radius: 20px;
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .product-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }

  .product-image-container {
    padding: 30px 20px 20px;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-image {
    max-height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .product-info {
    padding: 20px 20px 25px;
    border-radius: 0 0 20px 20px;
  }

  .product-name {
    font-size: 19px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .product-download-link {
    font-size: 12px;
  }

  .carousel-nav {
    width: 45px;
    height: 45px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .carousel-nav.prev {
    left: 5px;
  }

  .carousel-nav.next {
    right: 5px;
  }

  .carousel-dots {
    margin-top: 30px;
    gap: 8px;
  }

  .carousel-dot {
    width: 32px;
    height: 5px;
    border-radius: 3px;
  }
}

@media screen and (max-width: 480px) {
  .products-hero {
    min-height: 35vh;
  }

  .products-hero-title {
    font-size: 2rem;
  }

  .products-hero-subtitle {
    font-size: 0.7rem;
    letter-spacing: 1px;
  }

  .products-section {
    padding: 40px 0;
  }

  .products-top {
    gap: 20px;
    margin-bottom: 30px;
  }

  .products-main-title {
    font-size: 26px;
  }

  .products-subtitle {
    font-size: 16px;
  }

  .products-description {
    font-size: 13px;
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 13px;
  }

  /* Mobile Carousel - Small Screens */
  .products-carousel {
    padding: 0 10px;
    max-width: 100%;
  }

  .carousel-container {
    padding: 15px 0 35px;
    overflow: visible;
  }

  .carousel-track {
    gap: 0;
  }

  .product-card {
    flex: 0 0 calc(100% - 70px);
    min-width: calc(100% - 70px);
    max-width: calc(100% - 70px);
    margin: 0 35px;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }

  .product-card.active {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .product-image-container {
    padding: 25px 15px 15px;
    min-height: 180px;
  }

  .product-image {
    max-height: 160px;
    width: auto;
    max-width: 100%;
  }

  .product-info {
    padding: 16px 18px 20px;
    border-radius: 0 0 18px 18px;
  }

  .product-name {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .product-download-link {
    font-size: 11px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .carousel-nav.prev {
    left: 3px;
  }

  .carousel-nav.next {
    right: 3px;
  }

  .carousel-dots {
    margin-top: 25px;
    gap: 6px;
  }

  .carousel-dot {
    width: 28px;
    height: 4px;
  }
}

/* Extra Small Mobile */
@media screen and (max-width: 360px) {
  .products-hero-title {
    font-size: 1.75rem;
  }

  .products-main-title {
    font-size: 24px;
  }

  .products-subtitle {
    font-size: 15px;
  }

  .filter-btn {
    padding: 7px 16px;
    font-size: 12px;
  }

  .products-carousel {
    padding: 0 8px;
  }

  .carousel-container {
    padding: 12px 0 30px;
  }

  .product-card {
    flex: 0 0 calc(100% - 60px);
    min-width: calc(100% - 60px);
    max-width: calc(100% - 60px);
    margin: 0 30px;
    border-radius: 16px;
  }

  .product-image-container {
    padding: 20px 12px 12px;
    min-height: 160px;
  }

  .product-image {
    max-height: 140px;
  }

  .product-info {
    padding: 14px 16px 18px;
    border-radius: 0 0 16px 16px;
  }

  .product-name {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .product-download-link {
    font-size: 10px;
  }

  .carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }

  .carousel-nav.prev {
    left: 2px;
  }

  .carousel-nav.next {
    right: 2px;
  }

  .carousel-dots {
    margin-top: 20px;
    gap: 5px;
  }

  .carousel-dot {
    width: 24px;
    height: 4px;
  }
}
