/* موکب زینبیه — Landing */

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Abar";
  src: url("../fonts/Abar-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #1b7340;
  --green-deep: #0f4a28;
  --green-soft: #246b42;
  --gold: #c5a069;
  --gold-light: #d4b887;
  --gold-dim: rgba(197, 160, 105, 0.35);
  --black: #050805;
  --ink: #0a120c;
  --cream: #f3efe6;
  --muted: rgba(243, 239, 230, 0.72);
  --line: rgba(197, 160, 105, 0.28);
  --radius: 14px;
  --max: 1120px;
  --font: "Abar", Tahoma, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--cream);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Atmospheric base */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 80% 10%, rgba(27, 115, 64, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 70%, rgba(197, 160, 105, 0.08), transparent 55%),
    linear-gradient(180deg, #050805 0%, #07140c 45%, #050805 100%);
}

.arabesque {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath fill='none' stroke='%23c5a069' stroke-width='1.2' d='M60 10c12 18 28 18 40 0-12 18-12 34 0 52-12-18-28-18-40 0 12-18 12-34 0-52zm0 100c-12-18-28-18-40 0 12-18 12-34 0-52 12 18 28 18 40 0-12 18-12 34 0 52z'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

/* Nav */
.site-nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  background: rgba(5, 8, 5, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  border: 1px solid var(--gold-dim);
  color: var(--cream) !important;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1408;
  box-shadow: 0 10px 30px rgba(197, 160, 105, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 14px 36px rgba(197, 160, 105, 0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--gold-dim);
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(197, 160, 105, 0.08);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 5, 0.35) 0%, rgba(5, 8, 5, 0.55) 42%, rgba(5, 8, 5, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 8, 5, 0.55) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 7.5rem 0 4.5rem;
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  max-width: 36rem;
}

.hero-logo {
  width: min(220px, 48vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
  animation: logoRise 1.1s ease both;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  animation: fadeUp 0.9s 0.15s ease both;
}

.hero-title span {
  display: block;
  font-size: 0.42em;
  font-weight: 500;
  color: var(--gold-light);
  margin-top: 0.35rem;
}

.hero-lead {
  margin: 0;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.08rem;
  animation: fadeUp 0.9s 0.28s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.4rem;
  animation: fadeUp 0.9s 0.4s ease both;
}

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--gold);
  font-size: 0.85rem;
  opacity: 0.8;
  animation: bob 2.2s ease-in-out infinite;
}

/* Sections shared */
section {
  padding: 5.5rem 0;
  position: relative;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.8rem;
}

.section-kicker {
  display: inline-block;
  color: var(--gold);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  font-weight: 800;
  line-height: 1.35;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.gold-rule {
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1rem 0 0;
  border: 0;
}

/* Intro */
.intro {
  background:
    linear-gradient(180deg, transparent, rgba(27, 115, 64, 0.08) 30%, transparent);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.8rem;
  align-items: center;
}

.intro-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}

.intro-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.intro-visual::before,
.intro-visual::after {
  content: "";
  position: absolute;
  inset: 12% auto 12% 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  z-index: 1;
}

.intro-visual::after {
  inset: 12% 0 12% auto;
}

.amenity-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--cream);
}

.amenity-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197, 160, 105, 0.15);
}

/* Features */
.features {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 74, 40, 0.18), transparent 70%);
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature {
  padding: 0.4rem 0.2rem 1rem;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s ease;
}

.feature:hover {
  border-top-color: var(--gold);
}

.feature img {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.1rem;
  border: 1px solid var(--gold-dim);
}

.feature h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-light);
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.process-steps-form {
  grid-template-columns: repeat(5, 1fr);
}

.step {
  position: relative;
  padding: 1.6rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(27, 115, 64, 0.18), rgba(5, 8, 5, 0.4));
  min-height: 180px;
}

.step-num {
  position: absolute;
  top: -0.85rem;
  right: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1408;
  background: var(--gold);
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.field-label {
  display: block;
  margin: 0.35rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.field-input {
  width: 100%;
  appearance: none;
  border: 1px solid var(--gold-dim);
  background: rgba(5, 8, 5, 0.55);
  color: var(--cream);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 160, 105, 0.15);
}

.field-input option {
  background: #0f1a12;
  color: var(--cream);
}

.field-input-other {
  margin-top: 0.55rem;
}

.form-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.form-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--gold-light);
  font-weight: 600;
  white-space: pre-line;
}

.form-message.is-error {
  color: #f0a8a8;
}

.form-message.is-success {
  color: #9fdfb4;
}

.registration-form .btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.step h3 {
  margin: 0.4rem 0 0.55rem;
  font-size: 1.08rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* News strip */
.news-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.news-items {
  display: grid;
  gap: 0;
}

.news-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.news-item:first-child {
  border-top: 1px solid var(--line);
}

.news-mark {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1.6;
}

.news-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  padding: 0 0 5.5rem;
}

.cta-shell {
  position: relative;
  overflow: hidden;
  padding: 3rem 2rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(197, 160, 105, 0.18), transparent 50%),
    linear-gradient(120deg, var(--green-deep), #0a2e1a 55%, #07140c);
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
  text-align: center;
}

.cta-shell h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.cta-shell p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 0;
}

.footer-brand strong {
  display: block;
  font-size: 1.05rem;
}

.footer-brand span {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-copy {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(197, 160, 105, 0.15);
  color: rgba(243, 239, 230, 0.45);
  font-size: 0.85rem;
  text-align: center;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}

@keyframes logoRise {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.55; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}

/* Responsive */
@media (max-width: 960px) {
  .feature-rail,
  .process-steps,
  .intro-grid,
  .news-panel {
    grid-template-columns: 1fr;
  }

  .feature-rail {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps-form {
    grid-template-columns: 1fr 1fr;
  }

  .intro-visual img {
    mask-image: linear-gradient(180deg, #000 70%, transparent);
  }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed;
    inset: 64px 1rem auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem;
    background: rgba(5, 8, 5, 0.96);
    border: 1px solid var(--line);
    border-radius: 14px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.85rem 0.9rem;
  }

  .nav-links .nav-cta {
    margin: 0.4rem;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .feature-rail,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-steps-form {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 6.5rem;
  }

  .cta-shell {
    padding: 2.4rem 1.2rem;
  }
}
