/* ==========================================
   WATAN'S ALLSERVICE AB — v5 Light Professional
   Theme: Warm cream/white + Deep navy + Gold accent
   Typography: Outfit (display) + Plus Jakarta Sans (body)
   ========================================== */

/* ---------- CSS Variables ---------- */
:root {
  --gold: #c8930a;
  --gold-light: #e8b230;
  --gold-dark: #9a7200;
  --gold-glow: rgba(200, 147, 10, 0.18);
  --gold-glow-strong: rgba(200, 147, 10, 0.32);
  --navy: #1a2332;
  --navy-light: #2a3a50;
  --bg: #1e2230;
  --bg-card: #252a3a;
  --bg-section: #222738;
  --bg-elevated: #2a3044;
  --bg-dark: #181c28;
  --text: #e8e8ec;
  --text-secondary: rgba(232, 232, 236, 0.65);
  --text-muted: rgba(232, 232, 236, 0.38);
  --text-on-dark: #e8e8ec;
  --text-on-dark-secondary: rgba(232, 232, 236, 0.65);
  --text-on-dark-muted: rgba(232, 232, 236, 0.38);
  --border: rgba(26, 35, 50, 0.08);
  --border-hover: rgba(200, 147, 10, 0.3);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Outfit', 'Bebas Neue', 'Arial Black', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-ar: 'Noto Sans Arabic', 'Plus Jakarta Sans', sans-serif;
  --shadow: 0 4px 24px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 8px 32px rgba(26, 35, 50, 0.1);
  --shadow-lg: 0 16px 48px rgba(26, 35, 50, 0.12);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--noise);
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: var(--font-ar);
}

html[dir="rtl"] {
  direction: rtl;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

::selection {
  background: var(--gold);
  color: white;
}

/* ==========================================
   LOADER
   ========================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  margin-bottom: 24px;
  animation: loaderPulse 1.2s ease-in-out infinite;
  text-shadow: 0 0 40px var(--gold-glow);
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.04); }
}

.loader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 18px;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  animation: loaderFill 1.8s ease-in-out forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  60% { width: 70%; }
  100% { width: 100%; }
}

.loader-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
}

/* ==========================================
   PROGRESS BAR
   ========================================== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  z-index: 100000;
  transition: width 0.08s linear;
  box-shadow: 0 0 12px var(--gold-glow);
}

html[dir="rtl"] .progress-bar { left: auto; right: 0; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(30, 34, 48, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; }

.logo-img {
  height: 46px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .logo-img { height: 38px; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

html[dir="rtl"] .nav-link::after { left: auto; right: 0; }

.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.navbar.scrolled .lang-switcher {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.08em;
}

.navbar.scrolled .lang-btn { color: rgba(255, 255, 255, 0.4); }

.lang-btn:hover { color: rgba(255, 255, 255, 0.7); }
.navbar.scrolled .lang-btn:hover { color: rgba(255, 255, 255, 0.65); }

.lang-btn.active {
  background: var(--gold);
  color: white;
}

.navbar.scrolled .lang-btn.active {
  color: white;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(20, 24, 34, 0.92) 0%,
      rgba(212, 160, 23, 0.1) 40%,
      rgba(184, 115, 51, 0.08) 60%,
      rgba(20, 24, 34, 0.9) 100%
    ),
    linear-gradient(to top,
      rgba(20, 24, 34, 1) 0%,
      rgba(20, 24, 34, 0.3) 30%,
      transparent 50%,
      rgba(20, 24, 34, 0.6) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  padding: 0 24px;
  animation: heroFadeIn 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  padding: 7px 20px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: heroFadeIn 1s ease-out 0.15s both;
}

.hero-title {
  margin-bottom: 20px;
  animation: heroFadeIn 1s ease-out 0.3s both;
}

.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 0.9;
  background: linear-gradient(170deg, #fff 0%, var(--gold-light) 40%, #fff 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-title-sub {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: heroFadeIn 1s ease-out 0.45s both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease-out 0.6s both;
}

/* Trust bar */
.hero-trust {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
  animation: heroFadeIn 1s ease-out 0.8s both;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: var(--gold);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

.btn-glow {
  box-shadow: 0 0 24px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.2; height: 30px; }
  50% { opacity: 0.8; height: 50px; }
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section {
  padding: 110px 0;
  position: relative;
}

.section:nth-child(even) {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 14px;
  position: relative;
}

.section-tag::before,
.section-tag::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.section-tag::before { right: calc(100% + 12px); }
.section-tag::after { left: calc(100% + 12px); }

html[dir="rtl"] .section-tag::before { right: auto; left: calc(100% + 12px); }
html[dir="rtl"] .section-tag::after { left: auto; right: calc(100% + 12px); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ==========================================
   SERVICES
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  row-gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  border-color: rgba(200, 147, 10, 0.2);
  background: linear-gradient(180deg, rgba(200, 147, 10, 0.04) 0%, var(--bg-card) 100%);
}

.service-card.featured::before { transform: scaleX(1); }

.service-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 3px 10px;
  background: var(--gold);
  color: white;
  font-family: var(--font-display);
  font-size: 0.72rem;
  border-radius: 3px;
  letter-spacing: 0.12em;
}

html[dir="rtl"] .service-badge { right: auto; left: 14px; }

.service-icon-wrap {
  width: 60px;
  height: 60px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 147, 10, 0.08);
  border-radius: 14px;
  color: var(--gold);
  border: 1px solid rgba(200, 147, 10, 0.12);
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: rgba(200, 147, 10, 0.14);
  border-color: rgba(200, 147, 10, 0.25);
  transform: scale(1.05);
}

.service-icon-wrap svg { width: 32px; height: 32px; }

.service-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 18px;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  text-align: left;
}

html[dir="rtl"] .service-features { text-align: right; }

.service-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

html[dir="rtl"] .service-features li { padding-left: 0; padding-right: 18px; }

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: transparent;
}

html[dir="rtl"] .service-features li::before { left: auto; right: 0; }

/* ==========================================
   CTA BANNER
   ========================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Parallax effect */
  position: absolute;
  top: -20%;
  height: 140%;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(30, 34, 48, 0.88) 0%,
      rgba(30, 34, 48, 0.6) 50%,
      rgba(30, 34, 48, 0.88) 100%
    );
}

.cta-banner-overlay-alt {
  background:
    linear-gradient(160deg,
      rgba(30, 34, 48, 0.85) 0%,
      rgba(30, 34, 48, 0.55) 50%,
      rgba(30, 34, 48, 0.85) 100%
    );
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.cta-banner-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-banner-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   ABOUT
   ========================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images { position: relative; }

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-img-main img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 0.7s ease, filter 0.7s ease;
  filter: contrast(1.08) brightness(1.02) saturate(0.9);
}

.about-img-main:hover img {
  transform: scale(1.03);
  filter: contrast(1.1) brightness(1.05) saturate(1);
}

.img-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(30, 34, 48, 0.15) 0%, transparent 30%, transparent 55%, rgba(30, 34, 48, 0.6) 100%),
    radial-gradient(ellipse at center 40%, transparent 40%, rgba(30, 34, 48, 0.25) 100%);
  pointer-events: none;
  transition: var(--transition);
}

.about-img-main:hover .img-overlay {
  background:
    linear-gradient(to bottom, rgba(30, 34, 48, 0.08) 0%, transparent 30%, transparent 60%, rgba(30, 34, 48, 0.45) 100%),
    radial-gradient(ellipse at center 40%, transparent 50%, rgba(30, 34, 48, 0.15) 100%);
}


.about-content .section-tag,
.about-content .section-title { text-align: left; }

.about-content .section-tag::before { display: none; }

html[dir="rtl"] .about-content .section-tag,
html[dir="rtl"] .about-content .section-title { text-align: right; }

html[dir="rtl"] .about-content .section-tag::after { display: none; }

.about-content .section-title { margin-bottom: 20px; }

.about-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-text:last-of-type { margin-bottom: 28px; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.stat:hover {
  border-color: var(--border-hover);
  background: rgba(200, 147, 10, 0.06);
}

.stat-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 147, 10, 0.1);
  border-radius: 10px;
  color: var(--gold);
}

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================
   TEAM
   ========================================== */
.team-section { background: var(--bg-section); }

.team-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.team-photo {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
}

.team-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 24, 34, 0.65) 0%, transparent 40%),
    linear-gradient(160deg, rgba(212, 160, 23, 0.06) 0%, transparent 100%);
}

/* ==========================================
   GALLERY / SLIDER
   ========================================== */
.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 24, 34, 0.85) 0%, rgba(20, 24, 34, 0.1) 40%),
    linear-gradient(160deg, rgba(212, 160, 23, 0.06) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.slide-overlay span {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: white;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(20, 24, 34, 0.65);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
}

.slider-btn:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.slider-btn-prev { left: 16px; }
.slider-btn-next { right: 16px; }

html[dir="rtl"] .slider-btn-prev { left: auto; right: 16px; }
html[dir="rtl"] .slider-btn-next { right: auto; left: 16px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.slider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 3px;
}

/* ==========================================
   REVIEWS
   ========================================== */
.reviews { background: var(--bg-section); }
.reviews .review-text { color: var(--text-secondary); }
.reviews .review-source { color: var(--text-muted); }

.reviews-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.reviews-stars { display: flex; gap: 2px; }

.reviews-rating {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 0.06em;
}

.reviews-count {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.review-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
  margin-bottom: 18px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: white;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.85rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

.review-source {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================
   CONTACT
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: stretch;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow);
}

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

.contact-card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200, 147, 10, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(200, 147, 10, 0.12);
  color: var(--gold);
}

.contact-card-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 350px;
  border: 1px solid var(--border);
}

.contact-map iframe {
  filter: brightness(0.82) contrast(1.05) saturate(0.7);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 56px 0 22px;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h5,
.footer-contact h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================
   GO TO TOP
   ========================================== */
.go-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--gold-glow);
}

html[dir="rtl"] .go-top { right: auto; left: 28px; }

.go-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.go-top:hover {
  background: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--gold-glow-strong);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] { transform: translateX(-28px); }
[data-animate="fade-left"] { transform: translateX(28px); }

html[dir="rtl"] [data-animate="fade-right"] { transform: translateX(28px); }
html[dir="rtl"] [data-animate="fade-left"] { transform: translateX(-28px); }

[data-animate].animated {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .about-grid { gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 35, 50, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

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

  .nav-links .nav-link {
    font-size: 1.4rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-hamburger { display: flex; z-index: 1001; }
  .nav-cta { display: none; }

  .hero-title-main { font-size: clamp(3rem, 14vw, 5rem); }
  .hero-title-sub { letter-spacing: 0.2em; font-size: clamp(0.9rem, 3vw, 1.4rem); }

  .hero-trust { flex-direction: column; gap: 6px; padding: 10px 18px; }
  .hero-trust-divider { display: none; }

  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-img-main img { height: 400px; }

  .about-content .section-tag,
  .about-content .section-title,
  .about-text { text-align: center; }
  html[dir="rtl"] .about-content .section-tag,
  html[dir="rtl"] .about-content .section-title { text-align: center; }

  .team-photo { height: 280px; }
  .slider-slide { aspect-ratio: 16/10; }
  .slider-btn { width: 38px; height: 38px; }
  .slider-btn-prev { left: 8px; }
  .slider-btn-next { right: 8px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 260px; }

  .footer-content { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer-links { flex-direction: row; justify-content: center; flex-wrap: wrap; gap: 14px; }
  .footer-links h5, .footer-contact h5 { text-align: center; }
  .footer-contact { align-items: center; }

  .section { padding: 80px 0; }
  .cta-banner { padding: 70px 0; }
  .go-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }
  html[dir="rtl"] .go-top { right: auto; left: 18px; }

  .section-tag::before, .section-tag::after { display: none; }
}

@media (max-width: 480px) {
  .hero-actions,
  .cta-banner-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; }
  .lang-switcher { gap: 1px; }
  .lang-btn { padding: 4px 8px; font-size: 0.68rem; }
  .slider-slide { aspect-ratio: 4/3; }
  .fixed-buttons { bottom: 18px; left: 18px; gap: 10px; }
  html[dir="rtl"] .fixed-buttons { left: auto; right: 18px; }
  .fixed-btn { width: 46px; height: 46px; }
  .fixed-btn svg { width: 21px; height: 21px; }
}

/* ==========================================
   FIXED CALL BUTTON
   ========================================== */
.fixed-buttons {
  position: fixed;
  bottom: 28px;
  left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
}

html[dir="rtl"] .fixed-buttons { left: auto; right: 28px; }

.fixed-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.fixed-btn svg {
  width: 24px;
  height: 24px;
}

.fixed-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c4e);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

.fixed-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.fixed-call {
  background: var(--gold);
  box-shadow: 0 4px 18px var(--gold-glow);
}

.fixed-call:hover {
  transform: scale(1.1);
  background: var(--gold-light);
  box-shadow: 0 8px 28px var(--gold-glow-strong);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5), 0 0 0 8px rgba(37, 211, 102, 0.06); }
}

/* ==========================================
   PARALLAX SECTIONS
   ========================================== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -20% 0;
  z-index: 0;
}

.parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(20, 24, 34, 0.88) 0%,
      rgba(212, 160, 23, 0.08) 50%,
      rgba(20, 24, 34, 0.88) 100%
    );
  z-index: 1;
}
