/* ==========================================================================
   شاليهنا — صفحة الصيانة
   ========================================================================== */

@font-face {
  font-family: "Al Jazeera Arabic";
  src: url("assets/fonts/Al-Jazeera-Arabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Al Jazeera Arabic";
  src: url("assets/fonts/Al-Jazeera-Arabic-Regular.ttf") format("truetype");
  font-weight: 400 600;
  font-display: swap;
}
@font-face {
  font-family: "Al Jazeera Arabic";
  src: url("assets/fonts/Al-Jazeera-Arabic-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --blue: #5cb4e0;
  --blue-dark: #1f8fbd;
  --ink: #213235;
  --muted: #66787c;
  --line: #dbe7ea;
  --wash: #f6fafb;
  --coral: #e94723;

  --shadow-card: 0 12px 35px rgba(21, 67, 78, 0.08);
  --shadow-soft: 0 18px 55px rgba(21, 67, 78, 0.1);

  --radius: 24px;
  --gutter: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(92, 180, 224, 0.08), rgba(246, 250, 251, 0) 420px),
    var(--wash);
  font-family: "Al Jazeera Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
p {
  margin: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------- الهيدر */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1120px;
  margin-inline: auto;
  padding: 24px var(--gutter);
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-name {
  font-size: 15px;
  font-weight: 900;
  color: var(--ink);
}

.flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}

.temp {
  padding: 4px 12px;
  border: 2px solid var(--blue);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}

/* --------------------------------------------------------------- الهيرو */

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-bottom: 24px;
}

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

.hero h1 {
  margin-top: 20px;
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 900;
  line-height: 1.35;
}

.hero h1 span {
  display: block;
  color: var(--coral);
}

.hero p {
  margin: 16px auto 0;
  max-width: 36em;
  font-size: clamp(15px, 2.4vw, 18px);
  line-height: 2;
  color: var(--muted);
}

.hero p strong {
  color: var(--ink);
  font-weight: 700;
}

/* ------------------------------------------------------------- الآيفونات */

.phones {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}

.phone {
  --phone-lift: 0px;
  margin: 0;
  flex-shrink: 0;
  width: 41vw;
  max-width: 248px;
  padding: 6px;
  border-radius: 29px;
  background: #1b2a2d;
  box-shadow: var(--shadow-soft);
  transform: translateY(var(--phone-lift));
}

/* الشاشة الخلفية أنزل شوي عشان يبين العمق */
.phone-back {
  --phone-lift: 16px;
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 23px;
  background: #fff;
  /* نفس نسبة سكرين شوت الآيفون: 1206 × 2622 */
  aspect-ratio: 1206 / 2622;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.notch {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 14px;
  border-radius: 999px;
  background: #1b2a2d;
}

/* ------------------------------------------------------- أرقام التواصل */

.contact {
  padding-block: 48px;
  max-width: 960px;
}

.contact h2,
.soon h2 {
  font-size: clamp(20px, 4vw, 26px);
  font-weight: 900;
  text-align: center;
}

.section-sub {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.contact-number {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-call {
  background: var(--blue);
  color: #fff;
}

.btn-call:hover {
  background: var(--blue-dark);
}

.btn-wa {
  border: 1px solid var(--line);
  background: var(--wash);
  color: var(--ink);
}

.btn-wa:hover {
  border-color: var(--blue);
}

.btn-wa svg {
  color: var(--blue-dark);
}

/* ------------------------------------------------------------ قريباً */

.soon {
  padding: 40px 24px;
  border-radius: 28px;
  background: var(--blue);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.soon-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.soon p {
  margin: 12px auto 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}

.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.badges img {
  height: 48px;
  width: auto;
  opacity: 0.9;
}

.soon-note {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.socials a {
  display: block;
  width: 44px;
  height: 44px;
  transition: transform 0.2s ease;
}

.socials a:hover {
  transform: scale(1.05);
}

/* ------------------------------------------------------------- الفوتر */

.site-footer {
  margin-top: 64px;
  padding: 24px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

/* --------------------------------------------------- ظهور عند التمرير */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------- الشاشات */

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }

  .phones {
    gap: 24px;
  }

  .phone {
    width: 272px;
    max-width: none;
    padding: 10px;
    border-radius: 42px;
  }

  .phone-back {
    --phone-lift: 24px;
  }

  .phone-screen {
    border-radius: 32px;
  }

  .notch {
    top: 8px;
    width: 86px;
    height: 22px;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .soon {
    padding-inline: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

}
