/* ═══════════════════════════════════════════════════════════
   APV SHOP — Homepage Styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Hero Slider ──────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

.hero__slide.active {
  opacity: 1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--container-padding);
  z-index: 2;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-extrabold);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  line-height: 1.1;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.hero__search {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.hero__search input {
  width: 100%;
  padding: 16px 24px 16px 50px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  font-size: 1rem;
  outline: none;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero__search input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hero__search input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  stroke: rgba(255, 255, 255, 0.5);
  fill: none;
}

/* Hero navigation dots */
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero__dot.active {
  background: #FFFFFF;
  width: 32px;
}

/* Hero scroll arrow */
.hero__scroll {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: floatBounce 2s infinite;
  opacity: 0.6;
}

.hero__scroll svg {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  fill: none;
}

/* Hero arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: #FFFFFF;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.hero:hover .hero__arrow { opacity: 1; }
.hero__arrow:hover { background: rgba(255, 255, 255, 0.2); }
.hero__arrow--prev { left: 24px; }
.hero__arrow--next { right: 24px; }

.hero__arrow svg {
  width: 20px;
  height: 20px;
  stroke: #FFFFFF;
  fill: none;
}

/* ─── Trust Bar ────────────────────────────────────────── */
.trust-bar {
  padding: var(--space-3xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.trust-bar .grid-4 {
  gap: var(--space-xl);
}

/* ─── Categories Section ───────────────────────────────── */
.categories-grid {
  gap: var(--space-lg);
}

/* ─── Bestsellers / Products Grid ──────────────────────── */
.products-section .grid-4 {
  gap: var(--space-lg);
}

.products-section__more {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.products-section__more a {
  font-size: var(--fs-body);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-text);
  transition: all var(--duration-fast) var(--ease-smooth);
}

.products-section__more a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  gap: var(--space-md);
}

/* ─── Promo Banner (Parallax) ──────────────────────────── */
.promo-banner {
  position: relative;
  padding: var(--space-5xl) 0;
  overflow: hidden;
  text-align: center;
}

.promo-banner__bg {
  position: absolute;
  inset: -20%;
  width: 140%;
  height: 140%;
  object-fit: cover;
  will-change: transform;
}

.promo-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.promo-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.promo-banner__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  margin-bottom: var(--space-md);
}

.promo-banner__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-2xl);
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.countdown__block {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  min-width: 80px;
}

.countdown__number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  color: #FFFFFF;
  line-height: 1;
}

.countdown__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ─── Why APV Section ──────────────────────────────────── */
.why-apv .grid-4 {
  gap: var(--space-2xl);
}

.why-apv__item {
  text-align: center;
}

.why-apv__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.why-apv__item:hover .why-apv__icon {
  transform: rotate(5deg) scale(1.05);
}

.why-apv__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
}

.why-apv__title {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.why-apv__desc {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ─── Testimonials ─────────────────────────────────────── */
.testimonials__wrapper {
  overflow: hidden;
  position: relative;
}

.testimonials__track {
  display: flex;
  transition: transform 0.5s var(--ease-smooth);
}

.testimonial-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  flex: 0 0 calc(33.333% - 16px);
  margin-right: 24px;
}

.testimonial-card__stars {
  margin-bottom: var(--space-md);
}

.testimonial-card__text {
  font-size: 0.9375rem;
  font-style: italic;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.testimonial-card__divider {
  width: 40px;
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-md);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-bg-alt);
}

.testimonial-card__name {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
}

.testimonial-card__role {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ─── Packs ────────────────────────────────────────────── */
.packs-grid {
  gap: var(--space-lg);
}

.pack-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-smooth);
}

.pack-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pack-card__image {
  aspect-ratio: 16/9;
  background: var(--color-bg-product);
  overflow: hidden;
}

.pack-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pack-card__info {
  padding: var(--space-lg);
}

.pack-card__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-sm);
}

.pack-card__price {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.pack-card__save {
  display: inline-block;
  background: var(--color-success-bg);
  color: var(--color-success);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-md);
}

/* ─── Social Section ───────────────────────────────────── */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
}

.social-links a {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.social-links a:hover {
  transform: scale(1.15);
  border-color: transparent;
}

.social-links a.instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-links a.tiktok:hover { background: #000; }
.social-links a.facebook:hover { background: #1877F2; }
.social-links a.youtube:hover { background: #FF0000; }

.social-links a:hover svg { fill: #FFFFFF; }

.social-links svg {
  width: 22px;
  height: 22px;
  fill: var(--color-text-secondary);
  transition: fill var(--duration-fast) var(--ease-smooth);
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .hero {
    height: 80vh;
    min-height: 500px;
  }

  .hero__scroll { display: none; }
  .hero__arrow { display: none; }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .countdown { flex-wrap: wrap; }
  .countdown__block { min-width: 64px; padding: 12px 14px; }
  .countdown__number { font-size: 1.75rem; }

  .testimonial-card {
    flex: 0 0 calc(100% - 16px);
  }
}
