/* ═══════════════════════════════════════════════════════════════════
   TastyKhana UAE Home Kitchens — WARM & HOMELY theme layer
   Loaded on top of each page's own CSS to shift the whole UAE experience
   toward an authentic, family, home-cooked feeling for the investor demo.
   Palette: warm cream backgrounds, terracotta + saffron accents, cocoa text.
   This overrides the shared :root tokens, so every element that already
   uses var(--x) instantly picks up the warmer look — no per-element edits.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Warm cream canvas instead of stark grey-white */
  --bg: #FBF6EE;
  --ink: #2A1E16;         /* cocoa, softer than near-black */
  --ink-2: #4A3A2E;
  --muted: #8A7A6C;       /* warm taupe */
  --soft: #F3EADD;
  --line: #EADDCB;        /* warm hairline */
  --card: #FFFDF9;        /* warm white cards */

  /* Terracotta + saffron accent family */
  --accent: #E8641C;      /* terracotta-orange */
  --accent-2: #C9500F;
  --accent-3: #F6C89A;
  --accent-soft: #FDEEDD;
  --gold: #E5A20B;        /* saffron/turmeric */

  --green: #3E7C4F;
  --green-soft: #E4F1E6;

  /* Softer, warmer shadows (brown-tinted, not grey) */
  --shadow-sm: 0 1px 3px rgba(90,54,20,.07);
  --shadow-md: 0 10px 30px rgba(90,54,20,.12);
  --shadow-lg: 0 24px 60px rgba(90,54,20,.20);

  /* Slightly rounder for a softer, homelier feel */
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 28px;
}

/* Warm page background with a very subtle kitchen-paper texture via gradient */
body {
  background:
    radial-gradient(1200px 400px at 100% -5%, rgba(232,100,28,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(229,162,11,.06), transparent 55%),
    var(--bg) !important;
}

/* ── HERO — richer, warmer, more editorial ────────────────────────── */
.hero {
  background:
    linear-gradient(115deg, #3A2114 0%, #5A2E12 45%, #B5501A 120%) !important;
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* warm glow bloom */
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255,180,90,.25), transparent 60%),
    radial-gradient(500px 320px at 90% 85%, rgba(229,162,11,.18), transparent 60%);
}
.hero-content { position: relative; z-index: 2; }
.hero-img { opacity: .82 !important; }
.hero-img::after {
  content: ''; position: absolute; inset: 0;
  box-shadow: inset 0 0 60px rgba(58,33,20,.5);
  border-radius: inherit;
}
.hero h1 { letter-spacing: -.02em; }
.hero h1 em {
  font-style: italic;
  color: #FFD79A;
  position: relative;
}
.hero-eyebrow {
  background: rgba(255,215,154,.16) !important;
  border: 1px solid rgba(255,215,154,.3);
  color: #FFE9CC !important;
}

/* Warm, tactile primary button */
.btn-primary {
  background: linear-gradient(135deg, #F0742A, #E8641C) !important;
  box-shadow: 0 8px 22px rgba(232,100,28,.36) !important;
  border: 0 !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(232,100,28,.44) !important;
}

/* ── CHEF CARDS — warmer, homelier, more premium ──────────────────── */
.chef-card {
  border: 1px solid var(--line) !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}
.chef-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: var(--accent-3) !important;
}
.chef-card-img::after {
  /* gentle warm gradient at the base of each photo for text legibility + warmth */
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42,30,22,.28));
  pointer-events: none;
}
.chef-card-badge {
  background: rgba(42,30,22,.82) !important;
  backdrop-filter: blur(6px);
}
.chef-card-name { letter-spacing: -.01em; }
.chef-card-price { color: var(--accent) !important; }

/* “Home kitchen” trust flourish — a warm top hairline accent on cards */
.chef-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0; transition: opacity .22s ease; z-index: 3;
  border-radius: var(--r-md) var(--r-md) 0 0;
}
.chef-card:hover::before { opacity: 1; }

/* ── Cuisine chips — pill, warm, tactile ──────────────────────────── */
.c-chip {
  border: 1.5px solid var(--line) !important;
  border-radius: 999px !important;
  transition: all .16s ease !important;
}
.c-chip.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(232,100,28,.3);
}

/* Section titles get a small warm underline flourish */
.section-title, .sec-title, h2.section {
  position: relative;
}

/* Search bar — warmer focus */
#search:focus, input:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-soft) !important;
}

/* Rating stars / gold accents pick up saffron */
.chef-card-rating { color: var(--ink) !important; }
.chef-card-rating svg, .star { color: var(--gold) !important; fill: var(--gold) !important; }
