/* ============================================================
   HOME PAGE STYLES
   ============================================================ */

/* --- Hero Section --- */
.hero {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(17,28,48,0.97) 0%, rgba(27,42,74,0.85) 50%, rgba(10,10,10,0.75) 100%);
  z-index: 1;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  transform: scale(1.05);
  animation: heroBgZoom 12s ease-in-out infinite alternate;
}
@keyframes heroBgZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

/* Hero particles (decorative) */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--gold);
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}
.hero-eyebrow-line {
  display: block;
  width: 40px; height: 1.5px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--gold-light); font-style: italic; }
.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--r-full);
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 4px; height: 7px;
  background: var(--gold);
  border-radius: var(--r-full);
  animation: scrollBounce 1.4s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* Trust bar */
.trust-bar {
  background: var(--off-white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 2rem;
  border-right: 1px solid var(--gray-200);
  flex: 1;
  min-width: 180px;
  justify-content: center;
}
.trust-item:last-child { border-right: none; }
.trust-item-ico {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-item-text {}
.trust-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.1rem;
}
.trust-item-sub { font-size: 0.75rem; color: var(--gray-500); }

/* Category Showcase */
.cat-showcase-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.cat-showcase-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 2 / 3;
  cursor: pointer;
  display: block;
  color: var(--white);
}
.cat-showcase-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-showcase-card:hover img { transform: scale(1.1); }
.cat-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  transition: background var(--t);
}
.cat-showcase-card:hover .cat-showcase-overlay {
  background: linear-gradient(to top, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.2) 50%, transparent 100%);
}
.cat-showcase-info {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
}
.cat-showcase-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.cat-showcase-count { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.cat-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--t);
}
.cat-showcase-card:hover .cat-explore-btn { opacity: 1; transform: translateY(0); }

/* Horizontal scroll products (New Arrivals) */
.products-scroll-wrap {
  position: relative;
}
.products-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
}
.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--t-fast);
  font-size: 1rem;
  color: var(--dark);
}
.scroll-arrow:hover { background: var(--gold); color: var(--black); border-color: var(--gold); box-shadow: var(--shadow-gold); }
.scroll-arrow.prev { left: -22px; }
.scroll-arrow.next { right: -22px; }

/* Product Grid (Best Sellers) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Testimonials */
.testimonials-section { background: var(--off-white); }
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: transform var(--t), box-shadow var(--t);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-stars {
  display: flex; gap: 3px;
  margin-bottom: 1rem;
}
.testimonial-stars i { color: var(--gold); font-size: 0.9rem; }
.testimonial-text {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testimonial-text::before { content: '"'; color: var(--gold); font-size: 2rem; line-height: 0; position: relative; top: 12px; margin-right: 4px; font-family: var(--font-heading); }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-pale);
}
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.author-meta { font-size: 0.76rem; color: var(--gray-500); }

/* Home Newsletter */
.home-newsletter {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
}
.home-newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(201,168,76,0.18), transparent 60%);
}
.home-newsletter-content { position: relative; z-index: 1; text-align: center; }
.home-newsletter h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.home-newsletter p { color: rgba(255,255,255,0.6); margin-bottom: 2.5rem; }
.home-newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: var(--r-full);
  overflow: hidden;
}
.home-newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none; outline: none;
  color: var(--white);
  font-size: 0.9rem;
  min-width: 0;
}
.home-newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.home-newsletter-form button {
  padding: 1rem 1.75rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border: none; color: var(--black);
  font-weight: 700; font-size: 0.83rem;
  letter-spacing: 0.06em; cursor: pointer;
  text-transform: uppercase;
  transition: all var(--t-fast);
}
.home-newsletter-form button:hover { background: linear-gradient(135deg, var(--gold-light), var(--gold)); }

/* Responsive */
@media (max-width: 1200px) {
  .cat-showcase-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cat-showcase-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
}
@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .trust-item { min-width: 160px; padding: 0.6rem 1rem; }
  .testimonials-slider { grid-template-columns: 1fr; }
  .cat-showcase-grid { grid-template-columns: repeat(2, 1fr); }
  .home-newsletter-form { flex-direction: column; border-radius: var(--r-lg); }
  .home-newsletter-form button { border-radius: 0 0 var(--r-lg) var(--r-lg); }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .scroll-arrow { display: none; }
}
