/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (home.css)
   ========================================================================== */

/* Hero Slider Section */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 560px;
  max-height: 720px;
  overflow: hidden;
  margin-top: 76px;
}

.hero-slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay-light {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg,
    rgba(20, 8, 14, 0.82) 0%,
    rgba(30, 10, 20, 0.68) 40%,
    rgba(10, 4, 8, 0.30) 70%,
    rgba(0,0,0,0.05) 100%);
}

[data-theme="dark"] .hero-overlay-light {
  background: linear-gradient(105deg,
    rgba(10, 4, 8, 0.90) 0%,
    rgba(20, 8, 14, 0.72) 45%,
    rgba(0,0,0,0.2) 100%);
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(212, 163, 115, 0.18);
  border: 1.5px solid rgba(212, 163, 115, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  color: #F5D79E;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(6px);
  text-shadow: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero-badge {
  background: rgba(212, 163, 115, 0.15);
  color: var(--gold-accent);
}

.hero-title {
  font-size: 3.4rem;
  font-family: var(--font-heading);
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.8);
}

[data-theme="dark"] .hero-title {
  color: #FFFFFF;
  text-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.85), 0 1px 3px rgba(0,0,0,0.9);
}

[data-theme="dark"] .hero-subtitle {
  color: #FFFFFF;
}

/* Gold text override specifically inside hero slides */
.hero-slide-content .gold-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #FFD97A;
  color: #FFD97A;
  text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 30px rgba(212,163,115,0.5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  gap: 16px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color-strong);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .stat-item {
  background: rgba(24, 16, 20, 0.88);
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin: 0;
  line-height: 1;
}

[data-theme="dark"] .stat-item h3 {
  color: var(--gold-light);
}

.stat-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin: 4px 0 0 0;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color-strong);
  color: var(--primary-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--primary-burgundy);
  color: #FFF;
}

.slider-arrow-prev { left: 24px; }
.slider-arrow-next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(90,24,62,0.25);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--primary-burgundy);
}

/* Category Grid Cards - Exactly 4 Cards Per Row on Desktop */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 1199px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--hover-shadow);
  border-color: var(--gold-accent);
}

.category-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.category-body {
  padding: 24px;
  text-align: center;
  flex: 1;
}

.category-title {
  font-size: 1.3rem;
  color: var(--primary-burgundy);
  margin-bottom: 8px;
}

[data-theme="dark"] .category-title {
  color: var(--gold-light);
}

.category-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}
