/* =========================================================================
   Mughlai Ballimaran Nahari - Royal Emerald & Ivory Theme Stylesheet
   Adhering directly to client proposal image (/home/asad/Downloads/Mughlai Ballimaran Nahari Homepage.png)
   and brand logo palette (/home/asad/Downloads/logo.jpg)
   Colors: Royal Emerald (#01542c, #009418), Warm Ivory (#fcf9f2), Crisp White (#ffffff), Rich Mint (#4ade80)
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Nastaliq+Urdu:wght@500;700&display=swap');

:root {
  /* Surface & Background Canvas */
  --bg-deep: #fcf9f2;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #faf6ee;
  --bg-surface-card: #ffffff;
  --bg-dark-accent: #061e11;

  /* Client Logo Emerald Palette */
  --emerald-primary: #01542c;
  --emerald-vibrant: #009418;
  --emerald-light: #22c55e;
  --emerald-mint: #4ade80;
  --emerald-soft: #dcfce7;
  --emerald-dark: #01381e;
  --emerald-deepest: #061e11;

  /* Aliased Gold/Amber for backward compatibility */
  --gold-primary: #01542c;
  --gold-light: #22c55e;
  --gold-dark: #01381e;
  --amber-warm: #009418;
  --crimson-tandoor: #b91c1c;

  /* High-Contrast Typography (WCAG AAA Compliant on Ivory) */
  --text-primary: #14241b;
  --text-heading: #062e1e;
  --text-muted: #4b5563;
  --text-light: #6b7280;
  --text-on-dark: #fcfdfc;

  /* Borders & Shadows */
  --border-subtle: rgba(1, 84, 44, 0.12);
  --border-medium: rgba(1, 84, 44, 0.25);
  --border-glow: rgba(0, 148, 24, 0.40);
  --shadow-card: 0 4px 20px -2px rgba(1, 84, 44, 0.08);
  --shadow-elevated: 0 16px 36px -8px rgba(1, 84, 44, 0.16);
}

html {
  overflow-x: hidden;
  max-width: 100vw;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-deep) !important;
  color: var(--text-primary) !important;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
}

img, svg {
  max-width: 100%;
}

.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}

.font-heading {
  font-family: 'Playfair Display', serif;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
}

/* Emerald & Gold Gradient Effects */
.text-gold-gradient, .text-emerald-gradient {
  background: linear-gradient(135deg, #016b38 0%, #009418 50%, #01381e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold-bright, .text-emerald-bright {
  background: linear-gradient(135deg, #009418 0%, #22c55e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-gold-gradient, .bg-emerald-gradient {
  background: linear-gradient(135deg, #016b38 0%, #009418 100%);
}

.border-gold-subtle, .border-emerald-subtle {
  border-color: rgba(1, 84, 44, 0.15) !important;
}

.border-gold-glow, .border-emerald-glow {
  border-color: rgba(0, 148, 24, 0.45) !important;
  box-shadow: 0 0 15px rgba(0, 148, 24, 0.18);
}

/* Islamic Arabesque Pattern Glow */
.arabesque-pattern {
  background-image: radial-gradient(rgba(1, 84, 44, 0.07) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
}

.ambient-degh-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 148, 24, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1ede4;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--emerald-primary);
}

/* Card Hover Elevation */
.dish-card, .royal-card {
  background: #ffffff;
  border: 1px solid rgba(1, 84, 44, 0.12);
  box-shadow: 0 4px 20px -2px rgba(1, 84, 44, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.dish-card:hover, .royal-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 148, 24, 0.40);
  box-shadow: 0 16px 36px -8px rgba(1, 84, 44, 0.16), 0 0 15px rgba(0, 148, 24, 0.08);
}

/* Feature Badge Card */
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(1, 84, 44, 0.12);
  box-shadow: 0 4px 16px -2px rgba(1, 84, 44, 0.05);
  transition: all 0.3s ease-in-out;
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 148, 24, 0.35);
  box-shadow: 0 12px 28px -6px rgba(1, 84, 44, 0.12);
}

/* Live Simmering Pulse */
@keyframes simmerPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

.simmer-indicator {
  animation: simmerPulse 2.2s infinite ease-in-out;
}

/* Proposal Re-skin Button Classes */
.btn-emerald-primary {
  background: linear-gradient(135deg, #009418 0%, #01542c 100%);
  color: #ffffff !important;
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(1, 84, 44, 0.28);
  transition: all 0.25s ease-in-out;
}
.btn-emerald-primary:hover {
  background: linear-gradient(135deg, #00aa1c 0%, #016b38 100%);
  box-shadow: 0 10px 28px rgba(1, 84, 44, 0.40);
  transform: translateY(-1px);
}

.btn-emerald-outline {
  background: #ffffff;
  color: #01542c !important;
  border: 2px solid #01542c;
  font-weight: 700;
  transition: all 0.25s ease-in-out;
}
.btn-emerald-outline:hover {
  background: #01542c;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(1, 84, 44, 0.25);
  transform: translateY(-1px);
}

/* Input Fields in Ivory Theme */
.input-royal {
  background-color: #ffffff;
  border: 1px solid rgba(1, 84, 44, 0.20);
  color: #14241b;
  transition: all 0.2s ease-in-out;
}
.input-royal:focus {
  border-color: #009418;
  box-shadow: 0 0 0 3px rgba(0, 148, 24, 0.15);
  outline: none;
}
.input-royal::placeholder {
  color: #9ca3af;
}

/* Category Filter Buttons in Menu */
.category-btn {
  background-color: #ffffff;
  color: #1b3827;
  border: 1px solid rgba(1, 84, 44, 0.20);
  box-shadow: 0 2px 6px rgba(1, 84, 44, 0.04);
  transition: all 0.2s ease-in-out;
}
.category-btn:hover {
  background-color: #f0fdf4;
  border-color: #009418;
  color: #01542c;
}
.category-btn.active {
  background: linear-gradient(135deg, #009418 0%, #01542c 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(1, 84, 44, 0.3) !important;
}

/* Dietary Quick Filters in Menu */
.diet-btn {
  background-color: #ffffff;
  color: #4b5563;
  border: 1px solid rgba(1, 84, 44, 0.15);
  transition: all 0.2s ease-in-out;
}
.diet-btn:hover {
  border-color: #009418;
  color: #01542c;
}
.diet-btn.active {
  background-color: #01542c !important;
  color: #ffffff !important;
  border-color: #01542c !important;
}

/* Prominent Halal Trust Banner */
.halal-trust-banner {
  background: linear-gradient(135deg, #01381e 0%, #01542c 50%, #009418 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px -5px rgba(1, 84, 44, 0.35);
}

/* Open Kitchen Transparency Badge */
.open-kitchen-badge {
  background: linear-gradient(135deg, #dcfce7 0%, #ecfdf5 100%);
  border: 1.5px solid #22c55e;
  color: #01542c;
}

/* Sticky Header & Navbar Ivory Styling per Proposal */
header.sticky {
  background-color: rgba(254, 249, 242, 0.96) !important;
  border-bottom: 1px solid rgba(1, 84, 44, 0.15) !important;
  box-shadow: 0 4px 20px -2px rgba(1, 84, 44, 0.06) !important;
}
header.sticky nav a {
  color: #173824 !important;
}
header.sticky nav a:hover,
header.sticky nav a.border-b-2 {
  color: #009418 !important;
  border-color: #009418 !important;
}

/* Footer Deep Forest Styling per Proposal */
footer {
  background-color: #061e11 !important;
  border-top: 1px solid rgba(34, 197, 94, 0.25) !important;
  color: #d1d5db !important;
}
footer a:hover {
  color: #4ade80 !important;
}

/* Thermal Print Styles (for Kitchen Order Tickets & Customer Receipts) */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-receipt, #printable-receipt * {
    visibility: visible;
  }
  #printable-receipt {
    position: absolute;
    left: 0;
    top: 0;
    width: 80mm;
    margin: 0;
    padding: 10px;
    background: #fff;
    color: #000;
    font-family: monospace;
    font-size: 12px;
  }
}
