/* ============================================
   WINIHARTO — Home Page Styles (Light Theme)
   ============================================ */

/* ---- Hero Section (Full-width banner) ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.88) 0%, rgba(26, 26, 26, 0.7) 20%, rgba(26, 26, 26, 0.45) 100%);
  z-index: 1;
}

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

.hero-content {
  max-width: 800px;
}

.hero-content h1,
.hero-content p {
  color: #ffffff;
}

.hero-content p {
  opacity: 0.85;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-full);
  background: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-400);
  margin-bottom: var(--space-xl);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-label .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-400);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: var(--space-2xl);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* Hero inline stats */
.hero-stats-row {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-400);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-stat-item {
    align-items: center;
  }
}

/* ---- Stats Strip ---- */
.stats-strip {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* ---- Featured Products ---- */
.featured-products {
  background: var(--bg-primary);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

/* ---- CTA Section ---- */
.cta-section {
  padding: var(--space-4xl) 0;
  background: var(--dark-900);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.06), transparent 70%);
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  margin-bottom: var(--space-md);
  color: #ffffff;
}

.cta-inner p {
  margin-bottom: var(--space-2xl);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.cta-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-section .section-label {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.3);
  color: var(--primary-400);
}/* Hero Slider Styles */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.hero.slide {
  flex: 0 0 100%;
  width: 100%;
}

/* Navigation Buttons */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}
.hero-nav:hover {
  background: var(--primary-500);
}
.hero-prev {
  left: 20px;
}
.hero-next {
  right: 20px;
}

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}
.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active {
  background: var(--primary-500);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .hero-nav {
    display: none; /* hide arrows on mobile, just rely on dots or auto */
  }
}
