




* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #ffffff;
}

main {
  padding: 40px 50px;
  background-color: #f9f9f9;
}

h1 {
  font-size: 40px;
  margin-bottom: 40px;
  color: #333;
}


.slideshow-container {
  position: relative;
  max-width: 100%;
  margin: auto;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 60px;
}

.slide {
  display: none;
  position: relative;
  animation: slideFromRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  opacity: 0;
}

.slide.active {
  display: block;
  animation: slideFromRight 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes slideFromRight {
  0%   { opacity: 0; transform: translateX(100%); }
  50%  { opacity: 0.5; }
  to   { opacity: 1; transform: translateX(0); }
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 80px;
  transform: translateY(-50%);
  color: rgb(0, 0, 0);
  text-align: left;
}

.slide-content h2 {
  font-size: 48px;
  margin-bottom: 15px;
  font-weight: 500;
}

.slide-content p {
  font-size: 18px;
  line-height: 1.6;
}

.dots-container {
  text-align: center;
  padding: 30px 0;
}

.dot {
  height: 12px;
  width: 40px;
  margin: 0 5px;
  background-color: #ddd;
  border-radius: 6px;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: #4a2c1a;
}


.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 60px;
}

.collection-box {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.collection-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.collection-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  position: relative;
  min-height: 40px;
}

.collection-title {
  font-size: 28px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.view-all-btn {
  background-color: #000;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: absolute;
  bottom: 15px;
  right: 15px;
  z-index: 10;
}

.view-all-btn:hover {
  background-color: rgb(46, 36, 19);
  transform: rotate(80deg);
  color: #e0e0e0;
}

.collection-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.collection-item {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.collection-item:hover {
  transform: scale(1.05);
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.most-popular-section {
  margin-top: 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin-bottom: 25px;
}

.product-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #f0f0f0;
  color: #333;
  z-index: 10;
}


.testimonial-section {
  background-color: rgb(251, 245, 237);
  border-radius: 20px;
  padding: 20px 10px;
  margin: 40px 0;
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  gap: 30px;
  align-items: center;
}

.testimonial-header {
  font-size: 30px;
  font-weight: 620;
  color: #333;
  margin-bottom: 2px;
  text-align: left;
}

.testimonial-slider {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.testimonial-content { color: #333; }

.stars {
  font-size: 30px;
  margin-bottom: 12px;
  letter-spacing: 5px;
  color: rgb(239, 186, 87);
}

.testimonial-text {
  font-size: 30px;
  line-height: 1.6;
  margin-bottom: 12px;
  font-weight: 550;
  color: #000;
}

.testimonial-author {
  font-size: 20px;
  color: #535050;
}

.testimonial-author a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.testimonial-author a:hover { color: #2563eb; }

.testimonial-image {
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 10px 12px rgba(0,0,0,0.1);
  width: 100%;
}

.testimonial-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid #333;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-weight: bold;
}

.slider-btn:hover {
  background-color: #333;
  color: white;
  transform: scale(1.1);
}


.just-for-you-section { margin-top: 60px; }

.section-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.star-icon {
  font-size: 55px;
  color: #070707;
  margin-bottom: 23px;
  margin-left: 10px;
}


@media (max-width: 1200px) {
  .collections-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .testimonial-section {
    gap: 15px;
    padding: 24px 15px;
  }
  .testimonial-slider {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  .testimonial-header {
    text-align: center;
    font-size: 24px;
  }
  .testimonial-text {
    font-size: 22px;
  }
  .testimonial-image {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  main { padding: 30px 20px; }
  h1 { font-size: 30px; margin-bottom: 30px; }
  .slide img { height: 380px; }
  .collection-items { grid-template-columns: repeat(2, 1fr); }
  .section-title { font-size: 24px; }
  .slide-content { left: 30px; right: 30px; }
  .slide-content h2 { font-size: 28px; }
  .slide-content p { font-size: 15px; }
}

@media (max-width: 640px) {
  main {
    padding: 20px 12px;
  }
  h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .slide img {
    height: 280px;
  }
  .slide-content {
    left: 20px;
    right: 20px;
  }
  .slide-content h2 {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .slide-content p {
    font-size: 14px;
  }
  .testimonial-section {
    grid-template-columns: 1fr;
    padding: 20px 14px;
  }
  .slider-btn {
    display: none;
  }
  .testimonial-text {
    font-size: 17px;
    line-height: 1.5;
  }
  .collection-box {
    padding: 16px;
  }
  .collection-title {
    font-size: 19px;
  }
  .collection-items {
    gap: 8px;
  }
  .star-icon {
    font-size: 32px;
    margin-bottom: 12px;
  }
}
