/* ========================================
   Home Page Styles
   ======================================== */

/* ========== LET'S CREATE TOGETHER ========== */
.create-together-section {
  background: linear-gradient(135deg, #2D1155 0%, #3D1F6F 50%, #2D1155 100%);
  color: #F5ECD7;
  border-top: 3px solid rgba(197,165,90,0.4);
  border-bottom: 3px solid rgba(197,165,90,0.4);
}

.create-together-section .section__title {
  color: #F5ECD7;
}

.create-together-section .section__subtitle {
  color: rgba(245,236,215,0.75);
}

.create-together-section .btn--outline {
  color: #F5ECD7;
  border-color: rgba(245,236,215,0.5);
}

.create-together-section .btn--outline:hover {
  background: #F5ECD7;
  color: #2D1155;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height-mobile);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
}

.hero__gradient {
  width: 100%;
  height: 100%;
  background: url('/images/hero/Hero%20design.png') center center / cover no-repeat;
  background-color: #2D1155;
}

@media (max-width: 768px) {
  .hero__gradient {
    background-size: cover;
    background-position: center center;
  }
}

/* No extra overlays needed — the image has everything */
.hero__bg::after {
  display: none;
}

.hero__bg::before {
  display: none;
}

/* Hide flower decorations (doesn't match this aesthetic) */
.hero__decor {
  display: none;
}

.hero__decor--bl { display: none; }
.hero__decor--tr { display: none; }

/* Pearl images */
.hero__pearls {
  display: none;
}

.hero__pearls--left { display: none; }
.hero__pearls--right { display: none; }

@media (max-width: 768px) {
  .hero__decor--bl { display: none; }
  .hero__decor--tr { display: none; }
  .hero__pearls--left { display: none; }
  .hero__pearls--right { display: none; }
}

.hero__content {
  position: relative;
  z-index: var(--z-normal);
  text-align: center;
  color: #2D1155;
  padding: var(--sp-3xl) var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero__ornament {
  display: none;
}

.hero__ornament-line {
  display: none;
}

.hero__ornament-diamond {
  display: none;
}

.hero__label {
  font-family: var(--ff-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #2D1155;
  margin-bottom: var(--sp-xl);
}

.hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 8vw, 5.5rem);
  font-weight: 400;
  color: #2D1155;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--sp-lg);
  text-shadow: 1px 1px 0 rgba(245,236,215,0.6);
  line-height: 1.1;
  text-indent: 0;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  position: relative;
}

@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: 0.12em;
  }
  .hero__subtitle {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    white-space: nowrap;
  }
  .hero__label {
    font-size: 0.55rem;
    letter-spacing: 0.35em;
  }
  .hero__cta {
    font-size: 0.6rem;
    padding: 0.65rem 1.5rem;
    letter-spacing: 0.2em;
  }
}

.hero__title.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 184, 122, 0) 15%,
    rgba(212, 184, 122, 0.45) 50%,
    rgba(212, 184, 122, 0) 85%,
    transparent 100%
  );
  animation: shimmerSweep 1.6s ease-in-out forwards;
  pointer-events: none;
}

@keyframes shimmerSweep {
  0% { left: -60%; }
  100% { left: 200%; }
}

.hero__divider {
  width: 50px;
  height: 1px;
  background: rgba(197,165,90,0.5);
  margin-bottom: var(--sp-lg);
}

.hero__subtitle {
  font-family: 'Cormorant Garamond', var(--ff-heading);
  font-size: clamp(0.9rem, 2.2vw, 1.15rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.2em;
  margin-bottom: var(--sp-xl);
  opacity: 1;
  color: #2D1155;
  text-transform: uppercase;
}

.hero__tags {
  display: none;
}

.hero__tag-dot {
  display: none;
}

.hero__cta {
  background: #2D1155;
  color: #F5ECD7;
  font-family: var(--ff-body);
  font-weight: var(--fw-medium);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: 1px solid #2D1155;
  padding: 1.1rem 3rem;
}

.hero__cta:hover {
  background: transparent;
  color: #2D1155;
  border-color: #2D1155;
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  line-height: 0;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
}

/* ========== VIDEO SHOWCASE ========== */
.video-showcase {
  position: relative;
  min-height: 70vh;
  min-height: 70dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0D0A12;
}

.video-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.video-showcase__fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #0D0A12 0%, #1A1026 30%, #2A1B3D 60%, #1A1026 100%);
  z-index: 0;
}

.video-showcase__video + .video-showcase__fallback {
  z-index: -1;
}

.video-showcase__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.video-showcase__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: var(--sp-3xl) var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 750px;
}

.video-showcase__label {
  font-family: var(--ff-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-xl);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.video-showcase__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', var(--ff-heading);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  letter-spacing: 0.25em;
  text-indent: 0.25em;
  line-height: 1.15;
  margin-bottom: var(--sp-xl);
  color: var(--clr-gold);
  text-shadow: 0 2px 20px rgba(197,165,90,0.3), 0 4px 12px rgba(0,0,0,0.4);
}

.video-showcase__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  margin-bottom: var(--sp-xl);
}

.video-showcase__subtitle {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--sp-2xl);
  max-width: 580px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

.video-showcase__toggle {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 3;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  padding: 0;
}

.video-showcase__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.video-showcase__toggle svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .video-showcase {
    min-height: 50vh;
    min-height: 50dvh;
  }
  .video-showcase__content {
    padding: var(--sp-xl) var(--container-pad);
  }
  .video-showcase__title {
    font-size: clamp(1.8rem, 7vw, 3rem);
  }
}

/* ========== BRAND STATEMENT ========== */
.brand-statement {
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
}

.brand-statement__content {
  text-align: center;
}

.brand-statement__text {
  font-family: var(--ff-heading);
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  font-style: italic;
  line-height: var(--lh-relaxed);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: var(--sp-lg) auto;
}

/* ========== COLLECTIONS CAROUSEL ========== */
.collections__grid {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.collections__track {
  display: flex;
  gap: var(--sp-lg);
  animation: collectionsScroll 20s linear infinite;
  width: max-content;
}

@keyframes collectionsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  display: block;
  width: calc(50vw - var(--sp-lg) * 1.5);
  max-width: 260px;
  flex-shrink: 0;
}

.collection-card__image-wrap {
  width: 100%;
  height: 100%;
}

.collection-card__placeholder {
  width: 100%;
  height: 100%;
  transition: transform var(--duration-slow) var(--easing);
}

.collection-card:hover .collection-card__placeholder {
  transform: scale(1.08);
}

.collection-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: clamp(0.75rem, 3vw, 1.5rem);
  background: linear-gradient(180deg, transparent 40%, rgba(45,27,78,0.6) 100%);
  transition: background var(--duration-normal) var(--easing);
}

.collection-card:hover .collection-card__overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(45,27,78,0.7) 100%);
}

.collection-card__title {
  color: white;
  font-size: clamp(0.95rem, 3.5vw, 1.35rem);
  margin-bottom: var(--sp-xs);
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

.collection-card__cta {
  color: var(--clr-gold-light);
  font-size: clamp(0.55rem, 1.8vw, 0.8rem);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-normal) var(--easing);
}

.collection-card:hover .collection-card__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ABOUT PREVIEW ========== */
.about-preview__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.about-preview__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.about-preview__placeholder {
  width: 100%;
  height: 100%;
}

.about-preview__frame {
  position: absolute;
  inset: 12px;
  border: 1.5px solid var(--clr-gold);
  border-radius: var(--radius-md);
  pointer-events: none;
  opacity: 0.5;
}

.about-preview__content .section__label,
.about-preview__content .section__title {
  text-align: left;
}

.about-preview__text {
  color: var(--clr-text-muted);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-md);
}

.about-preview__content .btn {
  margin-top: var(--sp-md);
}

/* ========== PRODUCTS GRID ========== */
.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-md);
}

/* Product card rating stars (needed on home page) */
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.product-card__rating-stars {
  color: var(--clr-gold);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.product-card__rating-avg {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--clr-text);
}

.product-card__rating-count {
  color: var(--clr-text-muted);
  font-size: 0.75rem;
}

/* ========== BESTSELLERS AUTO-SCROLL CAROUSEL (>4 items) ========== */
.bestsellers--carousel {
  display: block;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.bestsellers__track {
  display: flex;
  gap: var(--sp-md);
  animation: bestsellersScroll 30s linear infinite;
  width: max-content;
}

.bestsellers__track .product-card {
  min-width: 200px;
  max-width: 240px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .bestsellers__track .product-card {
    min-width: 240px;
    max-width: 280px;
  }
}

@media (min-width: 1024px) {
  .bestsellers__track .product-card {
    min-width: 260px;
    max-width: 300px;
  }
}

@keyframes bestsellersScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Placeholder for product images */
.product-card__placeholder {
  width: 100%;
  height: 100%;
}

/* ========== SOCIAL BANNER ========== */
.social-section {
  padding-top: 0;
  padding-bottom: var(--sp-lg);
}

.social-banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-radius: 16px;
  padding: 40px;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.social-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.social-banner__header {
  position: relative;
  z-index: 1;
  margin-bottom: 32px;
}

.social-banner__title {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
  opacity: 1;
}

.social-banner__text {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
}

.social-banner__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.social-banner__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, background 0.2s;
  min-width: 100px;
}

.social-banner__link:hover {
  transform: translateY(-4px);
}

.social-banner__link--instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-banner__link--facebook {
  background: #1877f2;
}

.social-banner__link--whatsapp {
  background: #25d366;
}

.social-banner__link--youtube {
  background: #ff0000;
}

.social-banner__link svg {
  stroke: white;
}

.social-banner__link--youtube svg {
  fill: white;
  stroke: none;
}

@media (max-width: 768px) {
  .social-banner {
    padding: 28px 20px;
  }

  .social-banner__title {
    font-size: 1.3rem;
  }

  .social-banner__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .social-banner__link {
    min-width: 0;
    padding: 16px 12px;
  }
}

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

.products__cta {
  text-align: center;
  margin-top: var(--sp-2xl);
}

.section__empty-msg {
  text-align: center;
  color: var(--clr-text-muted);
  font-size: var(--fs-body);
  font-style: italic;
  padding: var(--sp-2xl) var(--sp-lg);
  grid-column: 1 / -1;
}

/* ========== TESTIMONIALS AUTO-SCROLL CAROUSEL ========== */
.testimonials__grid {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonials__track {
  display: flex;
  gap: var(--sp-lg);
  animation: testimonialScroll 30s linear infinite;
  width: max-content;
}

.testimonials__track .testimonial-card {
  min-width: 280px;
  max-width: 340px;
  flex-shrink: 0;
}

@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== BODY PADDING FOR BOTTOM NAV ========== */
body {
  padding-bottom: var(--bottom-nav-height);
}

/* ========================================
   RESPONSIVE — Tablet (768px+)
   ======================================== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .hero {
    padding-top: var(--nav-height);
  }

  .hero__wave svg {
    height: 120px;
  }

  .collections__grid {
    gap: var(--sp-xl);
  }

  .collections__track {
    gap: var(--sp-xl);
  }

  .collection-card {
    width: calc(25vw - var(--sp-xl) * 1.5);
    max-width: 300px;
  }

  .about-preview__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-3xl);
  }

  .about-preview__image-wrap {
    max-width: 340px;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-xl);
  }
}

/* ========================================
   RESPONSIVE — Desktop (1024px+)
   ======================================== */
@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-xl);
  }

  .brand-statement {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }
}
