/*  */
/* ============================================================
   RASHFAN — Sections
   ============================================================ */

section { position: relative; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background);
}

.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.2), var(--background) 70%);
}

.hero__inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 1.5rem;
  will-change: transform, opacity;
}

.hero__logo { color: var(--primary); margin-bottom: 2rem; }
.hero__logo svg { width: 12rem; height: auto; }
@media (min-width: 768px) {
  .hero__logo svg { width: 16rem; }
}

.hero__title {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.75rem);
  line-height: 1.4;
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.hero__lead {
  color: var(--muted-foreground);
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 300;
  max-width: 36rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}
.hero__scroll-indicator span {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(var(--primary-rgb), 0.5), transparent);
}

/* ---------- Story ---------- */
.story {
  padding-block: 8rem;
}
@media (min-width: 768px) {
  .story { padding-block: 12rem; }
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

.story__text { order: 2; display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 1024px) {
  .story__text { order: 1; }
}

.story__heading { font-size: clamp(2.2rem, 1.8rem + 2vw, 3.75rem); line-height: 1.25; }

.story__body { color: var(--muted-foreground); font-size: 1.1rem; line-height: 1.9; display: flex; flex-direction: column; gap: 1.5rem; }

.story__media {
  order: 1;
  position: relative;
  width: 100%;
  min-height: 20rem;
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}
@media (min-width: 768px) {
  .story__media { min-height: 24rem; }
}
@media (min-width: 1024px) {
  .story__media {
    order: 2;
    min-height: 32rem;
    aspect-ratio: 4 / 5;
  }
}

.story__media-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  will-change: transform;
}
.story__media-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}
.story__media-fade {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: linear-gradient(to top, var(--background), transparent 40%);
  pointer-events: none;
}
@media (min-width: 1024px) {
  .story__media-fade { display: none; }
}

/* ---------- Categories ---------- */
.categories-section {
  padding-block: 6rem;
  background: linear-gradient(180deg, var(--background), rgba(var(--primary-rgb), 0.03));
}

.categories-section__head {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.categories-section__head h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.categories-section__head p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.8;
}

.categories-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .categories-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.category-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid rgba(var(--border-rgb), 0.6);
  border-radius: 1rem;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 16rem;
  background-image: linear-gradient(135deg, rgba(5, 4, 3, 0.9), rgba(5, 4, 3, 0.45)), var(--category-image, linear-gradient(135deg, rgba(120, 71, 24, 0.6), rgba(0, 0, 0, 0.2)));
  background-size: cover;
  background-position: center;
  color: #f8f1e8;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.category-card > * {
  position: relative;
  z-index: 1;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--primary-rgb), 0.55);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.category-card__icon {
  width: 3.6rem;
  height: 3.6rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(6px);
}

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

.category-card p {
  color: rgba(248, 241, 232, 0.9);
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

/* ---------- Products ---------- */
.products { padding-block: 6rem; background: var(--background); }

.products__head { text-align: center; margin-bottom: 6rem; }
.products__head h2 { font-size: clamp(2.2rem, 1.8rem + 2vw, 3rem); margin-bottom: 1rem; }
.products__head .rule { width: 6rem; height: 1px; background: var(--primary); margin-inline: auto; }

.products__list {
  padding-inline: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-card-wrap {
  padding-block: 2rem;
}

/* ---------- Brewing ---------- */
.brewing {
  padding-block: 8rem;
  background: var(--card);
  border-block: 1px solid rgba(var(--border-rgb), 0.5);
}

.brewing__head { text-align: center; max-width: 42rem; margin-inline: auto; margin-bottom: 5rem; }
.brewing__head h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 3rem); margin-bottom: 1.5rem; }
.brewing__head p { color: var(--muted-foreground); font-size: 1.1rem; }

.brewing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .brewing__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem 4rem; }
}

/* ---------- Testimonials ---------- */
.testimonials { padding-block: 8rem; background: var(--background); }

.testimonials__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6rem;
}
.testimonials__head svg { color: var(--primary); margin-bottom: 1rem; }
.testimonials__head h2 { font-size: clamp(1.9rem, 1.5rem + 1.6vw, 3rem); }

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 768px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Newsletter ---------- */
.newsletter {
  padding-block: 8rem;
  background: #050403;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.newsletter__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  transform: translate(-50%, -50%);
  background: rgba(var(--primary-rgb), 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.newsletter__inner h2 { font-size: clamp(2.2rem, 1.8rem + 2vw, 3rem); margin-bottom: 1.5rem; }
.newsletter__inner p { color: var(--muted-foreground); font-size: 1.1rem; margin-bottom: 3rem; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 6rem; padding-bottom: 3rem; background: var(--background); border-top: 1px solid var(--border); }

.hero{position:relative;overflow:hidden;}
.hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;filter:brightness(.45) saturate(.9);}
.hero__overlay{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(0,0,0,.15),rgba(0,0,0,.55));z-index:1;}
.hero__glow,.hero__inner,.hero__scroll-indicator{position:relative;z-index:2;}