/* ==========================================================================
   Why South Asian - Page Template Styles
   Scoped under .why-lin-jirsa to match shared design system
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
  --wlj-cream: #f9f6f1;
  --wlj-warm-white: #fdfbf8;
  --wlj-charcoal: #1c1c1c;
  --wlj-warm-gray: #7a7268;
  --wlj-gold: #b8976a;
  --wlj-light-gold: #e8ddd0;
  --wlj-border: #e0d8ce;
}

/* ---------- Base wrapper ---------- */
.why-lin-jirsa {
  font-family: 'Jost', sans-serif;
  color: var(--wlj-charcoal);
  font-weight: 300;
  line-height: 1.7;
  background: var(--wlj-warm-white);
}

/* ---------- Hero ---------- */
.wlj-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 420px;
}

.wlj-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2a1f18 0%, #1a1410 40%, #0d0a08 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* When a featured image is set */
.wlj-hero--has-image .wlj-hero-bg {
  background-color: #0d0a08;
}

.wlj-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.wlj-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,8,6,0.85) 0%, rgba(10,8,6,0.3) 50%, transparent 100%);
}

.wlj-hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 60px 60px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.wlj-hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--wlj-gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: wljFadeUp 0.8s ease 0.2s forwards;
}

.wlj-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
  opacity: 0;
  animation: wljFadeUp 0.8s ease 0.4s forwards;
}

.wlj-hero h1 em {
  font-style: italic;
}

.wlj-hero-sub {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  line-height: 1.9;
  opacity: 0;
  animation: wljFadeUp 0.8s ease 0.6s forwards;
}

@keyframes wljFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Stats Bar ---------- */
.wlj-stats-bar {
  background: var(--wlj-charcoal);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.wlj-stat {
  padding: 44px 30px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.wlj-stat:last-child {
  border-right: none;
}

.wlj-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--wlj-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.wlj-stat-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ---------- Intro ---------- */
.wlj-intro {
  padding: 120px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.wlj-intro-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--wlj-charcoal);
}

.wlj-intro-heading em {
  font-style: italic;
  color: var(--wlj-gold);
}

.wlj-intro-body p {
  color: var(--wlj-warm-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.wlj-divider {
  width: 60px;
  height: 1px;
  background: var(--wlj-gold);
  margin: 0 auto 80px;
}

/* ---------- Content Sections ---------- */
.wlj-section-wrap {
  padding: 0 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.wlj-section-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 80px 0;
  border-top: 1px solid var(--wlj-border);
}

.wlj-section-text {
  padding-right: 20px;
}

.wlj-section-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wlj-gold);
  margin-bottom: 14px;
}

.wlj-section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--wlj-charcoal);
  margin-bottom: 28px;
}

.wlj-section-heading em {
  font-style: italic;
}

.wlj-section-body {
  color: var(--wlj-warm-gray);
  font-size: 0.93rem;
  line-height: 1.85;
}

.wlj-section-body p {
  margin-bottom: 16px;
}

/* Alternating (reversed) layout */
.wlj-section-block.wlj-reverse {
  direction: rtl;
}

.wlj-section-block.wlj-reverse > * {
  direction: ltr;
}

/* ---------- Photo Collage Placeholders ---------- */
.wlj-photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}

.wlj-photo-collage .wlj-photo-main {
  grid-column: 1;
  grid-row: 1 / 3;
}

.wlj-photo-placeholder {
  background: var(--wlj-light-gold);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.wlj-photo-placeholder.wlj-wide {
  aspect-ratio: 4/3;
}

.wlj-photo-placeholder.wlj-square {
  aspect-ratio: 1/1;
}

.wlj-photo-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
  color: var(--wlj-warm-gray);
}

/* When real images are added */
.wlj-photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Testimonials ---------- */
.wlj-testimonials {
  background: var(--wlj-cream);
  padding: 100px 60px;
}

.wlj-testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.wlj-testimonials-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  text-align: center;
  margin-bottom: 16px;
}

.wlj-testimonials-sub {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wlj-gold);
  margin-bottom: 70px;
}

.wlj-testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.wlj-testimonial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--wlj-border);
}

.wlj-testimonial-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wlj-testimonial-pull {
  padding-right: 20px;
}

.wlj-testimonial-pull blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--wlj-charcoal);
  margin-bottom: 20px;
  padding: 0;
  border: none;
  background: none;
}

.wlj-testimonial-pull cite {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--wlj-gold);
}

/* Yelp-style review cards */
.wlj-yelp-screenshot {
  background: #fff;
  border: 1px solid #e0ddd8;
  border-radius: 4px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.wlj-yelp-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.wlj-yelp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--wlj-light-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--wlj-warm-gray);
  flex-shrink: 0;
}

.wlj-yelp-reviewer-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 2px;
}

.wlj-yelp-reviewer-meta {
  font-size: 0.72rem;
  color: #999;
}

.wlj-yelp-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.wlj-yelp-stars-img {
  display: flex;
  gap: 2px;
}

.wlj-yelp-stars-img span {
  color: #ff1a1a;
  font-size: 0.85rem;
}

.wlj-yelp-date {
  font-size: 0.7rem;
  color: #999;
}

.wlj-yelp-body {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
}

.wlj-yelp-logo {
  margin-top: 14px;
  font-size: 0.65rem;
  color: #ccc;
  letter-spacing: 0.05em;
}

.wlj-yelp-logo span {
  color: #ff1a1a;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  .wlj-hero-content {
    padding: 48px 24px 40px;
  }

  .wlj-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .wlj-stat {
    padding: 28px 16px;
  }

  .wlj-stat:nth-child(2) {
    border-right: none;
  }

  .wlj-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 24px;
  }

  .wlj-section-wrap {
    padding: 0 24px 60px;
  }

  .wlj-section-block,
  .wlj-section-block.wlj-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
    padding: 50px 0;
  }

  .wlj-section-text {
    padding-right: 0;
  }

  .wlj-photo-collage {
    grid-template-columns: 1fr 1fr;
  }

  .wlj-photo-collage .wlj-photo-main {
    grid-column: 1;
    grid-row: 1;
  }

  .wlj-testimonials {
    padding: 60px 24px;
  }

  .wlj-testimonial-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wlj-testimonial-pull {
    padding-right: 0;
  }
}
