/* ========================================
   NEXT ERA - Main Stylesheet
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #8B1538;
  --primary-dark: #5C0E25;
  --primary-light: #B8284E;
  --gold: #D4A574;
  --gold-dark: #B8895A;
  --black: #1a1a1a;
  --gray-900: #2a2a2a;
  --gray-700: #555;
  --gray-500: #888;
  --gray-300: #ccc;
  --gray-100: #fafaf7;
  --white: #ffffff;
  --cream: #f5f0eb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', sans-serif;
  color: var(--gray-900);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

body[dir="ltr"] {
  font-family: 'Montserrat', 'Cairo', sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(139, 21, 56, 0.2);
}

.logo-mark::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 5px;
}

.logo-mark span {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 22px;
  font-weight: 900;
  z-index: 1;
  letter-spacing: -1px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: var(--black);
  letter-spacing: 1.5px;
  line-height: 1;
}

.logo-text .era { color: var(--primary); font-weight: 300; }

.logo-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 7px;
  color: var(--gray-500);
  letter-spacing: 2.5px;
  margin-top: 3px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-900);
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

body[dir="ltr"] .nav-menu a {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary);
}

.nav-menu a:hover::after, .nav-menu a.active::after {
  width: 100%;
}

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

.lang-toggle {
  background: var(--gray-100);
  border: 1px solid #eee;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.lang-toggle:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(139, 21, 56, 0.25);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 21, 56, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--black) 100%);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(212, 165, 116, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  border: 100px solid rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  pointer-events: none;
}

.hero-watermark {
  position: absolute;
  top: 50%;
  right: -80px;
  transform: translateY(-50%);
  font-family: 'Playfair Display', serif;
  font-size: 380px;
  color: rgba(255,255,255,0.04);
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -2px;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

body[dir="rtl"] .hero-title-ar {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  margin-top: 18px;
  letter-spacing: 0;
}

.hero-divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 32px auto;
}

.hero-subtitle {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
  max-width: 560px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.9);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: var(--gold);
  color: var(--black);
  padding: 16px 36px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 14px 34px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.3s;
  text-transform: uppercase;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ========================================
   SECTIONS COMMON
   ======================================== */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 8px;
}

body[dir="ltr"] .section-title {
  font-family: 'Playfair Display', serif;
}

.section-title-en {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.about-preview {
  background: var(--gray-100);
}

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

.about-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139, 21, 56, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border: 30px solid rgba(212, 165, 116, 0.15);
  border-radius: 50%;
}

.about-visual::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 280px;
  height: 280px;
  border: 40px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.about-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 40px;
}

.about-visual-icon {
  font-family: 'Playfair Display', serif;
  font-size: 180px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -10px;
}

.about-visual-text {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  margin-top: 20px;
  opacity: 0.95;
}

.about-text .section-eyebrow,
.about-text .section-title,
.about-text .section-title-en {
  text-align: right;
}

body[dir="ltr"] .about-text .section-eyebrow,
body[dir="ltr"] .about-text .section-title,
body[dir="ltr"] .about-text .section-title-en {
  text-align: left;
}

.about-text .section-divider {
  margin: 0 0 30px;
}

body[dir="ltr"] .about-text .section-divider {
  margin: 0 0 30px;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--gray-700);
  font-size: 15px;
}

.about-text p strong {
  color: var(--black);
}

.about-features {
  list-style: none;
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ========================================
   SERVICES PREVIEW
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: white;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 36px 28px;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 0 0 0 80px;
  opacity: 0.05;
  transition: all 0.4s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(139, 21, 56, 0.12);
  border-color: var(--primary);
}

.service-card:hover::before {
  opacity: 0.1;
  width: 120px;
  height: 120px;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(139, 21, 56, 0.25);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
  font-family: 'Cairo', sans-serif;
}

.service-card .service-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  color: var(--primary);
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-weight: 600;
}

.service-card p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s;
}

.service-link:hover { gap: 10px; }

/* ========================================
   APPROACH / PROCESS
   ======================================== */
.approach {
  background: linear-gradient(180deg, white 0%, var(--gray-100) 100%);
}

.approach-timeline {
  margin-top: 60px;
  position: relative;
}

.approach-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
  opacity: 0.2;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

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

.approach-step-num {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: white;
  border: 3px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(139, 21, 56, 0.1);
}

.approach-step:hover .approach-step-num {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.approach-step h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
}

.approach-step p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--gray-700);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border: 50px solid rgba(212, 165, 116, 0.1);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border: 60px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-title em { font-style: italic; color: var(--gold); }

body[dir="rtl"] .cta-title-ar {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-top: 10px;
}

.cta-text {
  max-width: 560px;
  margin: 24px auto 32px;
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo-text { color: white; }
.footer-brand .logo-tagline { color: rgba(255,255,255,0.5); }

.footer-brand p {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,0.65);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  flex-shrink: 0;
}

.footer-contact-item div {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

/* ========================================
   WHATSAPP FLOATING BUTTON
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========================================
   PAGE BANNER (Inner pages)
   ======================================== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--black) 100%);
  color: white;
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  border: 60px solid rgba(212, 165, 116, 0.06);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.page-banner .breadcrumb {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.page-banner h1 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
}

body[dir="ltr"] .page-banner h1 {
  font-family: 'Playfair Display', serif;
}

.page-banner .subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--gold);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    right: 0;
    left: 0;
    background: white;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s;
  }

  .nav-menu.active { transform: translateY(0); }

  .menu-toggle { display: flex; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .approach-grid { grid-template-columns: 1fr 1fr 1fr; }
  .approach-timeline::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  section { padding: 70px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .nav-actions .lang-toggle { padding: 6px 10px; font-size: 11px; }
  .nav-actions .btn-cta { padding: 8px 14px; font-size: 11px; }
  .logo-text { font-size: 13px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 16px; left: 16px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
