/* ================================================
   HAMOUCHE FOOD INDUSTRIE — DESIGN SYSTEM v2
   ================================================ */

:root {
  /* === BRAND COLORS === */
  /* LHIMA Primary */
  --lhima-red: #C8102E;
  --lhima-red-dark: #9A0C24;
  --lhima-red-light: #E8344E;
  --lhima-yellow: #FFD100;
  --lhima-yellow-dark: #E6BC00;
  --lhima-cream: #F5EBD9;
  --lhima-black: #1A1A1A;
  --lhima-charcoal: #2A2A2A;

  /* Le Bon (snacking jeune) */
  --lebon-orange: #FF6B35;
  --lebon-cream: #FFF4E6;

  /* Mamiz (plats préparés) */
  --mamiz-green: #2E7D32;
  --mamiz-cream: #F1F8E9;

  /* Mizane (viandes crues) */
  --mizane-burgundy: #7B1F2D;
  --mizane-cream: #FBE9E7;

  /* Ladhid (charcuterie accessible) */
  --ladhid-blue: #1E5A8E;
  --ladhid-cream: #E3F2FD;

  /* Chipsos (chips salami) */
  --chipsos-magenta: #B91D7B;
  --chipsos-cream: #FCE4EC;

  /* Neutrals */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Semantic */
  --success: #2E7D32;
  --warning: #FFD100;
  --error: #C8102E;
  --info: #1E5A8E;

  /* === TYPOGRAPHY === */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arabic: 'Tajawal', 'Noto Sans Arabic', sans-serif;
  --font-mono: 'SF Mono', Menlo, Consolas, monospace;

  /* Font sizes (fluid) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.3vw, 0.95rem);
  --text-base: clamp(1rem, 0.95rem + 0.3vw, 1.1rem);
  --text-lg: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --text-3xl: clamp(2rem, 1.7rem + 1.5vw, 2.75rem);
  --text-4xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --text-5xl: clamp(3rem, 2.5rem + 3vw, 5rem);
  --text-hero: clamp(3rem, 2.5rem + 4vw, 6rem);

  /* === SPACING === */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* === LAYOUT === */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* === BORDERS === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-glow-red: 0 0 40px rgba(200, 16, 46, 0.3);
  --shadow-glow-yellow: 0 0 40px rgba(255, 209, 0, 0.3);

  /* === TRANSITIONS === */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 600ms;

  /* === Z-INDEX === */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-tooltip: 500;
}

/* ================================================
   RESET & BASE
   ================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-900);
  background: #FFFFFF;
  overflow-x: hidden;
}

body.dark {
  color: var(--gray-100);
  background: var(--lhima-black);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

.dark h1, .dark h2, .dark h3 {
  color: white;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }
.container-2xl { max-width: var(--container-2xl); }

.section {
  padding: var(--space-20) 0;
}

.section-sm { padding: var(--space-12) 0; }
.section-lg { padding: var(--space-32) 0; }

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ================================================
   HEADER & NAVIGATION
   ================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--duration-base) var(--ease-out);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  max-width: var(--container-xl);
  margin: 0 auto;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.brand-logo-mark {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--lhima-red);
  letter-spacing: 1px;
}

.brand-logo-text {
  font-size: var(--text-xs);
  color: var(--gray-600);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-right: var(--space-2);
}

@media (max-width: 1200px) {
  .nav-links { gap: var(--space-4); }
  .nav-link { font-size: 13px; }
}

@media (max-width: 1024px) {
  .nav-links { gap: var(--space-3); }
  .nav-link { font-size: 12px; }
  .nav-cta { padding: var(--space-2) var(--space-4); font-size: 12px; }
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  position: relative;
  padding: var(--space-2) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--lhima-red);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover {
  color: var(--lhima-red);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--lhima-red);
  color: white;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--lhima-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--gray-600);
  font-weight: 500;
}

.nav-lang-active {
  color: var(--lhima-red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--gray-700);
  }
}

.nav-mobile-toggle {
  display: none;
}

/* ================================================
   HERO SECTIONS
   ================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--space-6);
  overflow: hidden;
  background: linear-gradient(135deg, var(--lhima-black) 0%, var(--lhima-charcoal) 100%);
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(200, 16, 46, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 209, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lhima-yellow);
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--lhima-yellow);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero-title {
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.05;
  color: white;
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--lhima-red) 0%, var(--lhima-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  font-weight: 300;
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.hero-trust {
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin-top: var(--space-12);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
}

.hero-trust-item-icon {
  width: 20px;
  height: 20px;
  color: var(--lhima-yellow);
}

/* ================================================
   BUTTONS
   ================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--lhima-red);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--lhima-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.btn-yellow {
  background: var(--lhima-yellow);
  color: var(--lhima-black);
  font-weight: 700;
}

.btn-yellow:hover {
  background: var(--lhima-yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow-yellow);
}

.btn-large {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
}

.btn-small {
  padding: var(--space-3) var(--space-5);
  font-size: var(--text-sm);
}

/* ================================================
   SECTIONS
   ================================================ */

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lhima-red);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
  text-align: center;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

/* ================================================
   BRAND CARDS
   ================================================ */

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.brand-card {
  position: relative;
  padding: var(--space-10) var(--space-8);
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--brand-color, var(--lhima-red));
  transition: height var(--duration-base) var(--ease-out);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-color, var(--lhima-red));
}

.brand-card:hover::before {
  height: 8px;
}

.brand-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--brand-color-light, var(--lhima-cream));
  color: var(--brand-color, var(--lhima-red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: var(--space-6);
}

.brand-card-name {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--brand-color, var(--lhima-red));
  margin-bottom: var(--space-2);
}

.brand-card-tagline {
  font-size: var(--text-sm);
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: var(--space-4);
}

.brand-card-description {
  color: var(--gray-700);
  margin-bottom: var(--space-6);
  flex: 1;
}

.brand-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--brand-color, var(--lhima-red));
  font-weight: 600;
  margin-top: auto;
  transition: gap var(--duration-fast) var(--ease-out);
}

.brand-card:hover .brand-card-link {
  gap: var(--space-3);
}

/* Brand color modifiers */
.brand-card.lhima { --brand-color: var(--lhima-red); --brand-color-light: var(--lhima-cream); }
.brand-card.lebon { --brand-color: var(--lebon-orange); --brand-color-light: var(--lebon-cream); }
.brand-card.mamiz { --brand-color: var(--mamiz-green); --brand-color-light: var(--mamiz-cream); }
.brand-card.mizane { --brand-color: var(--mizane-burgundy); --brand-color-light: var(--mizane-cream); }
.brand-card.ladhid { --brand-color: var(--ladhid-blue); --brand-color-light: var(--ladhid-cream); }
.brand-card.chipsos { --brand-color: var(--chipsos-magenta); --brand-color-light: var(--chipsos-cream); }

/* ================================================
   VALUES SECTION
   ================================================ */

.values-section {
  background: var(--lhima-cream);
  padding: var(--space-24) 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.value-card {
  text-align: center;
  padding: var(--space-6);
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-6);
  background: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--lhima-red);
  box-shadow: var(--shadow-md);
}

.value-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--lhima-black);
  margin-bottom: var(--space-3);
}

.value-description {
  color: var(--gray-700);
  font-size: var(--text-base);
}

/* ================================================
   STATS SECTION
   ================================================ */

.stats-section {
  background: var(--lhima-black);
  color: white;
  padding: var(--space-20) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 800;
  color: var(--lhima-yellow);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ================================================
   CONTEST TEASER
   ================================================ */

.contest-teaser {
  background: linear-gradient(135deg, var(--lhima-red) 0%, var(--lhima-red-dark) 100%);
  color: white;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.contest-teaser::before {
  content: '🎁';
  position: absolute;
  font-size: 400px;
  opacity: 0.05;
  right: -50px;
  top: -50px;
  pointer-events: none;
}

.contest-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.contest-eyebrow {
  display: inline-block;
  background: var(--lhima-yellow);
  color: var(--lhima-black);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.contest-title {
  font-size: var(--text-5xl);
  color: white;
  margin-bottom: var(--space-4);
}

.contest-subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contest-countdown {
  display: flex;
  gap: var(--space-6);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.countdown-block {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  min-width: 80px;
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--lhima-yellow);
  line-height: 1;
}

.countdown-label {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: var(--space-2);
}

/* ================================================
   FOOTER
   ================================================ */

.site-footer {
  background: var(--lhima-black);
  color: var(--gray-400);
  padding: var(--space-20) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

.footer-brand-logo {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: var(--space-2);
}

.footer-brand-text {
  color: var(--gray-400);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: white;
  font-size: 18px;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-social-link:hover {
  background: var(--lhima-red);
  transform: translateY(-2px);
}

.footer-col-title {
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  color: var(--gray-400);
  font-size: var(--text-sm);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer-link:hover {
  color: var(--lhima-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: var(--gray-500);
}

.footer-badges {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-400);
}

/* ================================================
   FLOATING WHATSAPP
   ================================================ */

.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  width: 64px;
  height: 64px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: var(--shadow-xl);
  transition: all var(--duration-base) var(--ease-out);
  animation: pulseGreen 2s ease-in-out infinite;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
}

@keyframes pulseGreen {
  0%, 100% { box-shadow: var(--shadow-xl), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: var(--shadow-xl), 0 0 0 20px rgba(37, 211, 102, 0); }
}

/* ================================================
   ANIMATIONS
   ================================================ */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   UTILITIES
   ================================================ */

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

.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }
.mb-16 { margin-bottom: var(--space-16); }

.text-red { color: var(--lhima-red); }
.text-yellow { color: var(--lhima-yellow); }
.text-white { color: white; }
.text-gray { color: var(--gray-600); }

.bg-cream { background: var(--lhima-cream); }
.bg-black { background: var(--lhima-black); }
.bg-white { background: white; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* RTL Support */
[dir="rtl"] {
  font-family: var(--font-arabic);
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

/* Print */
@media print {
  .site-header, .whatsapp-fab, .nav-cta { display: none; }
}
