/* ============================================
   BURKHEWALA.COM — Homepage Styles
   Hero, Sections, Animations — UPGRADED
   ============================================ */

/* =============================================
   HERO BANNER SLIDER
   ============================================= */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 550px;
  max-height: 1000px;
  overflow: hidden;
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slide */
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.hero__slide.active {
  opacity: 1;
}

/* Ken Burns zoom on active slide */
.hero__slide.active .hero__slide-bg {
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Dark overlay gradient for text readability */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 10, 8, 0.88) 0%,
    rgba(15, 10, 8, 0.6) 40%,
    rgba(15, 10, 8, 0.25) 70%,
    rgba(15, 10, 8, 0.15) 100%
  );
  z-index: 1;
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
  padding-top: var(--navbar-height-mobile);
}

@media (min-width: 1024px) {
  .hero__content {
    padding-top: var(--navbar-height);
  }
}

.hero__content .overline {
  margin-bottom: var(--space-md);
  color: var(--clr-accent);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__content .display-heading {
  color: #FDF8F3;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero__subtitle {
  color: rgba(253, 248, 243, 0.75);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-xl);
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 0.9s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================================
   HERO ARROW NAVIGATION
   ============================================= */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  opacity: 0;
  pointer-events: none;
}

.hero:hover .hero__arrow {
  opacity: 1;
  pointer-events: auto;
}

.hero__arrow:hover {
  background: rgba(196, 163, 90, 0.35);
  border-color: var(--clr-accent);
  transform: translateY(-50%) scale(1.1);
}

.hero__arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.hero__arrow--prev { left: clamp(0.75rem, 2vw, 2rem); }
.hero__arrow--next { right: clamp(0.75rem, 2vw, 2rem); }

@media (max-width: 767px) {
  .hero__arrow {
    width: 36px;
    height: 36px;
    opacity: 0.75;
    pointer-events: auto;
  }
  .hero__arrow--prev { left: 0.5rem; }
  .hero__arrow--next { right: 0.5rem; }
}

/* =============================================
   HERO ANIMATED PILL DOTS
   ============================================= */
.hero__dots {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-xs);
  z-index: 3;
  align-items: center;
}

.hero__dot {
  height: 4px;
  width: 24px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(253, 248, 243, 0.3);
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.hero__dot.active {
  width: 48px;
  background: rgba(253, 248, 243, 0.25);
}

.hero__dot.active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-accent);
  border-radius: var(--radius-full);
  animation: dotFill 5s linear forwards;
}

@keyframes dotFill {
  from { width: 0%; }
  to   { width: 100%; }
}

.hero__dot:hover:not(.active) {
  background: rgba(253, 248, 243, 0.6);
  transform: scaleY(1.8);
}

/* Hero scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  z-index: 3;
  color: rgba(253, 248, 243, 0.5);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.5; }
}

@media (max-width: 767px) {
  .hero__scroll {
    display: none;
  }
}

/* =============================================
   PRODUCT SECTIONS (New Arrivals / Featured)
   ============================================= */

.products-section {
  background: var(--clr-bg);
  transition: background var(--transition-slow);
}

.products-section--alt {
  background: var(--clr-bg-alt);
}

[data-theme="dark"] .products-section--alt {
  background: var(--clr-bg-alt);
}

.products-section__footer {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* =============================================
   BRAND STORY SECTION
   ============================================= */

.brand-story {
  overflow: hidden;
  background: var(--clr-bg);
  transition: background var(--transition-slow);
}

.brand-story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 768px) {
  .brand-story__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

/* Image side */
.brand-story__image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  aspect-ratio: 4 / 5;
}

.brand-story__image-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}

.brand-story__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.brand-story__image-wrapper:hover .brand-story__image {
  transform: scale(1.04);
}

/* Decorative frame — elevated opacity + thicker */
.brand-story__image-inner::before {
  content: '';
  position: absolute;
  inset: var(--space-md);
  border: 2px solid rgba(196, 163, 90, 0.6);
  border-radius: var(--radius-lg);
  z-index: 1;
  pointer-events: none;
}

/* Floating "Est." badge */
.brand-story__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(196, 163, 90, 0.45);
  z-index: 2;
  border: 3px solid var(--clr-surface);
  text-align: center;
  line-height: 1.2;
  transition: transform var(--transition-base);
}

.brand-story__image-wrapper:hover .brand-story__badge {
  transform: rotate(10deg) scale(1.05);
}

.brand-story__badge-text {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--clr-primary-dark);
}

.brand-story__badge-year {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary-dark);
  line-height: 1;
}

@media (max-width: 767px) {
  .brand-story__badge {
    width: 64px;
    height: 64px;
    bottom: -0.75rem;
    right: -0.25rem;
  }
  .brand-story__badge-year { font-size: 0.85rem; }
}

/* Content side */
.brand-story__content {
  max-width: 480px;
}

.brand-story__content .overline {
  margin-bottom: var(--space-md);
}

.brand-story__content h2 {
  margin-bottom: var(--space-lg);
  line-height: var(--lh-snug);
}

.brand-story__text {
  color: var(--clr-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--space-lg);
}

.brand-story__signature {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--clr-accent);
  margin-bottom: var(--space-xl);
}

/* Stats row */
.brand-story__stats {
  display: flex;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--clr-border);
}

.brand-story__stat-number {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  line-height: 1;
  margin-bottom: var(--space-2xs);
  text-shadow: 0 0 28px rgba(196, 163, 90, 0.45);
}

.brand-story__stat-label {
  font-size: var(--fs-caption);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* =============================================
   CTA / SUPPORT SECTION — UPGRADED
   ============================================= */

.cta-section {
  background: var(--clr-bg-alt);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-slow);
}

[data-theme="dark"] .cta-section {
  background: var(--clr-bg-alt);
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

/* Subtle diagonal line pattern */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(196, 163, 90, 0.04) 40px,
    rgba(196, 163, 90, 0.04) 41px
  );
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(196, 163, 90, 0.07) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(196, 163, 90, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
  text-align: left;
  padding: 0;
}

@media (min-width: 768px) {
  .cta-section__inner {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }
}

.cta-section__text-block {
  padding-right: 0;
}

@media (min-width: 768px) {
  .cta-section__text-block {
    padding-right: 2rem;
  }
}

.cta-section__heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-primary);
  margin-bottom: 1rem;
  line-height: var(--lh-snug);
}

[data-theme="dark"] .cta-section__heading {
  color: var(--clr-text);
}

.cta-section__text {
  color: var(--clr-text-secondary);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}

/* Frosted glass contact form card */
.cta-section__form-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-section__form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
}

.cta-section__form-card .overline {
  color: var(--clr-text-muted);
  margin-bottom: var(--space-xs);
}

.cta-section__form-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .cta-section__form-card h3 {
  color: var(--clr-text);
}

.cta-section .btn {
  min-width: 200px;
}

/* =============================================
   RESPONSIVE HERO ADJUSTMENTS
   ============================================= */

@media (max-width: 767px) {
  .hero {
    min-height: 500px;
  }

  .hero__content .display-heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__subtitle {
    font-size: var(--fs-body);
  }

  .hero__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .hero__cta {
    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__content {
    max-width: 500px;
  }
}

/* =============================================
   STORY HIGHLIGHTS — UPGRADED
   ============================================= */
.story-highlights-wrapper {
  background: var(--clr-bg);
  border-bottom: 1px solid var(--clr-border-light);
  padding: 1rem 0;
  position: relative;
  overflow: hidden;
}

.story-highlights {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem var(--container-padding) 0.75rem;
  justify-content: safe center;
}

.story-highlights::-webkit-scrollbar {
  display: none;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  scroll-snap-align: start;
  outline: none;
  animation: storyBounceIn 0.55s var(--ease-spring) both;
}

.story-item:nth-child(1) { animation-delay: 0.05s; }
.story-item:nth-child(2) { animation-delay: 0.10s; }
.story-item:nth-child(3) { animation-delay: 0.15s; }
.story-item:nth-child(4) { animation-delay: 0.20s; }
.story-item:nth-child(5) { animation-delay: 0.25s; }
.story-item:nth-child(6) { animation-delay: 0.30s; }

@keyframes storyBounceIn {
  0%   { opacity: 0; transform: scale(0.7) translateY(12px); }
  70%  { transform: scale(1.06) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.story-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #DFBA73, #3C1518, #C4A35A, #DFBA73);
  background-size: 300% 300%;
  animation: storyRingGlow 4s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

/* Per-category distinct gradient rings */
.story-item:nth-child(1) .story-ring {
  background: linear-gradient(45deg, #DFBA73, #9E7D36, #C4A35A, #DFBA73);
  background-size: 300% 300%;
}
.story-item:nth-child(2) .story-ring {
  background: linear-gradient(45deg, #C4A35A, #3C1518, #DFBA73, #C4A35A);
  background-size: 300% 300%;
}
.story-item:nth-child(3) .story-ring {
  background: linear-gradient(45deg, #2D6A4F, #C4A35A, #52B788, #2D6A4F);
  background-size: 300% 300%;
}
.story-item:nth-child(4) .story-ring {
  background: linear-gradient(45deg, #457B9D, #C4A35A, #74B3CE, #457B9D);
  background-size: 300% 300%;
}
.story-item:nth-child(5) .story-ring {
  background: linear-gradient(45deg, #9B2226, #C4A35A, #C84B50, #9B2226);
  background-size: 300% 300%;
}
.story-item:nth-child(6) .story-ring {
  background: linear-gradient(45deg, #6D4C9B, #C4A35A, #9B6DD4, #6D4C9B);
  background-size: 300% 300%;
}

.story-item:hover .story-ring,
.story-item:active .story-ring {
  transform: scale(1.1);
}

@media (min-width: 768px) {
  .story-ring {
    width: 82px;
    height: 82px;
  }
}

@keyframes storyRingGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.story-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--clr-surface);
  border: 2.5px solid var(--clr-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-avatar svg {
  width: 28px;
  height: 28px;
  color: var(--clr-accent);
}

.story-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--clr-text);
  max-width: 84px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}

/* =============================================
   LUXURY TRUST MARQUEE
   ============================================= */
.trust-marquee {
  background: var(--grad-primary);
  color: var(--clr-text-inverse);
  padding: 0.85rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--clr-accent-dark);
  border-bottom: 1px solid var(--clr-accent-dark);
}

.trust-marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.trust-marquee__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FDF8F3;
  white-space: nowrap;
}

.trust-marquee__item svg {
  width: 18px;
  height: 18px;
  color: var(--clr-accent);
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   TESTIMONIALS SECTION
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

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

.testimonial-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-md);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.testimonial-stars {
  color: #FFB703;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.925rem;
  line-height: 1.6;
  color: var(--clr-text-secondary);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-author__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  border: 1px solid var(--clr-accent);
  color: var(--clr-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.testimonial-author__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--clr-text);
  margin: 0;
}

.testimonial-author__verified {
  font-size: 0.75rem;
  color: var(--clr-success);
  display: flex;
  align-items: center;
  gap: 3px;
}


