/* ==========================================================================
   IFI — Coming Soon
   ضع هذا الملف بجانب index.html مباشرة.
   ========================================================================== */

:root {
  --ifi-green: #294431;
  --ifi-gold: #b68f42;
  --ifi-ivory: #f8f6f0;
  --ifi-text: #20392a;
  --page-padding: clamp(1.25rem, 4vw, 4rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  background: var(--ifi-ivory);
  color: var(--ifi-text);
  font-family: "Tajawal", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.coming-soon {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ifi-ivory);
}

.coming-soon__background,
.coming-soon__background img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.coming-soon__background {
  z-index: -3;
}

.coming-soon__background img {
  object-fit: cover;
  object-position: center;
}

/*
  طبقة شفافة جداً حتى تحافظ على وضوح الشعار والنص.
  يمكنك تقليل opacity إلى 0 إذا كانت الخلفية فاتحة بما يكفي.
*/
.coming-soon__overlay {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(248, 246, 240, 0.18) 0%,
      rgba(248, 246, 240, 0.1) 46%,
      rgba(248, 246, 240, 0.24) 100%
    );
  pointer-events: none;
}

.coming-soon__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(100%, 740px);
  margin: auto;
  padding: calc(var(--page-padding) + 1rem) var(--page-padding);
  text-align: center;
}

.coming-soon__logo {
  display: block;
  width: clamp(170px, 20vw, 290px);
  height: auto;
  max-height: 290px;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(31, 60, 43, 0.08));
}

.coming-soon__copy {
  max-width: 620px;
}

.coming-soon__eyebrow {
  margin: 0 0 0.85rem;
  color: var(--ifi-gold);
  font-family: Arial, sans-serif;
  font-size: clamp(0.65rem, 1vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--ifi-green);
  font-family: "Tajawal", Arial, sans-serif;
  font-size: clamp(3.1rem, 8vw, 6.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.28;
}

.coming-soon__message {
  max-width: 530px;
  margin: clamp(1rem, 2vw, 1.35rem) auto 0;
  color: var(--ifi-green);
  font-family: "Tajawal", Arial, sans-serif;
  font-size: clamp(1rem, 1.65vw, 1.28rem);
  font-weight: 500;
  line-height: 2;
}

.coming-soon__divider {
  display: block;
  width: 60px;
  height: 1px;
  margin: clamp(1.1rem, 2vw, 1.5rem) auto;
  background: var(--ifi-gold);
}

.coming-soon__english {
  margin: 0;
  color: rgba(41, 68, 49, 0.72);
  direction: ltr;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(0.68rem, 1vw, 0.82rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.8;
}

.coming-soon__footer {
  align-self: end;
  justify-self: center;
  padding: 1.15rem var(--page-padding);
  color: color-mix(in srgb, var(--ifi-green) 72%, #fff 28%);
  font-size: 0.7rem;
  line-height: 1.7;
  text-align: center;
}

/* تحسين تموضع الخلفية والنصوص على الهاتف */
@media (max-width: 700px) {
  .coming-soon__background img {
    object-position: center;
  }

  .coming-soon__content {
    justify-content: center;
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .coming-soon__logo {
    width: min(61vw, 245px);
    margin-bottom: 1.55rem;
  }

  .coming-soon__eyebrow {
    letter-spacing: 0.15em;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.4rem);
  }

  .coming-soon__message {
    max-width: 315px;
    font-size: 0.98rem;
    line-height: 2;
  }
}

/* احترام إعداد تقليل الحركة في أنظمة التشغيل */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
