/* ═══════════════════════════════════════════════════════════════════
   خارج المخزون — كود الويب المتطابق 100% مع فيجما (Figma Fidelity)
   ═══════════════════════════════════════════════════════════════════ */

/* ─── الخطوط الرسمية المعتمدة ─── */
@font-face {
  font-family: 'majallat-bidayat';
  src: url('../fonts/majallatbidayat-Regular.otf') format('opentype'),
       url('../assets/fonts/majallatbidayat-Regular.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'majallat bidayat ';
  src: url('../fonts/majallatbidayat-Regular.otf') format('opentype'),
       url('../assets/fonts/majallatbidayat-Regular.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muna';
  src:        url('../fonts/thmanyahsans-Regular.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muna';
  src:        url('../fonts/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyahsans-Bold.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'MunaBlack';
  src:        url('../fonts/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyahsans-Bold.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KharijMuna';
  src:        url('../fonts/thmanyahsans-Regular.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'KharijMunaBlack';
  src:        url('../fonts/thmanyahsans-Black.woff2') format('woff2'),
       url('../fonts/thmanyahsans-Bold.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah';
  src: url('../fonts/thmanyahsans-Regular.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah';
  src: url('../fonts/thmanyahsans-Bold.woff2') format('woff2'),
       url('../assets/fonts/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #fc0301;
  --yellow: #ffe604;
  --black: #000000;
  --dark: #121212;
  --font-default: 'Muna', 'Thmanyah', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-mobile-width: 520px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-default);
  background-color: #ffffff;
  color: #111111;
  direction: rtl;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #ffffff;
  overflow-x: hidden;
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
}

/* شريط تقدم التصفح العلوي */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

/* الحاويات المتجاوبة */
.responsive-wrapper {
  width: 100%;
}

.mobile-only {
  display: block;
  width: 100%;
}

.desktop-only {
  display: none;
  width: 100%;
}

.mobile-viewport-frame {
  width: 100%;
  max-width: var(--max-mobile-width);
  background: #ffffff;
  position: relative;
  box-shadow: none;
  overflow: hidden;
  margin: 0 auto;
  border: none;
  border-radius: 0;
}

@media (min-width: 600px) {
  .mobile-viewport-frame {
    border-radius: 0;
    margin-top: 0;
    margin-bottom: 0;
    border: none;
    box-shadow: none;
  }
}

.main-vector-canvas {
  width: 100%;
  height: auto;
  display: block;
  shape-rendering: geometricPrecision;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.svg-btn-cta {
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.svg-btn-cta:hover {
  opacity: 0.92;
}

.svg-btn-cta:active {
  transform: scale(0.98);
}

/* روابط الفوتر التفاعلية داخل الـ SVG (أيقونات التواصل الاجتماعي) */
.footer-social-links a {
  cursor: pointer;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.footer-social-links a:hover {
  opacity: 0.85;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
}

/* ═══════════════════════════════════════════════════════════════════
   شاشات الكمبيوتر واللابتوب (Desktop)
   ═══════════════════════════════════════════════════════════════════ */
@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
  
  .desktop-viewport-frame {
    width: 100%;
    background: #ffffff;
    box-shadow: none;
    border-radius: 0;
    overflow: hidden;
    border: none;
    margin: 0 auto;
  }
  
  .desktop-canvas {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   نافذة الحجز التفاعلية (Modal Popup)
   ═══════════════════════════════════════════════════════════════════ */

.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.booking-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal-box {
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  width: 100%;
  max-width: 440px;
  padding: 32px 24px;
  color: #ffffff;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(252, 3, 1, 0.25);
}

.booking-modal-overlay.active .booking-modal-box {
  transform: translateY(0) scale(1);
}

.modal-close-trigger {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-trigger:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-logo-header {
  text-align: center;
  margin-bottom: 22px;
}

.modal-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 12px;
}

.modal-heading {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  font-family: 'majallat-bidayat', sans-serif;
}

.modal-subheading {
  font-size: 14px;
  color: #aaa;
  line-height: 1.5;
}

.modal-booking-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-input-label {
  font-size: 13px;
  font-weight: 700;
  color: #ddd;
}

.form-text-input {
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-text-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(252, 3, 1, 0.25);
}

.modal-submit-btn {
  background: var(--red);
  color: #fff;
  font-family: 'majallat-bidayat', sans-serif;
  font-size: 22px;
  font-weight: 900;
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 8px 24px rgba(252, 3, 1, 0.5);
  transition: background 0.2s, transform 0.2s;
}

.modal-submit-btn:hover {
  background: #e00200;
  transform: translateY(-1px);
}

.modal-submit-btn:active {
  transform: translateY(1px);
}
