/* ==========================================================================
   WALAN TECHNOLOGY - EXECUTIVE PRESENTATION SYSTEM DESIGN (1920x1080 16:9)
   ========================================================================== */

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

:root {
  /* Color Palette */
  --primary-coral: #E85023;
  --primary-coral-hover: #FF6B35;
  --primary-coral-glow: rgba(232, 80, 35, 0.35);
  --navy-dark: #0F172A;
  --navy-card: #1E293B;
  --navy-border: rgba(255, 255, 255, 0.12);
  --navy-subtle: #334155;
  --bg-deep: #090D16;
  --text-white: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  --text-body: #334155;
  --bg-light: #F8FAFC;
  --bg-light-card: #FFFFFF;

  /* Typography */
  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Readex Pro', sans-serif;

  /* Stage Scale Factor (Default 1) */
  --stage-scale: 1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-deep);
  font-family: var(--font-body);
  direction: rtl;
  color: var(--text-dark);
}

/* ==========================================================================
   STAGE CANVAS & AUTO-SCALING ENGINE
   ========================================================================== */

.presentation-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1E293B 0%, #090D16 100%);
}

.slide-stage {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  transform: translate(-50%, -50%) scale(var(--stage-scale, 1));
  transform-origin: center center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  background-color: #FFFFFF;
  overflow: hidden;
}

/* ==========================================================================
   CRITICAL POSITIONING RULE FOR ALL SLIDES (MANDATORY)
   ========================================================================== */

.slide, 
.slide.section-divider, 
.slide.cover-slide, 
.slide.closing-slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 1920px !important;
  height: 1080px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(0.98);
  z-index: 1;
  background-color: #FFFFFF;
  padding: 60px 80px 100px 80px;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 10;
}

/* ==========================================================================
   SLIDE LAYOUT TEMPLATES & HEADERS
   ========================================================================== */

/* Standard Slide Header */
.slide-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #E2E8F0;
  width: 100%;
}

.slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 80, 35, 0.1);
  color: var(--primary-coral);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid rgba(232, 80, 35, 0.2);
}

.slide-tag-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #FFA07A;
  border-color: rgba(255, 255, 255, 0.2);
}

.slide-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.slide-meta-code {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.slide-title-area {
  margin-bottom: 30px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1.25;
}

.slide-subtitle {
  font-size: 20px;
  color: #64748B;
  font-weight: 500;
  margin-top: 8px;
}

/* Main Content Containers */
.slide-content-body {
  flex: 1;
  display: flex;
  gap: 40px;
  width: 100%;
  height: calc(100% - 150px);
}

/* 2 Column Layout Split */
.split-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  width: 100%;
  height: 100%;
  align-items: center;
}

.split-left-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.split-right-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

/* ==========================================================================
   COVER SLIDE (SLIDE 1)
   ========================================================================== */

.slide.cover-slide {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #EEF2F6 100%);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 !important;
  position: relative;
}

.cover-slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  gap: 35px;
}

.cover-logo-frame {
  width: 480px;
  height: auto;
  aspect-ratio: 1141 / 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000 !important; /* Pure Black Background for Client Logo */
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(232, 80, 35, 0.35);
  padding: 16px 28px;
  border: 2px solid var(--primary-coral);
  box-sizing: border-box;
}

.cover-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0px 2px 4px rgba(255, 255, 255, 0.15));
}

.cover-badge {
  background: rgba(232, 80, 35, 0.1);
  color: var(--primary-coral);
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid rgba(232, 80, 35, 0.2);
}

.cover-main-title {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1.15;
  margin: 0;
}

/* Background Decorative Elements */
.cover-bg-shape-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,80,35,0.12) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.cover-bg-shape-2 {
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(15,23,42,0.06) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

/* ==========================================================================
   SECTION DIVIDER SLIDES (SLIDES 2, 9, 11, 15, 18)
   ========================================================================== */

.slide.section-divider {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #060911 100%) !important;
  color: #FFFFFF;
  justify-content: center;
  gap: 50px;
  padding: 80px 100px !important;
}

.section-divider-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.section-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary-coral);
  color: #FFFFFF;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 700;
  width: fit-content;
}

.section-divider-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
}

.section-divider-desc {
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 1400px;
  line-height: 1.6;
}

/* 4 Horizontal Cards Row for Section Dividers */
.section-horizontal-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 20px;
}

.sec-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--navy-border);
  border-radius: 16px;
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.sec-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-coral);
  background: rgba(255, 255, 255, 0.08);
}

.sec-card-icon {
  width: 50px;
  height: 50px;
  background: rgba(232, 80, 35, 0.2);
  color: #FFA07A;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
}

.sec-card-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
}

.sec-card-text {
  font-size: 16px;
  color: #94A3B8;
  line-height: 1.5;
}

/* ==========================================================================
   COMPONENTS: MOBILE PHONE DEVICE MOCKUP
   ========================================================================== */

.mobile-phone-device {
  width: 250px;
  height: auto;
  background: #000000;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.4);
  position: relative;
  border: 4px solid #334155;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-sizing: border-box;
}

.mobile-phone-device::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 85px;
  height: 20px;
  background: #000000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen-inner {
  width: 100%;
  height: auto;
  background: #000000;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen-inner img {
  width: 100%;
  height: 100%;
  object-fit: fill !important; /* EXACT FIT TO ASPECT RATIO FRAME - ZERO CROPPING, ZERO GAPS */
  object-position: center !important;
  background: #000000;
  display: block;
}

/* ==========================================================================
   SLIDE 12: PLATFORM STRATEGY MATRIX TABLE & VIDEO SESSION CARD
   ========================================================================== */

.platform-strategy-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
  height: 100%;
}

.platform-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.platform-matrix-table th {
  background: var(--navy-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  padding: 16px 20px;
  text-align: right;
  border-bottom: 3px solid var(--primary-coral);
}

.platform-matrix-table td {
  padding: 20px;
  border-bottom: 1px solid #F1F5F9;
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}

.platform-matrix-table tr:last-child td {
  border-bottom: none;
}

.platform-name-cell {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 900;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.platform-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}

.badge-linkedin { background: rgba(10, 102, 194, 0.1); color: #0A66C2; border: 1px solid rgba(10, 102, 194, 0.2); }
.badge-instagram { background: rgba(225, 48, 108, 0.1); color: #E1306C; border: 1px solid rgba(225, 48, 108, 0.2); }
.badge-facebook { background: rgba(24, 119, 242, 0.1); color: #1877F2; border: 1px solid rgba(24, 119, 242, 0.2); }

.video-session-card {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border-radius: 16px;
  padding: 24px 30px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid rgba(232, 80, 35, 0.3);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.2);
}

.video-session-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.video-session-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-session-desc {
  font-size: 16px;
  color: #CBD5E1;
  line-height: 1.5;
}

.video-session-tag {
  background: var(--primary-coral);
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}

.phone-caption-box {
  margin-top: 12px;
  text-align: center;
  background: rgba(15, 23, 42, 0.05);
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid #E2E8F0;
  width: 100%;
  box-sizing: border-box;
}

.phone-caption-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--navy-dark);
}

.phone-caption-desc {
  font-size: 14px;
  color: #64748B;
  margin-top: 4px;
}

.phones-3-grid {
  display: flex;
  justify-content: center;
  gap: 35px;
  align-items: center;
  width: 100%;
  height: 100%;
}

.phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ==========================================================================
   COMPONENTS: DASHBOARD / BROWSER MOCKUP FRAME
   ========================================================================== */

.dashboard-mockup-frame {
  width: 100%;
  max-width: 1020px;
  height: auto;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #CBD5E1;
  box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.browser-header-bar {
  height: 40px;
  background: #F1F5F9;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 16px;
  flex-shrink: 0;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.browser-url-input {
  flex: 1;
  height: 28px;
  background: #FFFFFF;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 13px;
  color: #64748B;
  direction: ltr;
}

.dashboard-content-area {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0F172A;
  padding: 0 !important;
}

.dashboard-content-area img {
  width: 100%;
  height: 100%;
  object-fit: fill !important; /* Perfect 16:10 fit edge-to-edge without letterboxing */
  object-position: center !important;
  background: #0F172A;
  display: block;
}

/* ==========================================================================
   COMPONENTS: EXECUTIVE CARDS & BADGES
   ========================================================================== */

.exec-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.3s ease;
}

.exec-card:hover {
  border-color: var(--primary-coral);
}

.exec-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.exec-card-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.5;
}

/* Tag Pills Grid for Keywords Slide */
.tag-pill-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tag-pill {
  background: #F1F5F9;
  color: #334155;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #E2E8F0;
  direction: ltr;
}

.tag-pill.tag-neg {
  background: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border-color: rgba(239, 68, 68, 0.2);
}

.tag-pill.tag-pos {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border-color: rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   SLIDE SPECIFIC GRID STRUCTURES
   ========================================================================== */

/* Slide 5: 6 Competitor Grid */
.competitors-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  width: 100%;
}

.comp-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

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

.comp-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
}

.comp-domain {
  font-size: 14px;
  color: var(--primary-coral);
  font-weight: 600;
  direction: ltr;
}

.comp-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.5;
}

/* Slide 13: 3 Content Pillars Vertical Grid */
.content-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  height: 100%;
}

.pillar-col {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  padding: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pillar-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #F1F5F9;
  padding-bottom: 15px;
}

.pillar-pct {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-coral);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
}

.pillar-list li {
  font-size: 16px;
  color: #475569;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pillar-list li::before {
  content: "•";
  color: var(--primary-coral);
  font-size: 24px;
  line-height: 1;
}

/* Slide 14: 4 Horizontal Pipeline */
.horizontal-pipeline-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  align-items: center;
}

.pipe-step-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}

.pipe-step-card::after {
  content: '←';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--primary-coral);
  font-weight: 900;
}

.pipe-step-card:last-child::after {
  display: none;
}

.pipe-num {
  width: 44px;
  height: 44px;
  background: rgba(232, 80, 35, 0.1);
  color: var(--primary-coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
}

.pipe-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy-dark);
}

.pipe-desc {
  font-size: 15px;
  color: #64748B;
  line-height: 1.5;
}

/* Slide 16: Google SERP Mockup */
.google-serp-mockup {
  width: 100%;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.serp-sponsor-tag {
  font-size: 14px;
  font-weight: 700;
  color: #202124;
  display: flex;
  align-items: center;
  gap: 8px;
}

.serp-url {
  font-size: 14px;
  color: #202124;
  direction: ltr;
  text-align: right;
}

.serp-headline {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #1A0DAB;
  text-decoration: none;
  line-height: 1.3;
}

.serp-desc {
  font-size: 16px;
  color: #4D5156;
  line-height: 1.5;
}

.serp-sitelinks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.serp-sitelink-item {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: #1A0DAB;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.serp-sitelink-desc {
  font-size: 13px;
  color: #5F6368;
  font-weight: 400;
}

/* Slide 21: Closing Slide */
.slide.closing-slide {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #060911 100%) !important;
  color: #FFFFFF;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 !important;
}

.closing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  z-index: 2;
}

.closing-title {
  font-family: var(--font-heading);
  font-size: 90px;
  font-weight: 900;
  color: #FFFFFF;
}

.closing-subtitle {
  font-size: 26px;
  color: var(--text-muted);
  font-weight: 600;
}

.closing-logo-frame {
  width: 360px;
  height: auto;
  aspect-ratio: 4199 / 1192;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
}

.closing-logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.closing-contact-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid var(--navy-border);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  font-size: 18px;
  color: #CBD5E1;
  font-weight: 600;
}

.closing-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==========================================================================
   CONTROLS OVERLAY (BOTTOM NAVIGATION BAR)
   ========================================================================== */

.controls-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 9999;
  direction: rtl;
}

/* Animated Top Progress Bar */
.controls-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.controls-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--primary-coral);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary-coral);
}

.controls-right-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

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

.nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.nav-btn:hover {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
}

.slide-counter-badge {
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 600;
  min-width: 140px;
  text-align: center;
}

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

.ctrl-action-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctrl-action-btn:hover {
  background: var(--primary-coral);
  border-color: var(--primary-coral);
}

/* ==========================================================================
   SLIDE DRAWER MODAL (.slide-drawer-modal)
   ========================================================================== */

.slide-drawer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
  direction: rtl;
}

.slide-drawer-modal.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 20px;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: #FFFFFF;
}

.drawer-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--primary-coral);
}

.drawer-slides-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  overflow-y: auto;
  padding-right: 10px;
}

.drawer-thumb-card {
  background: #1E293B;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.drawer-thumb-card:hover, .drawer-thumb-card.active {
  border-color: var(--primary-coral);
  transform: translateY(-3px);
  background: #334155;
}

.thumb-number {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-coral);
}

.thumb-title {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}
