/* === Mashawi Hala - Fiery Amber & Charcoal Grill Theme === */
/* Inspired by Kebab Yasin Charcoal & Flame Template */

:root {
  --primary: #d97706;
  --primary-light: #f59e0b;
  --secondary: #b45309;
  --accent: #fbbf24;
  --fire-glow: rgba(245, 158, 11, 0.45);
  --background: #14100c;
  --surface: #1e1812;
  --surface-light: #2c241c;
  --surface-hover: #382e24;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --white: #ffffff;
  --whatsapp: #25D366;
  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-ar);
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

/* Strict Phone Isolation Rule */
bdi, .phone-link, .ph-number {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  display: inline-block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.max-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Announcement Top Bar */
.announcement-bar {
  background: linear-gradient(90deg, #1c140e 0%, #2e1d12 50%, #1c140e 100%);
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
  padding: 8px 0;
  font-size: 0.88rem;
  position: relative;
  z-index: 1000;
}

.bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bar-phones {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.phone-link {
  color: var(--accent);
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--white);
  text-shadow: 0 0 10px var(--fire-glow);
}

.sep {
  color: rgba(255, 255, 255, 0.3);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 0;
  background: rgba(20, 16, 12, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(217, 119, 6, 0.3);
}

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

.logo {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary-light);
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.logo-sub {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-light);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--primary-light);
  border-radius: 3px;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(217, 119, 6, 0.55);
  filter: brightness(1.1);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--primary-light);
  color: var(--primary-light);
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #03200c;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #03200c;
}

.btn-sm {
  padding: 7px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.05);
  animation: zoomOut 20s infinite alternate linear;
}

@keyframes zoomOut {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(20, 16, 12, 0.65) 0%, rgba(20, 16, 12, 0.25) 100%),
              linear-gradient(to bottom, rgba(20, 16, 12, 0.15) 0%, rgba(20, 16, 12, 0.35) 60%, rgba(20, 16, 12, 0.85) 100%);
  z-index: 1;
}

/* 100% Realistic Fire, Smoke & Flying Embers Canvas */
#embers-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  animation: fadeInUp 1s ease forwards;
}

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

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(217, 119, 6, 0.25);
  border: 1px solid rgba(217, 119, 6, 0.5);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 22px;
  line-height: 1.22;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9), 0 2px 6px rgba(0, 0, 0, 0.95);
}

.hero-title span {
  color: var(--primary-light);
  background: linear-gradient(135deg, #f59e0b, #fbbf24, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text {
  font-size: 1.2rem;
  color: #f3f4f6;
  margin-bottom: 38px;
  max-width: 680px;
  line-height: 1.8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Sections Common */
section:not(.hero) {
  padding: 95px 0;
}

.section-header {
  margin-bottom: 55px;
}

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--white);
}

.section-title span {
  color: var(--primary-light);
}

.section-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Story Section */
.story {
  background-color: var(--background);
  position: relative;
}

.story-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.story-image-wrapper {
  position: relative;
}

.story-image {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-image:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.4);
}

.story-experience {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.45);
  border: 5px solid var(--background);
  animation: float 4s infinite ease-in-out;
  color: var(--white);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.exp-number {
  font-family: var(--font-en);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 4px;
}

.story-content .section-title {
  margin-bottom: 20px;
}

.story-features {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.feature:hover {
  border-color: rgba(217, 119, 6, 0.35);
  transform: translateX(-4px);
  background: var(--surface-light);
}

.feature-icon {
  font-size: 2rem;
  line-height: 1;
}

.feature h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 4px;
}

.feature p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Specialties Section */
.specialties {
  background-color: var(--surface);
  position: relative;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.specialty-card {
  background: var(--surface-light);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: right;
  transition: var(--transition);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(217, 119, 6, 0.35);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.highlight-card {
  background: linear-gradient(180deg, #2e2217 0%, var(--surface-light) 100%);
  border-color: rgba(217, 119, 6, 0.35);
}

.highlight-card::before {
  transform: scaleX(1);
}

.specialty-icon {
  font-size: 3.2rem;
  margin-bottom: 20px;
}

.specialty-title {
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 14px;
}

.specialty-desc {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.specialty-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Order Section */
.order-section {
  background-color: var(--background);
}

.order-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 60px 45px;
  border: 1px solid rgba(217, 119, 6, 0.25);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.phones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 860px;
  margin: 0 auto;
}

.phone-card {
  background: var(--surface-light);
  padding: 34px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.phone-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.ph-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 12px;
}

.ph-label {
  display: block;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.ph-number {
  font-family: var(--font-en);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.card-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Location Section */
.location-section {
  background: var(--surface);
}

.location-box {
  background: var(--surface-light);
  border-radius: var(--radius-lg);
  padding: 55px 35px;
  max-width: 780px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.loc-pin {
  font-size: 3rem;
  margin-bottom: 14px;
}

.location-address {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 12px;
  margin-bottom: 30px;
}

.location-actions {
  display: flex;
  justify-content: center;
}

/* Footer */
.site-footer {
  background-color: #0c0907;
  padding-top: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-meta .f-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.f-icon {
  font-size: 1.8rem;
}

.f-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-light);
}

.f-desc {
  color: var(--text-secondary);
  max-width: 440px;
  line-height: 1.7;
}

.footer-phones h4 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-phones p {
  color: var(--accent);
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.55);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom .disclaimer {
  color: var(--accent);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .story-container {
    grid-template-columns: 1fr;
  }
  
  .story-image-wrapper {
    max-width: 550px;
    margin: 0 auto 40px auto;
  }
  
  .specialties-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .phones-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .bar-content {
    justify-content: center;
    text-align: center;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 270px;
    height: 100vh;
    background: var(--surface);
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    z-index: 1002;
  }
  
  .nav.active {
    right: 0;
  }
  
  .mobile-toggle {
    display: flex;
    z-index: 1003;
  }
  
  .story-experience {
    width: 110px;
    height: 110px;
    right: -10px;
    bottom: -15px;
  }
  
  .exp-number {
    font-size: 1.8rem;
  }
}
