/* ──────────────────────────────────────────────
   styles.css — global custom CSS for the standalone site.
   ────────────────────────────────────────────── */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Cairo', 'Lato', sans-serif;
  background-color: #F5F5F4;
  color: #1C1917;
  direction: rtl;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cairo', sans-serif;
  word-break: keep-all;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5F5F4; }
::-webkit-scrollbar-thumb { background: #B08D57; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9A7A4A; }

/* Focus-visible for accessibility */
button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid #B08D57;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Map pin pulse rings (used on Branches hero) */
@keyframes map-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(2);   opacity: 0;   }
}
.animate-map-pulse           { animation: map-pulse 2s ease-out infinite; }
.animate-map-pulse-delayed   { animation: map-pulse 2s ease-out 0.5s infinite; }

/* Simple fade-in-up for any element with .fade-in-up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.fade-in-up { animation: fadeInUp 0.6s ease-out both; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
