/* ===========================
   Deghchi — Shared Stylesheet
   Light theme: ivory / terracotta / gold / charcoal
=========================== */

:root {
  --color-bg: #FFF8F0;
  --color-bg-alt: #FBEFD9;
  --color-primary: #A8551F;      /* terracotta, darkened for WCAG AA contrast on cream */
  --color-secondary: #E3A857;    /* mustard gold */
  --color-text: #3E2E25;         /* warm charcoal */
  --color-text-muted: #6E5F52;   /* warm taupe, darkened for WCAG AA contrast on cream */
  --color-header-tint: #F6D9A0;  /* light gold tint */
  --color-white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', 'Open Sans', sans-serif;

  --radius: 8px;
  --shadow-soft: 0 6px 24px rgba(62, 46, 37, 0.08);
  --shadow-hover: 0 12px 32px rgba(217, 119, 63, 0.18);
  --transition: all 0.35s ease;
}

* { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  color: var(--color-text);
}

a { text-decoration: none; color: inherit; }

.text-primary-accent { color: var(--color-primary) !important; }
.text-muted-warm { color: var(--color-text-muted) !important; }
.bg-cream { background: var(--color-bg); }
.bg-cream-alt { background: var(--color-bg-alt); }

/* ---------- Buttons ---------- */
.btn-deghchi-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: var(--radius);
  padding: 0.85rem 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  display: inline-block;
}
.btn-deghchi-primary:hover {
  background: #8a4118;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-deghchi-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
}
.btn-deghchi-outline:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* ---------- Navbar ---------- */
.navbar-deghchi {
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(8px);
  padding: 1.4rem 0;
  transition: var(--transition);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
}
.navbar-deghchi.scrolled {
  background: rgba(255, 248, 240, 0.98);
  padding: 0.7rem 0;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid var(--color-header-tint);
}
.navbar-brand-deghchi {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.navbar-brand-deghchi .pot-icon {
  width: 34px; height: 34px;
}
.nav-link-deghchi {
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0.9rem;
  position: relative;
  padding-bottom: 4px;
}
.nav-link-deghchi::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}
.nav-link-deghchi:hover::after,
.nav-link-deghchi.active::after {
  width: 100%;
}
.nav-link-deghchi.active { color: var(--color-primary); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    linear-gradient(rgba(30,20,15,0.62), rgba(30,20,15,0.55)),
    url('../images/hero-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.5;
}
.hero-content { position: relative; z-index: 2; padding: 0 1rem; }
.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--color-header-tint);
  margin-bottom: 0.5rem;
}
.urdu-text {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  display: block;
  font-style: normal;
  line-height: 1.9;
}
.hero-title-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: var(--color-header-tint);
  margin: 0.2rem 0 1.5rem;
  line-height: 1.6;
}
.footer-tagline-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  color: var(--color-secondary);
  font-size: 1rem;
  margin: 0.2rem 0 0.4rem;
}
.hero-title {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
  color: var(--color-white);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-sub {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2.2rem;
  color: #f4e6d8;
}
.steam {
  position: absolute;
  bottom: -40px;
  width: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
  filter: blur(1px);
  animation: rise 6s infinite ease-in-out;
}
@keyframes rise {
  0% { transform: translateY(0) scaleX(1); opacity: 0; height: 0; }
  20% { opacity: 0.6; }
  100% { transform: translateY(-300px) scaleX(1.6); opacity: 0; height: 220px; }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1rem;
}

/* Placeholder image blocks (swap with real photography later) */
.img-placeholder {
  background: repeating-linear-gradient(135deg, #f0e0c4, #f0e0c4 12px, #ecd8b4 12px, #ecd8b4 24px);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border: 1px solid rgba(62,46,37,0.08);
}

/* Real photography */
.dish-photo {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ---------- Dish Cards ---------- */
.dish-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
}
.dish-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.dish-card .img-placeholder {
  height: 200px;
  border-radius: 0;
  transition: var(--transition);
}
.dish-card:hover .img-placeholder { transform: scale(1.04); }
.dish-card-body { padding: 1.4rem; }
.dish-price {
  color: var(--color-primary);
  font-weight: 700;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-secondary), var(--color-primary));
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--color-white);
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner .btn-deghchi-primary {
  background: var(--color-white);
  color: var(--color-primary);
}
.cta-banner .btn-deghchi-primary:hover {
  background: var(--color-bg);
}

/* ---------- Footer ---------- */
.footer-deghchi {
  background: #2e211a;
  color: #e8d9c8;
  padding: 4rem 0 1.5rem;
}
.footer-deghchi h3 {
  color: var(--color-secondary);
  font-family: var(--font-display);
}
.footer-deghchi a { color: #e8d9c8; transition: var(--transition); }
.footer-deghchi a:hover { color: var(--color-secondary); }
.footer-tagline { font-family: var(--font-display); font-style: italic; color: var(--color-secondary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #a8998a;
}
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.5rem;
  color: #e8d9c8;
  transition: var(--transition);
}
.social-icon:hover { background: var(--color-secondary); color: var(--color-white); }

/* ---------- Utility ---------- */
.divider-accent {
  width: 70px; height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin: 0 auto 1.5rem;
}
.divider-accent.left { margin: 0 0 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 767px) {
  .section { padding: 3.5rem 0; }
  .hero { background-attachment: scroll; }
}
