/* ==========================================================================
   Valora Realty — Shared stylesheet
   Design tokens + reset + site header/nav + footer + cookie banner + buttons
   Reused on every page. Page-specific sections live in their own CSS file.
   ========================================================================== */

:root {
  --v-marine: #0B3D4C;
  --v-marine-2: #12586B;
  --v-gold: #C0913E;
  --v-gold-soft: #F3E9D6;
  --v-sand: #F7F3EA;
  --v-white: #FFFFFF;
  --v-ink: #12262C;
  --v-muted: #5B6E74;
  --v-line: #E4DCC9;
  --v-wa: #25D366;
  --v-wa-dark: #1DA851;
  --v-radius: 16px;
  --v-radius-btn: 12px;
  --v-shadow: 0 10px 30px rgba(11, 61, 76, .10);
  --v-font-display: "Alexandria", sans-serif;
  --v-font-body: "Tajawal", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--v-font-body);
  direction: rtl;
  color: var(--v-ink);
  background: var(--v-sand);
  line-height: 1.7;
}

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

a { color: inherit; }

/* ---------- Header / nav ---------- */

.vlr-nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9990;
  direction: rtl;
  font-family: var(--v-font-body);
  padding: 18px 0;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}

.vlr-nav-shell.vlr-nav-solid {
  background: var(--v-marine);
  box-shadow: 0 6px 22px rgba(11, 61, 76, .18);
  padding: 9px 0;
}

.vlr-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vlr-logo {
  font-family: var(--v-font-display);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 2.5px;
  color: #fff;
  text-decoration: none;
  direction: ltr;
}
.vlr-logo .vlr-dot { color: var(--v-gold); }

.vlr-nav-links { display: flex; align-items: center; gap: 26px; }

.vlr-nav-links a {
  font-family: var(--v-font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  text-decoration: none;
  transition: .2s;
  position: relative;
  padding: 5px 0;
}
.vlr-nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0; left: 0;
  height: 2px;
  background: var(--v-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.vlr-nav-links a:hover { color: var(--v-gold-soft); }
.vlr-nav-links a:hover::after { transform: scaleX(1); }

.vlr-nav-right { display: flex; align-items: center; gap: 10px; }

.vlr-nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--v-wa);
  color: #fff;
  text-decoration: none;
  font-family: var(--v-font-display);
  font-weight: 700;
  font-size: 13px;
  border-radius: 50px;
  padding: 8px 16px;
  transition: .2s;
}
.vlr-nav-wa:hover { background: var(--v-wa-dark); }
.vlr-nav-wa i { font-size: 15px; }

.vlr-hamburger {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}
.vlr-hamburger:hover { background: rgba(255,255,255,.2); }

.vlr-mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(11,38,44,.55);
  z-index: 9994;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.vlr-mobile-overlay.is-open { opacity: 1; pointer-events: auto; }

.vlr-mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 82%; max-width: 320px;
  background: var(--v-marine);
  z-index: 9995;
  transform: translateX(100%);
  transition: transform .3s ease;
  padding: 65px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: -10px 0 30px rgba(0,0,0,.25);
  overflow-y: auto;
}
.vlr-mobile-menu.is-open { transform: translateX(0); }

.vlr-mobile-menu a {
  font-family: var(--v-font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: #fff;
  text-decoration: none;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.vlr-mobile-menu a:last-child { border-bottom: none; margin-top: 10px; }

.vlr-mobile-close {
  position: absolute;
  top: 16px; left: 16px;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(255,255,255,.10);
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .vlr-nav-links { display: none; }
  .vlr-nav-wa span { display: none; }
  .vlr-nav-wa { padding: 8px 11px; }
  .vlr-hamburger { display: flex; }
  .vlr-logo { font-size: 18px; }
}

/* ---------- Buttons (shared shape used across pages) ---------- */

.vlr-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--v-gold);
  color: #fff;
  text-decoration: none;
  font-family: var(--v-font-display);
  font-weight: 800;
  font-size: 14.5px;
  border-radius: var(--v-radius-btn);
  padding: 13px 30px;
  border: none;
  cursor: pointer;
  transition: .25s;
  box-shadow: 0 8px 26px rgba(192,145,62,.28);
}
.vlr-btn-primary:hover { background: #A97A2E; transform: translateY(-2px); }

.vlr-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--v-wa);
  color: #fff;
  text-decoration: none;
  font-family: var(--v-font-display);
  font-weight: 800;
  font-size: 14.5px;
  border-radius: var(--v-radius-btn);
  padding: 13px 30px;
  border: none;
  cursor: pointer;
  transition: .25s;
  box-shadow: 0 8px 26px rgba(37,211,102,.28);
}
.vlr-btn-wa:hover { background: var(--v-wa-dark); transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
  .vlr-btn-primary:hover, .vlr-btn-wa:hover { transform: none; }
}

/* ---------- Footer ---------- */

.vlr-footer {
  background: var(--v-marine);
  color: #C9DDE3;
  font-family: var(--v-font-body);
  direction: rtl;
  padding: 52px 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.vlr-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
}

.vlr-foot-col h4 {
  font-family: var(--v-font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--v-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.vlr-foot-brand .vlr-logo { font-size: 22px; color: #fff; display: inline-block; margin-bottom: 12px; }
.vlr-foot-desc { font-size: 13.5px; line-height: 1.8; color: #9FC2CC; max-width: 340px; }

.vlr-foot-links { display: flex; flex-direction: column; gap: 10px; }
.vlr-foot-links a {
  color: #C9DDE3;
  text-decoration: none;
  font-size: 13.5px;
  font-family: var(--v-font-display);
  font-weight: 500;
  transition: .2s;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
}
.vlr-foot-links a i { color: var(--v-gold); font-size: 10px; transition: .2s; }
.vlr-foot-links a:hover { color: #fff; }
.vlr-foot-links a:hover i { transform: translateX(-3px); }

.vlr-foot-contact div { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 13px; font-size: 13.5px; }
.vlr-foot-contact i { color: var(--v-gold); margin-top: 3px; width: 16px; text-align: center; font-size: 13.5px; }
.vlr-foot-contact a { color: #C9DDE3; text-decoration: none; transition: .2s; direction: ltr; font-family: var(--v-font-display); font-weight: 500; font-size: 14px; }
.vlr-foot-contact a:hover { color: #fff; }
.vlr-foot-contact small { color: #7EA0AA; font-size: 11.5px; display: block; margin-top: 1px; }

.vlr-foot-bottom {
  margin-top: 44px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #7EA0AA;
}
.vlr-foot-bottom a {
  color: #9FC2CC;
  text-decoration: none;
  margin-right: 14px;
  transition: .2s;
  font-family: var(--v-font-display);
  font-weight: 500;
  font-size: 12px;
}
.vlr-foot-bottom a:hover { color: #fff; }

.vlr-foot-credit {
  direction: ltr;
  text-align: center;
  padding: 14px 20px 22px;
  font-family: var(--v-font-display);
  font-weight: 500;
  font-size: 11.5px;
  color: #5E848D;
}
.vlr-foot-credit a {
  display: inline-block;
  color: var(--v-gold);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(192,145,62,.45);
  padding-bottom: 1px;
  transition: .2s;
}
.vlr-foot-credit a:hover { color: var(--v-gold-soft); border-bottom-color: var(--v-gold-soft); }

.vlr-disclaimer {
  max-width: 1200px;
  margin: 38px auto 0;
  padding: 18px 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.vlr-disclaimer-icon {
  width: 30px; height: 30px; min-width: 30px;
  border-radius: 8px;
  background: rgba(192,145,62,.15);
  border: 1px solid rgba(192,145,62,.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--v-gold);
  font-size: 12.5px;
}
.vlr-disclaimer-text { font-size: 11.5px; line-height: 1.85; color: #9FC2CC; }
.vlr-disclaimer-text b { color: #C9DDE3; font-family: var(--v-font-display); font-weight: 700; }

@media (max-width: 820px) {
  .vlr-footer { padding: 44px 16px 0; }
  .vlr-footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .vlr-foot-bottom { justify-content: center; text-align: center; flex-direction: column; }
  .vlr-disclaimer { padding: 14px 16px; margin-top: 30px; }
  .vlr-disclaimer-text { font-size: 11px; line-height: 1.8; }
}

/* ---------- Cookie banner ---------- */

.vlr-cookies {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 9992;
  background: #fff;
  border: 1px solid var(--v-line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(11,61,76,.16);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--v-font-body);
  direction: rtl;
  color: var(--v-ink);
  transform: translateY(200%);
  transition: transform .4s cubic-bezier(.2,.9,.3,1), opacity .3s;
  max-width: 880px;
  margin: 0 auto;
  opacity: 0;
}
.vlr-cookies.is-visible { transform: translateY(0); opacity: 1; }

.vlr-cookies-icon {
  width: 28px; height: 28px; min-width: 28px;
  border-radius: 8px;
  background: var(--v-gold-soft);
  color: var(--v-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.vlr-cookies-text { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.5; }
.vlr-cookies-text a { color: var(--v-marine); font-family: var(--v-font-display); font-weight: 700; text-decoration: underline; white-space: nowrap; }
.vlr-cookies-accept {
  background: var(--v-marine);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: var(--v-font-display);
  font-weight: 700;
  font-size: 12.5px;
  border-radius: 8px;
  padding: 7px 16px;
  transition: .2s;
  white-space: nowrap;
}
.vlr-cookies-accept:hover { background: var(--v-marine-2); }
.vlr-cookies-close {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--v-muted);
  font-size: 12px;
  transition: .2s;
  display: flex; align-items: center; justify-content: center;
}
.vlr-cookies-close:hover { background: var(--v-sand); color: var(--v-ink); }

@media (max-width: 640px) {
  .vlr-cookies { padding: 10px 12px; left: 8px; right: 8px; bottom: 8px; gap: 8px; border-radius: 10px; }
  .vlr-cookies-text { font-size: 11.5px; line-height: 1.45; }
}
