/* ============================================================
   SIGNATURE ASSOCIATES KSA — Premium Minimal Design
   Black · White · Gold
   ============================================================ */

:root {
  --gold: #c9a84c;
  --gold-light: #dfc06f;
  --black: #000;
  --white: #fff;
  --gray: #777;
  --off-white: #f7f7f5;
  --border: #e2e0db;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Naskh Arabic', 'Libre Baskerville', Georgia, serif;
  color: var(--black);
  line-height: 1.85;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[dir="ltr"] {
  font-family: 'Libre Baskerville', 'Noto Naskh Arabic', Georgia, serif;
}

.sa-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.sa-lang {
  position: fixed;
  top: 2rem;
  z-index: 200;
  background: rgba(0,0,0,0.85);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.55rem 1.6rem;
  font-family: 'Libre Baskerville', serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body[dir="rtl"] .sa-lang { left: 2rem; }
body[dir="ltr"] .sa-lang { right: 2rem; }

.sa-lang:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* ============================================================
   HERO
   ============================================================ */
.sa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  overflow: hidden;
}

.sa-hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.sa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 1;
}

.sa-dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.sa-hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sa-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: sa-up 1.4s var(--ease) both;
}

@keyframes sa-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.sa-logo {
  height: 520px;
  width: auto;
  margin-bottom: 3.5rem;
  animation: sa-breathe 4s ease-in-out infinite;
}

@keyframes sa-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.04); opacity: 0.92; }
}

.sa-hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.sa-hero-h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 1.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.sa-hero-sub {
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 3.5rem;
  font-weight: 400;
}

.sa-cta {
  display: inline-block;
  padding: 0.95rem 3rem;
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.sa-cta:hover {
  background: var(--gold-light);
}

.sa-scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: sa-pulse 2.5s ease-in-out infinite;
}

@keyframes sa-pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; }
}

/* ============================================================
   NARRATIVE
   ============================================================ */
.sa-narrative {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--white);
}

.sa-nar-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4rem;
  align-items: start;
}

.sa-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  border-top: 2px solid var(--gold);
  padding-top: 1rem;
  display: inline-block;
}

.sa-nar-body h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 700;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 2rem;
}

.sa-nar-body p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 2;
  max-width: 580px;
}

.sa-nar-image {
  margin-top: 4rem;
}

.sa-nar-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

/* ============================================================
   PHOTO STRIP
   ============================================================ */
.sa-photo-strip {
  height: 400px;
  overflow: hidden;
  position: relative;
}

.sa-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: grayscale(15%);
}

/* ============================================================
   SECTION TITLE
   ============================================================ */
.sa-sec-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 4rem;
  color: var(--black);
  position: relative;
  padding-bottom: 1.25rem;
}

.sa-sec-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--gold);
}

body[dir="rtl"] .sa-sec-title::after { right: 0; }
body[dir="ltr"] .sa-sec-title::after { left: 0; }

.sa-industries .sa-sec-title { color: var(--white); }

/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.sa-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sa-bg-services { background-image: url('images/services-bg.jpg'); }
.sa-bg-industries { background-image: url('images/industries-bg.jpg'); }
.sa-bg-contact { background-image: url('images/contact-bg.jpg'); }

.sa-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 245, 0.92);
  z-index: 1;
}

.sa-section-overlay--dark {
  background: rgba(0, 0, 0, 0.82);
}

.sa-section-overlay--warm {
  background: rgba(255, 255, 255, 0.88);
}

/* ============================================================
   SERVICES
   ============================================================ */
.sa-services {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
}

.sa-services .sa-wrap { position: relative; z-index: 2; }

.sa-svc-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.sa-svc {
  padding: 3rem;
  background: var(--white);
  transition: border-color 0.3s var(--ease);
  border: 1px solid var(--border);
}

.sa-svc:hover { border-color: var(--gold); }

.sa-svc-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.75rem;
}

.sa-svc h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.sa-svc ul {
  list-style: none;
}

.sa-svc li {
  padding: 0.55rem 0;
  font-size: 0.85rem;
  color: var(--gray);
  border-bottom: 1px solid var(--border);
}

.sa-svc li:last-child { border-bottom: none; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.sa-industries {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
}

.sa-industries .sa-wrap { position: relative; z-index: 2; }

.sa-ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.sa-ind-grid span {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.75rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.sa-ind-grid span:hover {
  color: var(--gold);
  background: rgba(201,168,76,0.04);
}

/* ============================================================
   CONTACT
   ============================================================ */
.sa-contact {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) 0;
  overflow: hidden;
  text-align: center;
}

.sa-contact .sa-wrap { position: relative; z-index: 2; }

.sa-contact-photo {
  max-width: 520px;
  margin: 0 auto 3rem;
  overflow: hidden;
}

.sa-contact-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
}

.sa-contact .sa-sec-title {
  display: inline-block;
  color: var(--black);
}

.sa-contact .sa-sec-title::after {
  right: 50%;
  transform: translateX(50%);
}

body[dir="ltr"] .sa-contact .sa-sec-title::after {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.sa-contact-sub {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.sa-contact-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.sa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  font-family: inherit;
}

.sa-btn-wa {
  background: #25D366;
  color: var(--white);
}

.sa-btn-wa:hover { background: #1fb855; }

.sa-btn-email {
  background: var(--black);
  color: var(--white);
}

.sa-btn-email:hover {
  background: var(--gold);
  color: var(--black);
}

/* ============================================================
   FOOTER
   ============================================================ */
.sa-footer {
  padding: 2.5rem 0;
  background: var(--black);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sa-footer-addr {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
  line-height: 1.8;
}

.sa-footer-copy {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
}

.sa-footer-credit {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  margin-top: 0.5rem;
}

.sa-footer-credit a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}

.sa-footer-credit a:hover {
  color: #ff6b00;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.sa-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.sa-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .sa-nar-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sa-svc-row {
    grid-template-columns: 1fr;
  }
  .sa-ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .sa-logo { height: 360px; }
  .sa-nar-image img { height: 300px; }
  .sa-photo-strip { height: 280px; }
  .sa-contact-photo img { height: 220px; }
  .sa-ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sa-contact-btns {
    flex-direction: column;
    align-items: center;
  }
  .sa-btn {
    width: 100%;
    justify-content: center;
  }
  .sa-lang {
    top: 1.25rem;
  }
  body[dir="rtl"] .sa-lang { left: 1.25rem; }
  body[dir="ltr"] .sa-lang { right: 1.25rem; }
}

@media (max-width: 480px) {
  .sa-logo { height: 280px; margin-bottom: 2.5rem; }
  .sa-svc { padding: 2rem 1.5rem; }
  .sa-ind-grid { grid-template-columns: 1fr 1fr; }
  .sa-hero-inner { padding: 1.5rem; }
  .sa-nar-image img { height: 220px; }
  .sa-photo-strip { height: 200px; }
  .sa-contact-photo img { height: 180px; }
}
