/* ============================================================
   AWANE — Home Page
   ============================================================ */

/* ── Section header row ─────────────────────────────────────── */
.aw-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.aw-section-header .aw-section-title  { margin-bottom: 0.2rem; }
.aw-section-header .aw-section-subtitle { margin-bottom: 0; }

/* ── Hero Slider ─────────────────────────────────────────────── */
.aw-hero-slider {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  max-height: 860px;
  overflow: hidden;
  background: #1C1A17;
}

/* Each slide — stacked, full-bleed bg */
.aw-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  will-change: opacity;
}
.aw-hero-slide.active { opacity: 1; }

/* Gradient overlay per slide */
.aw-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,7,6,.78) 0%,
    rgba(8,7,6,.42) 52%,
    rgba(8,7,6,.12) 100%
  );
  pointer-events: none;
}

/* Hero body — content layer above all slides */
.aw-hero-body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.aw-hero-content {
  max-width: 580px;
  padding: 2rem 0;
}

.aw-hero-eyebrow {
  font-family: var(--aw-font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aw-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.aw-hero-title {
  font-family: var(--aw-font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.08;
  color: #FFFFFF;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.aw-hero-title em {
  font-style: italic;
  color: var(--aw-gold-light);
}

.aw-hero-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin-bottom: 2.75rem;
  max-width: 420px;
  font-weight: 300;
}

.aw-hero-actions { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ── Arrows ──────────────────────────────────────────────────────────── */
.aw-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(60,62,64,.28);
  color: rgba(255,255,255,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--aw-transition), border-color var(--aw-transition), color var(--aw-transition), opacity var(--aw-transition);
  opacity: 0;
  backdrop-filter: blur(4px);
}
.aw-hero-slider:hover .aw-hero-arrow { opacity: 1; }
.aw-hero-arrow:hover {
  background: rgba(184,155,94,.75);
  border-color: var(--aw-gold);
  color: #fff;
}
.aw-hero-arrow--prev { left: 1.5rem; }
.aw-hero-arrow--next { right: 1.5rem; }

/* Hide arrows when only one slide */
.aw-hero-slider[data-single] .aw-hero-arrow { display: none; }

/* ── Dots ────────────────────────────────────────────────────────────── */
.aw-hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.aw-hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--aw-transition), transform var(--aw-transition), width var(--aw-transition);
}
.aw-hero-dot.active {
  background: var(--aw-gold);
  width: 22px;
  border-radius: 3px;
}
.aw-hero-dot:hover { background: rgba(255,255,255,.65); }

/* Hide dots when only one slide */
.aw-hero-slider[data-single] .aw-hero-dots { display: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .aw-hero-slider { height: 72vh; min-height: 480px; }
  .aw-hero-content { max-width: 100%; }
  .aw-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(8,7,6,.68) 0%,
      rgba(8,7,6,.48) 100%
    );
  }
  .aw-hero-arrow { opacity: 1; width: 2.25rem; height: 2.25rem; }
  .aw-hero-arrow--prev { left: 0.75rem; }
  .aw-hero-arrow--next { right: 0.75rem; }
}
@media (max-width: 575px) {
  .aw-hero-slider { height: 80vh; min-height: 420px; }
  .aw-hero-title { font-size: clamp(2.25rem, 8vw, 3rem); }
  .aw-hero-desc { display: none; }
  .aw-hero-dots { bottom: 1.25rem; }
}

/* ── Featured products — WHITE ──────────────────────────────── */
.aw-section-featured { background: #FFFFFF; }

/* ── Products grid — defined in products.css, no override here ── */

/* ── Brand story — LIGHT (ivory) ────────────────────────────── */
.aw-brand-story {
  background: var(--aw-ivory);
  color: var(--aw-text-dark);
}
.aw-brand-story .aw-section-title { color: var(--aw-text-dark); }

.aw-brand-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: center;
}

.aw-brand-story-text .aw-eyebrow { color: var(--aw-gold); }

.aw-brand-story-text h2 {
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--aw-text-dark);
}
.aw-brand-story-text p {
  color: var(--aw-gray-mid);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}
.aw-brand-story-text .aw-divider { background: var(--aw-gold); opacity: 0.6; }

.aw-brand-story-visual img {
  width: 100%;
  aspect-ratio: 7/8;
  object-fit: cover;
  border-radius: var(--aw-radius-lg);
}
.aw-brand-story-placeholder {
  width: 100%;
  aspect-ratio: 7/8;
  background: var(--aw-off-white);
  border: 1px solid var(--aw-border);
  border-radius: var(--aw-radius-lg);
  display: grid;
  place-items: center;
  font-family: var(--aw-font-serif);
  font-size: 2.5rem;
  letter-spacing: 0.3em;
  color: var(--aw-gold);
}

/* ── Category grid — image-focused, name overlaid inside image ─ */
.aw-section-categories { background: var(--aw-ivory); }

.aw-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* The card IS the image — no text box below */
.aw-category-card {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: var(--aw-radius-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--aw-charcoal);
}

/* Image fills the entire card */
.aw-category-img-wrap {
  position: absolute;
  inset: 0;
}
.aw-category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.aw-category-card:hover .aw-category-img-wrap img {
  transform: scale(1.05);
}

/* Placeholder when no image */
.aw-category-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--aw-font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--aw-gold);
  background: var(--aw-charcoal);
}

/* Bottom gradient — only enough to make text readable */
.aw-category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(60,62,64,.62) 0%,
    rgba(60,62,64,.18) 40%,
    rgba(60,62,64,0)   70%
  );
  pointer-events: none;
  transition: opacity var(--aw-transition);
}
.aw-category-card:hover::after {
  opacity: 0.85;
}

/* Category name — overlaid at the bottom of the image */
.aw-category-label {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  font-family: var(--aw-font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  pointer-events: none;
  transition: letter-spacing var(--aw-transition);
}
.aw-category-card:hover .aw-category-label {
  letter-spacing: 0.24em;
}

/* ── Features strip — LIGHT ─────────────────────────────────── */
.aw-features {
  background: #FFFFFF;
  color: var(--aw-text-dark);
  padding: 4.5rem 0;
  border-top: 1px solid var(--aw-border-light);
  border-bottom: 1px solid var(--aw-border-light);
}
.aw-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.aw-feature-item {
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--aw-border-light);
  text-align: left;
}
.aw-feature-item:last-child { border-right: none; }
.aw-feature-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1.25rem;
  color: var(--aw-gold);
}
.aw-feature-icon svg { width: 100%; height: 100%; }
.aw-feature-item h4 {
  font-family: var(--aw-font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aw-text-dark);
  margin-bottom: 0.5rem;
}
.aw-feature-item p {
  font-size: 0.8rem;
  color: var(--aw-gray);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .aw-features-grid { grid-template-columns: repeat(3, 1fr); }
  .aw-feature-item:nth-child(2) { border-right: 1px solid var(--aw-border-light); }
  .aw-feature-item:nth-child(3),
  .aw-feature-item:nth-child(4) { border-top: 1px solid var(--aw-border-light); }
}
@media (max-width: 991px) {
  .aw-brand-story-inner { grid-template-columns: 1fr; gap: 3rem; }
  .aw-brand-story-visual { display: none; }
  .aw-section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .aw-category-grid { grid-template-columns: repeat(3, 1fr); gap: 0.85rem; }
}
@media (max-width: 575px) {
  .aw-features-grid { grid-template-columns: 1fr 1fr; }
  .aw-feature-item { padding: 1.5rem; border-right: none; border-bottom: 1px solid var(--aw-border-light); }
  .aw-feature-item:last-child { border-bottom: none; }
  .aw-category-grid { grid-template-columns: 1fr; gap: 0.85rem; }
  .aw-category-card { aspect-ratio: 4 / 3; }
}
