/* ==========================================================================
   مطعم 99 گرل — التصميم الدخاني الناري الحديث (Smokehouse Grill UI)
   ========================================================================== */

:root {
  --color-primary: #dc2626;
  --color-accent: #f97316;
  --color-accent-gold: #eab308;
  --color-bg: #09090b;
  --color-bg-surface: #18181b;
  --color-card-bg: rgba(24, 24, 27, 0.85);
  --color-card-border: rgba(220, 38, 38, 0.25);
  
  --color-text: #fafafa;
  --color-text-muted: #a1a1aa;
  
  --font-arabic: 'Tajawal', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  --shadow-fire: 0 10px 30px rgba(220, 38, 38, 0.25);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

/* Phone Number Isolation Rule (Mandatory) */
bdi, [dir="ltr"] {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
  font-family: monospace, sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

h1, h2, h3, h4 {
  font-family: var(--font-arabic);
  color: #fff;
  font-weight: 800;
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, var(--color-accent) 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  position: relative;
  z-index: 10;
  background-color: var(--color-bg);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.85rem;
  background: rgba(249, 115, 22, 0.12);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--color-text-muted);
  max-width: 640px;
  line-height: 1.7;
}

.section-header-center {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header-center .section-subtitle {
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn:hover {
  transform: translateY(-3px);
}

.btn-flame {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  box-shadow: var(--shadow-fire);
}
.btn-flame:hover {
  background: linear-gradient(135deg, #ef4444 0%, #fb923c 100%);
  box-shadow: 0 12px 25px rgba(220, 38, 38, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}
.btn-block {
  width: 100%;
}

/* Banner */
.demo-top-banner {
  background: #18181b;
  color: #d4d4d8;
  font-size: 0.82rem;
  padding: 0.35rem 0;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}
.banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.close-banner-btn {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 9, 11, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(249, 115, 22, 0.15);
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(9, 9, 11, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}
.brand-badge {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}
.brand-title {
  font-size: 1.2rem;
  font-weight: 800;
  display: block;
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--color-accent);
  letter-spacing: 1px;
  display: block;
}

.desktop-nav {
  display: flex;
  gap: 1.8rem;
}
.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: #fff;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 30px;
  height: 22px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}
.hero-bg {
  position: absolute;
  inset: -10% 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 9, 11, 0.45) 0%,
    rgba(9, 9, 11, 0.75) 50%,
    rgba(9, 9, 11, 0.98) 100%
  );
  z-index: 2;
}
.hero-container {
  position: relative;
  z-index: 3;
  padding: 3rem 0;
}
.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  color: #fca5a5;
  font-size: 0.88rem;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.3rem;
}
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}

.hero-networks-strip {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.8rem;
}
.net-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #e4e4e7;
}
.net-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}
.asiacell { background: #dc2626; color: #fff; }
.korek { background: #0284c7; color: #fff; }
.zain { background: #7c3aed; color: #fff; }

/* About */
.about-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-surface) 100%);
}
.about-card-wrap {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  padding: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius-lg);
  max-width: 900px;
  margin: 0 auto;
}
.lead-text {
  font-size: 1.15rem;
  color: #fafafa;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.body-text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Menu Dual Grid */
.menu-dual-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}
.dish-box {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.dish-box:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
}
.dish-img {
  position: relative;
  height: 280px;
}
.dish-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tag-hot {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}
.dish-content {
  padding: 1.8rem;
}
.dish-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
.dish-content p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.dish-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.dish-tags span {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.text-only-box {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.box-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.text-only-box h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.text-only-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.features-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.features-ul li {
  position: relative;
  padding-right: 1.4rem;
  color: #e4e4e7;
}
.features-ul li::before {
  content: '🔥';
  position: absolute;
  right: 0;
  font-size: 0.85rem;
}

/* Lines Section */
.lines-banner {
  background: linear-gradient(135deg, #1c1917 0%, #18181b 100%);
  border: 1px solid rgba(249, 115, 22, 0.3);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.network-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.net-card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  padding: 1.8rem 1.2rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.net-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}
.net-brand {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}
.asiacell-bg { background: rgba(220, 38, 38, 0.2); color: #fca5a5; }
.korek-bg { background: rgba(2, 132, 199, 0.2); color: #7dd3fc; }
.zain-bg { background: rgba(124, 58, 237, 0.2); color: #c4b5fd; }

.net-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}
.net-card p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Contact */
.contact-grid-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.c-entries {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.entry {
  display: flex;
  gap: 1.2rem;
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
}
.phone-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.phone-link:hover {
  color: var(--color-accent);
}

.form-container {
  background: var(--color-card-bg);
  border: 1px solid var(--color-card-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
}
.form-container h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.form-container p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #e4e4e7;
}
.form-group input {
  width: 100%;
  background: rgba(9, 9, 11, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: var(--font-arabic);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  outline: none;
}
.form-group input:focus {
  border-color: var(--color-accent);
}

/* Footer */
.site-footer {
  background: #050507;
  border-top: 1px solid rgba(249, 115, 22, 0.15);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}
.footer-desc {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  line-height: 1.7;
}
.footer-h {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.8rem;
  text-align: center;
}
.footer-disclaimer {
  font-size: 0.85rem;
  color: #d4d4d8;
  margin-bottom: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: #71717a;
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -320px;
  width: 290px;
  background: #18181b;
  border-left: 1px solid rgba(249, 115, 22, 0.3);
  z-index: 2000;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}
.mobile-drawer.open {
  right: 0;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}
.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.drawer-link {
  color: #fafafa;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
}
.drawer-contact-info {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
  color: var(--color-text-muted);
}
.drawer-phone {
  margin-top: 0.4rem;
  font-weight: 700;
  color: #fff;
}

/* Scroll-reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: flex; }
  .network-cards-grid { grid-template-columns: 1fr; }
  .menu-dual-grid { grid-template-columns: 1fr; }
  .contact-grid-box { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
