:root {
  /* Brand Colors */
  --crispy-red: #C82327;
  --golden-fry: #F3C93F;
  --bandana-navy: #213559;
  --pure-white: #FFFFFF;
  --charcoal: #1A1A1A;
  
  /* Derived & UI Colors */
  --bg-dark: #0D0D0D;
  --bg-section: #141414;
  --bg-card: #1C1C1C;
  --card-hover: #242424;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-accent: #F3C93F;
  --glow-red: rgba(200, 35, 39, 0.4);
  --glow-gold: rgba(243, 201, 63, 0.3);
  
  /* Layout */
  --nav-height: 80px;
  --container-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700;900&family=Tajawal:wght@400;500;700&display=swap');

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: 'Tajawal', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Texture Overlay */
.grunge-texture {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-opacity: 0.05;
  background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.08;
  z-index: 100;
}

/* Primary Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--crispy-red), #e02a30);
  color: var(--pure-white);
  border: none;
  border-radius: var(--border-radius-md);
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: 0 4px 15px var(--glow-red);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--glow-red);
}

.btn-primary:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-ar {
  background: linear-gradient(135deg, var(--crispy-red), var(--golden-fry));
  box-shadow: 0 4px 20px rgba(243, 201, 63, 0.4);
  color: var(--bg-dark);
}

.btn-ar:hover {
  box-shadow: 0 8px 30px rgba(243, 201, 63, 0.6);
}
