/* ============================================
   KINAAV - Home Page Styles (JEOMSU Inspired)
   Soft clay & cream palette, refined layout
   ============================================ */

/*--------------------- Hot Deals Section ---------------------*/
.carousel-item img {
  backface-visibility: hidden;
  height: 400px;      /* Set a fixed height that fits your design */
  object-fit: cover;  /* Ensures the image doesn't look stretched */
  border-radius: 15px; /* Optional: matches your Kinaav theme */
}


/* -------------------- Hero Section -------------------- */
.hero-section {
  padding: 2rem 0 4rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 2.25rem;
  color: var(--text-primary);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-play:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* Features List */
.features-list {
  background: var(--surface-card);
  padding: 2.25rem 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.features-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.features-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-items li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-weight: 500;
}

.features-items li i {
  color: var(--primary);
  font-size: 1.25rem;
}

/* Hero Images */
.hero-images {
  animation: fadeInRight 0.8s ease-out;
}

.image-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.75rem;
  position: relative;
}

.main-image {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-base);
}

.main-image:hover {
  transform: translateY(-10px);
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.secondary-images {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.promo-badge {
  background: var(--surface-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  font-weight: 600;
  color: var(--text-primary);
}

.promo-badge i {
  color: var(--primary);
  font-size: 1.5rem;
}

.discount-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  flex: 1;
  transition: transform var(--transition-base);
}

.discount-image:hover {
  transform: translateY(-10px);
}

.discount-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.discount-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-md);
}

/* -------------------- Category Tabs -------------------- */
.category-tabs-section {
  padding: 3.5rem 0;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
}

.category-tabs {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.category-tabs::-webkit-scrollbar {
  height: 6px;
}

.category-tabs::-webkit-scrollbar-track {
  background: transparent;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: var(--radius-full);
}

.category-tab {
  padding: 0.85rem 1.9rem;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.category-tab:hover {
  background: var(--primary-lighter);
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.category-tab.active {
  background: var(--primary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

/* -------------------- Newest Arrivals Section -------------------- */
.newest-arrivals-section {
  padding: 4.5rem 0 5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 2rem;
  margin-top: 0.5rem;
}

/* .section-nav {
  display: flex;
  gap: 0.75rem;
} */

/* .nav-arrow {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--surface-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  cursor: pointer;
} */

/* .nav-arrow:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: scale(1.1);
} */

/* Product Cards */
.product-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  height: 100%;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-info {
  padding: 1.5rem;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.product-price {
  margin-bottom: 1rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.price-original {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.btn-view {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
}

.btn-view:hover {
  background: var(--primary);
  color: white;
  transform: translateX(5px);
}

/* -------------------- Responsive Design -------------------- */
@media (max-width: 991px) {
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .image-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .main-image {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 4/5;
  }

  .secondary-images {
    grid-column: 1;
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .features-list {
    padding: 1.75rem 1.9rem;
  }

  .category-tabs {
    gap: 0.5rem;
  }

  .category-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Responsive adjustments for View Button */
@media (max-width: 768px) {
  .btn-view {
    /* Reduce internal spacing */
    padding: 0.35rem 0.75rem !important; 
    
    /* Make text smaller */
    font-size: 0.75rem !important;      
    
    /* Optional: Make button full width on mobile for better touch targets */
    width: 100%; 
    display: block;
    text-align: center;
  }
  
  /* Adjust the arrow icon size inside the button */
  .btn-view i {
    font-size: 0.75rem;
  }
}