/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 50px;
  background: var(--light-color);
}

.hero-text {
  max-width: 500px;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-primary);
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  color: var(--text-color);
  font-family: var(--font-secondary);
}

.hero-img {
  position: relative;
  width: 500px;
  height: 600px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

.hero-img:hover img {
  transform: scale(1.05);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: var(--font-primary);
}

.section-header h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-header p {
  color: var(--text-color);
  font-size: 16px;
  font-family: var(--font-secondary);
}

/* Categories Section */
.categories {
  padding: 80px 50px;
  background: var(--white);
}

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

.category-card {
  position: relative;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.category-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.category-card:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.category-card:hover .overlay {
  opacity: 1;
}

.overlay p {
  font-family: var(--font-primary);
  font-size: 24px;
  margin-bottom: 15px;
}

/* New Arrivals Section */
.new-arrivals {
  padding: 80px 50px;
  background: var(--light-color);
}

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

.product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.product-info {
  padding: 15px 20px;
}

.product-info p {
  margin-bottom: 5px;
  font-family: var(--font-secondary);
}

.price {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 18px;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  padding: 0 20px 15px 20px;
  align-items: center;
}

/* Testimonial Section */
.testimonial {
  padding: 100px 50px;
  background: url('/img/customer.jpg') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  position: relative;
}

.testimonial:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.testimonial-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-content i {
  font-size: 40px;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.testimonial-content p {
  font-size: 24px;
  line-height: 1.6;
  margin-bottom: 40px;
  font-style: italic;
  font-family: var(--font-primary);
}

.author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--secondary-color);
}

.author p:first-of-type {
  font-weight: 600;
  font-size: 18px;
  font-family: var(--font-primary);
}

.author p:last-of-type {
  font-size: 14px;
  color: var(--secondary-color);
  font-family: var(--font-secondary);
}

/* Buttons */
.primary-btn {
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-family: var(--font-secondary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.primary-btn:hover {
  background: var(--dark-color);
  transform: translateY(-2px);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-color);
  padding: 8px 20px;
  border: none;
  border-radius: 20px;
  font-family: var(--font-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-btn:hover {
  background: var(--white);
}

.icon-btn {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 5px;
}

.icon-btn:hover {
  color: var(--dark-color);
}

/* Responsive Home Page */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 50px;
    max-width: 100%;
  }

  .hero-img {
    width: 100%;
    max-width: 500px;
    height: 500px;
  }

  .section-header h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .categories,
  .new-arrivals,
  .testimonial {
    padding: 60px 30px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .testimonial-content p {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .category-grid,
  .arrival-grid {
    grid-template-columns: 1fr;
  }

  .hero-img {
    height: 400px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .testimonial {
    padding: 50px 20px;
  }

  .testimonial-content p {
    font-size: 18px;
  }
}