/* ========== HERO ========== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Video background */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark overlay — lets video show through */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(46, 26, 24, 0.55);
}

/* Fallback gradient when no video */
.hero--no-video .hero__bg {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(193, 123, 74, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(107, 66, 38, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, #2E1A18 0%, #4A2C2A 35%, #6B4226 65%, #3D3835 100%);
}

/* Subtle grain over video */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: var(--space-32) 0 var(--space-20);
}

.hero__subtitle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent-light);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__subtitle::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--color-accent-light);
  border-radius: 1px;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: white;
  margin-bottom: var(--space-6);
  line-height: 1.05;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
  max-width: 32rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 0.8s 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}

/* ========== FEATURED PRODUCTS CAROUSEL ========== */

.featured-carousel {
  position: relative;
}

.featured-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.featured-carousel__nav {
  display: none;
}

/* Desktop: horizontal scroll carousel */
@media (min-width: 768px) {
  .featured-carousel__track {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-4);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .featured-carousel__track::-webkit-scrollbar {
    display: none;
  }

  .featured-carousel__track .card {
    flex: 0 0 calc((100% - var(--space-6) * 2) / 3);
    scroll-snap-align: start;
  }

  .featured-carousel__nav {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
  }

  .featured-carousel__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    color: var(--color-text-light);
  }

  .featured-carousel__btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: var(--shadow-md);
  }

  .featured-carousel__btn svg {
    width: 18px;
    height: 18px;
  }
}

/* ========== BRAND STORY TEASER ========== */

.story-teaser {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

.story-teaser__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-cream) 100%);
}

.story-teaser__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: inherit;
  pointer-events: none;
}

.story-teaser__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-teaser__image:hover img {
  transform: scale(1.04);
}

/* Decorative frame effect */
.story-teaser__image-frame {
  position: absolute;
  top: -12px;
  right: -12px;
  bottom: 12px;
  left: 12px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius-lg);
  opacity: 0.3;
  z-index: -1;
}

.story-teaser__content h2 {
  margin-bottom: var(--space-6);
}

.story-teaser__content p {
  margin-bottom: var(--space-5);
  font-size: var(--text-lg);
}

/* CTA BANNER styles moved to components.css (shared across pages) */
