/* =============================================================
   DASTARKHAN DELIGHTS — Homepage Styles
   ============================================================= */

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/images/hero-main.png');
  background-size: cover;
  background-position: center top;
  will-change: transform;
  transform: translateZ(0);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(14, 33, 20, 0.88) 0%,
    rgba(14, 33, 20, 0.65) 45%,
    rgba(14, 33, 20, 0.1) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-top: var(--nav-height);
}

.hero__micro-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--saffron-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}
.hero__micro-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--saffron-light);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}
.hero__title em {
  font-style: italic;
  color: var(--saffron-light);
}

.hero__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
  margin-bottom: var(--space-xl);
  max-width: 50ch;
}

.hero__cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}
.hero__scroll-indicator svg {
  width: 20px;
  height: 20px;
}


/* ---- Eid Banner ---- */
.eid-banner {
  position: relative;
  background: var(--forest);
  overflow: hidden;
}
.eid-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../icons/texture-jali.svg');
  background-repeat: repeat;
  opacity: 0.06;
  pointer-events: none;
}

.eid-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 320px;
  position: relative;
  z-index: 1;
}

.eid-banner__content {
  padding: var(--space-3xl) 0;
}
.eid-banner__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--saffron-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.eid-banner__title {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  color: var(--saffron-light);
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.eid-banner__sub {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-base);
  max-width: 40ch;
  margin-bottom: var(--space-xl);
}

.eid-banner__image {
  height: 320px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-card) 0 0 var(--radius-card);
}

.eid-banner__dismiss {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 10;
}
.eid-banner__dismiss:hover {
  background: rgba(255,255,255,0.2);
  color: white;
}
.eid-banner--dismissed { display: none; }


/* ---- How It Works ---- */
.how-section {
  background: var(--saffron-pale);
  position: relative;
  overflow: hidden;
}
.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../icons/texture-jali.svg');
  background-repeat: repeat;
  opacity: 0.04;
  pointer-events: none;
}


/* ---- Bestsellers ---- */
.bestsellers-section {
  background: var(--cream);
}

.bestsellers-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}


/* ---- About Strip ---- */
.about-strip-section {
  background: var(--warm-white);
}
.about-strip__image {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
}
.about-strip__content { padding: var(--space-xl) 0; }
.about-strip__content p {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
  max-width: none;
}


/* ---- Testimonials ---- */
.testimonials-section {
  background: var(--saffron-pale);
}

/* ---- Instagram ---- */
.instagram-section {
  background: var(--cream);
}
.instagram-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-3xl);
}
.instagram-header svg {
  width: 28px;
  height: 28px;
  color: var(--saffron);
}


/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero__content { max-width: 100%; }
  .hero__title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .hero__cta-row { flex-direction: column; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }

  .eid-banner__inner { grid-template-columns: 1fr; }
  .eid-banner__image { display: none; }
  .eid-banner__content { padding: var(--space-2xl) 0; }

  .bestsellers-header { align-items: flex-start; }
  .about-strip__image { height: 320px; }
}
