/* =============================================
   AORI K-BEAUTY — HOMEPAGE STYLES
   ============================================= */

/* ===== HERO SLIDER ===== */
.hero {
  position: relative;
  height: 85vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

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

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  opacity: 0.85;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 8px 24px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  opacity: 0.95;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-btn {
  display: inline-block;
  padding: 16px 48px;
  background: white;
  color: var(--pink);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: var(--pink);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: white;
  transform: scale(1.3);
}

/* ===== HOME PRODUCTS GRID ===== */
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.home-products-grid .product-card {
  text-align: center;
  cursor: pointer;
  padding-bottom: 11px;
}

.home-products-grid .product-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--light-bg);
  text-decoration: none;
}

.home-products-grid .product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.home-products-grid .product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.home-products-grid .product-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  transition: transform 0.5s;
}

.home-products-grid .product-card:hover .product-img-placeholder {
  transform: scale(1.05);
}

.home-products-grid .product-add-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  background: var(--white);
  color: var(--pink);
  border: 2px solid var(--pink);
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: var(--font-body);
  text-decoration: none;
  display: inline-block;
}

.home-products-grid .product-card:hover .product-add-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.home-products-grid .product-add-btn:hover {
  background: var(--pink);
  color: white;
}

.home-products-grid .product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.home-products-grid .product-size {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}

.home-products-grid .product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--orange);
}

.home-products-grid .product-price .woocommerce-Price-amount {
  color: var(--orange);
}

.home-products-grid .product-price del {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 400;
  margin-right: 4px;
}

.home-products-grid .product-price ins {
  text-decoration: none;
}


/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 56px 40px;
  background: var(--light-bg);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.video-card {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 20px;
  overflow: hidden;
  display: block;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
}

/* Instagram Reel embed — scale + crop to show only the video frame */
.video-embed {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
}

.video-embed iframe {
  /* IG embed chrome adds ~110px of header + footer. We scale up the iframe
     and shift it so only the video area is visible inside the card. */
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170%;
  height: 170%;
  transform: translate(-50%, -50%);
  border: 0;
  background: #000;
  pointer-events: auto;
}

.video-ig-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px 16px 16px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

/* Mobile slider dots */
.video-slider-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
}

.video-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

.video-dot.is-active {
  background: var(--pink, #FE76A8);
  transform: scale(1.25);
}

/* ===== NEW ARRIVAL FEATURE ===== */
.new-arrival {
  padding: 56px 40px;
  position: relative;
  overflow: hidden;
}

.new-arrival-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.new-arrival-img {
  aspect-ratio: 3/4;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.new-arrival-img-bg {
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-arrival-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.new-arrival-img-text {
  font-family: var(--font-display);
  font-size: 64px;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.new-arrival-content {
  padding: 20px 0;
}

.new-arrival-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--yellow);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 20px;
}

.new-arrival-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--pink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.new-arrival-tagline {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.new-arrival-tags {
  color: var(--purple);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
  padding: 48px 40px;
  background: var(--white);
}

.trust-badges-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-badge {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--light-bg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.trust-badge-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.trust-badge-text span {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  padding: 56px 40px;
  background: var(--light-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.testimonial-stars {
  margin-bottom: 16px;
}

.testimonial-stars .star {
  color: #ddd;
  font-size: 18px;
}

.testimonial-stars .star.filled {
  color: var(--yellow);
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 14px;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== BRAND VALUES MARQUEE ===== */
.brand-marquee {
  padding: 24px 0;
  background: var(--light-bg);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 36px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.marquee-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.marquee-item:nth-child(6n+1) .dot { background: var(--pink); }
.marquee-item:nth-child(6n+2) .dot { background: var(--orange); }
.marquee-item:nth-child(6n+3) .dot { background: var(--purple); }
.marquee-item:nth-child(6n+4) .dot { background: var(--yellow); }
.marquee-item:nth-child(6n+5) .dot { background: var(--pink); }
.marquee-item:nth-child(6n+6) .dot { background: var(--orange); }

/* ===== VIBES / INSTAGRAM ===== */
.vibes-section {
  padding: 56px 40px;
}

.vibes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.vibes-card {
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  text-decoration: none;
  background: linear-gradient(135deg, #FE76A8, #BE7DF5);
}

.vibes-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.vibes-card:hover img {
  transform: scale(1.05);
}

.vibes-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.vibes-card:hover .vibes-overlay {
  opacity: 1;
}

.vibes-ig-icon {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

/* ===== COMMUNITY CTA (WhatsApp VIP) ===== */
.community-cta {
  padding: 56px 40px;
  background: linear-gradient(135deg, #56C8E8 0%, #3B82C4 100%);
  text-align: center;
  color: white;
}

.community-cta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.community-cta-icon {
  margin-bottom: 20px;
}

.community-cta-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
  color: white;
}

.community-cta-desc {
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 32px;
}

.community-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: white;
  color: #3B82C4;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.community-cta-btn svg {
  fill: #3B82C4;
}

.community-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  color: #2563A0;
}

/* ===== NEWSLETTER ===== */
.newsletter {
  padding: 56px 40px;
  background: var(--gradient-main);
  text-align: center;
  color: white;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}

.newsletter-desc {
  font-size: 15px;
  opacity: 0.9;
  max-width: 450px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid rgba(255,255,255,0.4);
  border-right: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 50px 0 0 50px;
  color: white;
  font-size: 14px;
  outline: none;
  font-family: var(--font-body);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.newsletter-input:focus {
  border-color: rgba(255,255,255,0.7);
}

.newsletter-btn {
  padding: 16px 32px;
  background: white;
  color: var(--pink);
  border: none;
  border-radius: 0 50px 50px 0;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-body);
}

.newsletter-btn:hover {
  background: var(--yellow);
  color: var(--orange);
}

.newsletter-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.newsletter-feedback {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  min-height: 20px;
}

.newsletter-feedback.success {
  color: #d4ffd4;
}

.newsletter-feedback.error {
  color: #ffdddd;
}

/* ===== AFFILIATE CTA ===== */
.affiliate {
  padding: 56px 40px;
  text-align: center;
  background: var(--light-bg);
}

.affiliate-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--purple);
  margin-bottom: 16px;
  line-height: 1.3;
}

.affiliate-desc {
  color: var(--text-light);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .video-grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 20px;
    padding: 4px 20px 8px;
    margin: 0 -20px;
    gap: 14px;
    scrollbar-width: none;
  }
  .video-grid::-webkit-scrollbar { display: none; }
  .video-grid .video-card {
    flex: 0 0 72%;
    max-width: 320px;
    scroll-snap-align: center;
    border-radius: 18px;
  }
  .video-slider-dots { display: flex; }

  .new-arrival-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vibes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-badges-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .trust-badges {
    padding: 40px 20px;
  }

  .testimonials-section {
    padding: 40px 20px;
  }

  .video-section {
    padding: 40px 20px;
  }

  .new-arrival {
    padding: 40px 20px;
  }

  .vibes-section {
    padding: 40px 20px;
  }

  .community-cta {
    padding: 40px 20px;
  }

  .newsletter {
    padding: 40px 20px;
  }

  .affiliate {
    padding: 40px 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 60px);
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-btn {
    padding: 14px 36px;
    font-size: 12px;
  }

  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .video-grid {
    gap: 12px;
  }
  .video-grid .video-card { flex-basis: 78%; }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-input {
    border-radius: 50px;
    border-right: 2px solid rgba(255,255,255,0.4);
  }

  .newsletter-btn {
    border-radius: 50px;
  }

  .vibes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .new-arrival-img-text {
    font-size: 42px;
  }

  .trust-badges-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-badge {
    padding: 16px;
  }
}
