/* Collection Page Specific Styles */

/* Active navigation link */
.nav-links a.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-links a.active::after {
  width: 100%;
}

/* Section 1: Collection Banner */
.collection-banner {
  background-color: var(--primary-color);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.collection-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.banner-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: white;
}

.banner-content h2 {
  margin-bottom: 1.5rem;
}

.banner-content span {
  color: var(--secondary-color);
}

.banner-content p {
  opacity: 0.9;
}

/* Section 2: Category Filter */
.category-filter {
  padding: 2rem 0;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-container {
  display: flex;
  justify-content: center;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: transparent;
  border: 1px solid var(--grey-light);
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Section 3: Product Grid */
.product-grid {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
}

.product-card.animated {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-dark);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-weight: 600;
}

.product-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-details h3 {
  margin-bottom: 0.5rem;
}

.product-price {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-description {
  color: var(--grey-color);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-actions {
  margin-top: auto;
}

.view-details {
  width: 100%;
}

/* Section 4: Customization Options */
.customization-section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}


.customization-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.customization-content h2 {
  margin-bottom: 1.5rem;
}

.customization-content h2 span {
  color: var(--primary-color);
}

.customization-content > p {
  max-width: 700px;
  margin: 0 auto 3rem;
}

.customization-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.option-card {
  background-color: white;
  padding: 2rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
}

.option-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.option-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.option-card h3 {
  margin-bottom: 1rem;
}

.option-card p {
  color: var(--grey-color);
  margin-bottom: 0;
}

.customization-cta {
  margin-top: 2rem;
}

/* Section 5: CTA Section */
.collection-cta-section {
  padding: 5rem 0;
  background: linear-gradient(to right, rgba(34, 40, 49, 0.9), rgba(34, 40, 49, 0.7)), url('../images/website-bg.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.collection-cta-section .cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: white;
  position: relative;
  z-index: 2;
}

.collection-cta-section .cta-content h2 {
  margin-bottom: 1.5rem;
  color: white;
}

.collection-cta-section .cta-content h2 span {
  color: var(--secondary-color);
}

.collection-cta-section .cta-content p {
  line-height: 1.8;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.collection-cta-section .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.collection-cta-section .cta-buttons .btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.collection-cta-section .cta-buttons .btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

.collection-cta-section .cta-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
  .customization-options {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  .collection-banner {
    padding: 140px 0px 80px 0px;
  }
  
  .collection-banner::before {
    width: 30%;
  }

  .category-filter {
    top: 70px;
    padding: 1.5rem 0;
  }
  
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }
  
  .product-image img {
    height: 240px;
  }
  
  .product-details {
    padding: 1.25rem;
  }
  
  .customization-section {
    padding: 4rem 0;
  }
  
  .customization-content > p {
    margin-bottom: 2rem;
  }
  
  .option-card {
    padding: 1.75rem 1.25rem;
  }
  
  .collection-cta-section {
    padding: 4rem 0;
  }
}

@media screen and (max-width: 768px) {
  .collection-banner::before {
    display: none;
  }
  
  .category-filter {
    padding: 1rem 0;
  }

  .filter-buttons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
  
  .filter-btn {
    padding: 0.4rem 1.2rem;
  }
  
  .product-grid {
    padding: 3rem 0;
  }
  
  .products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .product-image img {
    height: 220px;
  }
  
  .product-badge {
    top: 0.75rem;
    right: 0.75rem;
  }
  
  .product-details {
    padding: 1rem;
  }
  
  .customization-section {
    padding: 3rem 0;
  }
  
  .customization-options {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    gap: 1.5rem;
  }
  
  .option-card {
    padding: 1.5rem;
  }
  
  .collection-cta-section .cta-buttons {
    flex-direction: column;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .collection-cta-section .cta-buttons .btn {
    width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .filter-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }
  
  .filter-btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
  }
  
  .product-grid {
    padding: 2.5rem 0;
  }
  
  .products-container {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .product-card {
    max-width: 100%;
  }
  
  .product-image img {
    height: 240px;
  }
  
  .customization-section {
    padding: 2.5rem 0;
  }
  
  .customization-content > p {
    margin-bottom: 1.5rem;
  }
  
  .customization-options {
    margin-bottom: 2rem;
  }
  
  .collection-cta-section {
    padding: 3rem 0;
  }
}

@media screen and (max-width: 480px) {
  .filter-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .product-grid {
    padding: 2rem 0;
  }
  
  .product-image img {
    height: 200px;
  }
  
  .option-card {
    padding: 1.25rem;
  }
  
  .option-icon {
    margin-bottom: 1rem;
  }
  
  .collection-cta-section .cta-content p {
    margin-bottom: 2rem;
  }
} 


@media screen and (min-width:4000px) {
  
  
  
  .customization-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}