/* =====================================================================
   RAJGHARANA CENTRAL — HOMEPAGE STYLESHEET
   Luxury maroon, ivory/cream, and gold royal Indian aesthetic.
   ===================================================================== */

/* =====================================================================
   1. HERO CAROUSEL (5-SLIDE CAMPAIGN SLIDER)
   ===================================================================== */

.hero-carousel {
  position: relative;
  width: 100%;
  min-height: 520px;
  height: clamp(520px, 52vw, 680px);
  max-height: 720px;
  overflow: hidden;
  background-color: #26090F;
  color: #FAF7F0;
  user-select: none;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

/* Legibility scrim: rich deep maroon on left fading out to let the model shine on right */
.hero-slide__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(38, 9, 15, 0.95) 0%,
    rgba(38, 9, 15, 0.86) 32%,
    rgba(38, 9, 15, 0.52) 58%,
    rgba(38, 9, 15, 0.12) 80%,
    rgba(38, 9, 15, 0) 100%
  );
}

.hero-slide__container {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-inline: clamp(20px, 5vw, 64px);
}

.hero-slide__content {
  max-width: 580px;
  padding-block: var(--space-8);
}

/* Royal eyebrow with gold flourish dividers */
.hero-slide__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hero-slide__flourish {
  width: 32px;
  height: 1px;
}

.hero-slide__flourish--left {
  background: linear-gradient(90deg, transparent, #C5A869);
}

.hero-slide__flourish--right {
  background: linear-gradient(90deg, #C5A869, transparent);
}

.hero-slide__eyebrow {
  color: #C5A869;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-slide__title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-slide__title-line1 {
  display: block;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-slide__title-line2 {
  display: block;
}

.hero-slide__title-line2 em {
  font-style: italic;
  font-weight: 500;
  color: #EED7A1;
}

.hero-slide__subtitle {
  color: rgba(250, 247, 240, 0.9);
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 28px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Luxury Hero CTA button matching reference */
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 32px;
  background-color: #4A0E17;
  color: #FAF7F0;
  border: 1.5px solid #C5A869;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.btn-hero:hover,
.btn-hero:focus-visible {
  background-color: #C5A869;
  border-color: #C5A869;
  color: #26090F;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(197, 168, 105, 0.45);
}

.btn-hero__arrow {
  font-size: 1.15rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-hero:hover .btn-hero__arrow {
  transform: translateX(4px);
}

/* Slider navigation arrows */
.hero-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 10, 16, 0.85);
  border: 1.5px solid rgba(197, 168, 105, 0.65);
  color: #FAF7F0;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero-carousel__arrow svg {
  width: 20px;
  height: 20px;
}

.hero-carousel__arrow--prev {
  left: clamp(12px, 2.5vw, 28px);
}

.hero-carousel__arrow--next {
  right: clamp(12px, 2.5vw, 28px);
}

.hero-carousel__arrow:hover,
.hero-carousel__arrow:focus-visible {
  background: #4A0E17;
  border-color: #C5A869;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

/* Slider dots indicator */
.hero-carousel__dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-carousel__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.45);
  border: 1px solid rgba(197, 168, 105, 0.7);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-carousel__dot.is-active {
  width: 26px;
  border-radius: 5px;
  background: #C5A869;
  border-color: #FFFFFF;
  box-shadow: 0 0 10px rgba(197, 168, 105, 0.7);
}


/* =====================================================================
   1b. CONTINUOUS MOVING OFFER STRIP (Immediately below hero slider)
   ===================================================================== */
.moving-offer-strip {
  background: #4A0E17;
  border-top: 1px solid rgba(197, 168, 105, 0.35);
  border-bottom: 1px solid rgba(197, 168, 105, 0.35);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  z-index: 5;
}

.moving-offer-strip__track {
  display: flex;
  width: max-content;
  animation: movingOfferTicker 28s linear infinite;
  will-change: transform;
}

.moving-offer-strip:hover .moving-offer-strip__track {
  animation-play-state: paused;
}

.moving-offer-strip__sequence {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-right: 32px;
  flex-shrink: 0;
}

.moving-offer-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.moving-offer-strip__item svg {
  flex-shrink: 0;
  color: #C5A869;
}

.moving-offer-strip__sep {
  color: #C5A869;
  font-size: 11px;
  opacity: 0.8;
  user-select: none;
}

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

/* =====================================================================
   2. CIRCULAR SAREE CATEGORIES STRIP (Directly below hero)
   ===================================================================== */

.category-strip {
  background-color: #FBF8F2;
  border-bottom: 1px solid #ECE4D8;
  padding: 38px 0 46px;
  position: relative;
  overflow: hidden;
}

.category-strip__container {
  position: relative;
}

.category-strip__track {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 2.8vw, 36px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-strip__track::-webkit-scrollbar {
  display: none;
}

.category-strip__item {
  flex: 0 0 auto;
  scroll-snap-align: center;
  text-align: center;
}

.category-circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  width: clamp(118px, 11vw, 148px);
  transition: transform var(--transition-fast);
}

.category-circle-card__thumb {
  width: clamp(108px, 10vw, 134px);
  height: clamp(108px, 10vw, 134px);
  border-radius: 50%;
  border: 2.5px solid #C5A869;
  overflow: hidden;
  position: relative;
  background-color: #FAF7F0;
  box-shadow: 0 4px 16px rgba(74, 14, 23, 0.12);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.category-circle-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  transition: transform 0.45s ease;
}

.category-circle-card:hover .category-circle-card__thumb,
.category-circle-card:focus-visible .category-circle-card__thumb {
  transform: scale(1.06);
  border-color: #D4AF37;
  box-shadow: 0 8px 24px rgba(197, 168, 105, 0.42);
}

.category-circle-card:hover .category-circle-card__thumb img {
  transform: scale(1.08);
}

.category-circle-card__name {
  font-family: var(--font-heading);
  font-size: clamp(0.88rem, 1.05vw, 1.02rem);
  font-weight: 600;
  color: #4A1220;
  margin-top: 13px;
  margin-bottom: 3px;
  line-height: 1.25;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.category-circle-card:hover .category-circle-card__name {
  color: #7A233A;
}

/* Delicate gold ornament flourish below category name matching reference */
.category-circle-card__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #C5A869;
  opacity: 0.88;
  margin-top: 2px;
  pointer-events: none;
}

.category-circle-card__ornament-line {
  width: 16px;
  height: 1px;
}

.category-circle-card__ornament-line:first-child {
  background: linear-gradient(90deg, transparent, #C5A869);
}

.category-circle-card__ornament-line:last-child {
  background: linear-gradient(90deg, #C5A869, transparent);
}

.category-circle-card__ornament-glyph {
  font-size: 8px;
  line-height: 1;
  color: #C5A869;
}

/* Category Strip Desktop Nav Arrows */
.category-strip__nav {
  position: absolute;
  top: 60px;
  transform: translateY(-50%);
  z-index: 4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid #C5A869;
  color: #4A0E17;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 14, 23, 0.15);
  transition: all 0.2s ease;
  font-size: 22px;
  line-height: 1;
  padding: 0 0 3px 0;
}

.category-strip__nav svg {
  width: 16px;
  height: 16px;
}

.category-strip__nav--prev {
  left: -8px;
}

.category-strip__nav--next {
  right: -8px;
}

.category-strip__nav:hover,
.category-strip__nav:focus-visible {
  background: #4A0E17;
  color: #FAF7F0;
  border-color: #4A0E17;
  transform: translateY(-50%) scale(1.08);
}


/* =====================================================================
   3. SECTION HEADINGS & REFINEMENTS
   ===================================================================== */

.section-heading--center {
  text-align: center;
  margin-bottom: var(--space-7);
}

.section-heading__eyebrow {
  color: #C5A869;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-heading__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  color: #4A0E17;
  margin-bottom: 8px;
  font-weight: 600;
}

.section-heading__subtitle {
  color: var(--color-text-muted);
  font-size: var(--fs-base);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 12px;
}

.section-heading__rule {
  display: inline-block;
  width: 54px;
  height: 2px;
  background: #C5A869;
  border-radius: 1px;
}


/* =====================================================================
   4. PROMOTIONAL BANNERS (Royal Collection / Festive Collection)
   ===================================================================== */

.promo-banner {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.promo-banner--cover {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FAF7F0;
  padding: var(--space-8) var(--space-5);
}

.promo-banner--cover .promo-banner__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.promo-banner--cover .promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner--cover .promo-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(38, 9, 15, 0.65);
}

.promo-banner--cover .promo-banner__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.promo-banner__eyebrow {
  color: #C5A869;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.promo-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  color: #FFFFFF;
  margin-bottom: 14px;
}

.promo-banner__text {
  font-size: var(--fs-md);
  color: rgba(250, 247, 240, 0.92);
  line-height: 1.6;
  margin-bottom: 24px;
}

.promo-banner--split {
  display: grid;
  grid-template-columns: 1fr;
  background: #FAF7F0;
  border: 1px solid #ECE4D8;
}

.promo-banner--split .promo-banner__media {
  position: relative;
  min-height: 320px;
}

.promo-banner--split .promo-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-banner--split .promo-banner__content {
  padding: clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.promo-banner--split .promo-banner__title {
  color: #4A0E17;
}

.promo-banner--split .promo-banner__text {
  color: var(--color-text-muted);
}


/* =====================================================================
   5. SHOP BY CRAFT GRID
   ===================================================================== */

.craft-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.category-card--craft {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  border: 1px solid #ECE4D8;
}

.category-card__image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background-color: #FAF7F0;
}

.category-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-card:hover .category-card__image-wrap img {
  transform: scale(1.06);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(38, 9, 15, 0.85) 100%);
  transition: background 0.3s ease;
}

.category-card:hover .category-card__overlay {
  background: linear-gradient(180deg, transparent 30%, rgba(38, 9, 15, 0.92) 100%);
}

.category-card__label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  right: var(--space-4);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
}


/* =====================================================================
   6. TRUST & BRAND STORY FEATURES
   ===================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-4);
}

.feature-block {
  text-align: center;
  padding: var(--space-5) var(--space-4);
  background: #FFFFFF;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 14, 23, 0.08);
}

.feature-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FBF8F2;
  border: 1.5px solid #C5A869;
  color: #4A0E17;
  margin-bottom: var(--space-3);
}

.feature-block__icon svg {
  width: 24px;
  height: 24px;
}

.feature-block__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #4A0E17;
  margin-bottom: 6px;
}

.feature-block__text {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}


/* =====================================================================
   7. CUSTOMER REVIEWS
   ===================================================================== */

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.review-card {
  padding: var(--space-6);
  background: #FFFFFF;
  border: 1px solid #ECE4D8;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.review-card__rating {
  color: #C5A869;
  font-size: 1.1rem;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 12px;
}

.review-card__comment {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #332E2E;
  margin-bottom: 16px;
}

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

.review-card__author {
  font-weight: 600;
  color: #4A0E17;
}

.reviews-invite {
  text-align: center;
  padding: var(--space-7);
  background: #FFFFFF;
  border: 1px dashed #ECE4D8;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}


/* =====================================================================
   8. NEWSLETTER SUBSCRIPTION
   ===================================================================== */

.newsletter {
  background: #3B0A11;
  color: #FAF7F0;
  padding: var(--space-8) 0;
  border-top: 1px solid rgba(197, 168, 105, 0.3);
}

.newsletter__inner {
  text-align: center;
  max-width: 620px;
}

.newsletter__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  color: #FFFFFF;
  margin-bottom: 8px;
}

.newsletter__text {
  color: rgba(250, 247, 240, 0.88);
  font-size: var(--fs-base);
  margin-bottom: 24px;
}

.newsletter-form__row {
  display: flex;
  gap: var(--space-2);
  max-width: 460px;
  margin-inline: auto;
}

.newsletter-form__input {
  flex: 1;
  min-height: 48px;
  padding: var(--space-3) var(--space-4);
  background: #FAF7F0;
  color: #292525;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: #C5A869;
  box-shadow: 0 0 0 3px rgba(197, 168, 105, 0.3);
}

.btn-gold {
  background: #C5A869;
  color: #26090F;
  border: 1px solid #C5A869;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: #D4B678;
  border-color: #D4B678;
  color: #1F070C;
}

.newsletter-form__feedback {
  margin-top: 12px;
  font-size: var(--fs-sm);
}

.newsletter-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* =====================================================================
   9. EMPTY STATES
   ===================================================================== */

.section-empty {
  text-align: center;
  padding: var(--space-7) var(--space-4);
  color: var(--color-text-muted);
  border: 1px dashed var(--color-border-default);
  border-radius: var(--radius-md);
  background: #FFFFFF;
}


/* =====================================================================
   10. RESPONSIVE BREAKPOINTS
   ===================================================================== */

@media (min-width: 600px) {
  .craft-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .promo-banner--split {
    grid-template-columns: 1fr 1fr;
  }
  .promo-banner--split .promo-banner__media {
    min-height: 420px;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .craft-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .hero-carousel {
    min-height: 460px;
    height: 120vw;
  }

  .hero-slide__media img {
    object-position: center 20%;
  }

  /* Scrim on mobile: darker overlay so text is fully legible on top of vertical crop */
  .hero-slide__scrim {
    background: linear-gradient(
      180deg,
      rgba(38, 9, 15, 0.45) 0%,
      rgba(38, 9, 15, 0.8) 55%,
      rgba(38, 9, 15, 0.96) 100%
    );
  }

  .hero-slide__container {
    align-items: flex-end;
    padding-bottom: 50px;
  }

  .hero-slide__content {
    padding-block: var(--space-4);
    max-width: 100%;
  }

  .hero-slide__title {
    font-size: 1.85rem;
  }

  .hero-slide__subtitle {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-carousel__arrow {
    display: none; /* Mobile uses native touch swipe */
  }

  .category-strip {
    padding: 24px 0 32px;
  }

  .category-strip__nav {
    display: none; /* Mobile uses smooth touch scroll */
  }

  .category-circle-card__name {
    font-size: 0.82rem;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide__media img,
  .category-circle-card__thumb,
  .category-circle-card__thumb img,
  .btn-hero {
    transition: none !important;
  }
  .hero-slide {
    transform: none !important;
  }
}
