/* ============================================
   FANIAQFAL – Locksmith Services
   Main Stylesheet
   ============================================ */

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

:root {
  --gold: #C9A84C;
  --gold-hover: #E5BE6A;
  --gold-dark: #9E7B28;
  --navy: #0D1B2A;
  --navy-mid: #162032;
  --navy-light: #1E2F46;
  --white: #FFFFFF;
  --off-white: #F5F4F0;
  --gray: #B0AFA8;
  --text-light: #E8E6DF;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: 0.22s ease;
}

/* ── BASE ──────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  direction: ltr;
}

body.rtl {
  direction: rtl;
  font-family: 'Cairo', 'Inter', sans-serif;
}

/* ── LANGUAGE SWITCH ───────────────────────── */
.lang-btn {
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 7px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-btn:hover { background: var(--gold); color: var(--navy); }

/* ── NAVIGATION ────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: var(--navy);
  border-bottom: 1px solid rgba(201,168,76,0.18);
  position: sticky;
  top: 0;
  z-index: 200;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.brand-name {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1.1;
}
.brand-sub {
  font-size: 0.63rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-right { display: flex; align-items: center; gap: 2rem; }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
nav ul li a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
nav ul li a:hover { color: var(--gold); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 1rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: rgba(201,168,76,0.07); color: var(--gold); }

/* ── HERO ──────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.09) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(14,47,80,0.6) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.13);
  border: 1px solid rgba(201,168,76,0.38);
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 1.6rem;
}

.hero h1 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.3rem;
  color: var(--white);
}
.hero h1 span { color: var(--gold); }

.hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  opacity: 0.85;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}

/* ── BUTTONS ───────────────────────────────── */
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform 0.15s;
  letter-spacing: 0.04em;
}
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.28);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  letter-spacing: 0.04em;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.06); }

/* ── SECTIONS ──────────────────────────────── */
.section { padding: 5.5rem 2rem; }
.section-inner { max-width: 980px; margin: 0 auto; }
.alt-section { background: var(--navy-mid); }

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
}
.section-desc {
  color: var(--text-light);
  max-width: 520px;
  font-size: 0.95rem;
  opacity: 0.8;
  margin-bottom: 3rem;
}

/* ── FEATURED SERVICE CARD ─────────────────── */
.service-featured {
  width: 100%;
  background: linear-gradient(135deg, var(--navy-light) 0%, rgba(201,168,76,0.12) 100%);
  border: 1.5px solid rgba(201,168,76,0.5);
  border-radius: var(--radius-lg);
  padding: 2.4rem 2.5rem;
  margin-bottom: 24px;
  cursor: default;
}
.service-featured:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.service-featured-inner {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.service-icon-lg {
  width: 80px; height: 80px;
  background: rgba(201,168,76,0.18);
  border-radius: 18px;
  flex-shrink: 0;
}
.service-icon-lg svg { width: 40px; height: 40px; fill: var(--gold); }
.service-featured-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 0.6rem;
}
.service-featured-text h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}
.service-featured-text p {
  font-size: 0.97rem;
  color: var(--text-light);
  opacity: 0.88;
  max-width: 560px;
  line-height: 1.65;
}
@media (max-width: 560px) {
  .service-featured-inner { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .service-featured-text h3 { font-size: 1.3rem; }
}

/* ── SERVICES GRID ─────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: var(--radius-md);
  padding: 1.7rem 1.5rem;
  transition: border-color var(--transition), transform 0.2s;
}
.service-card:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.12);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 25px; height: 25px; fill: var(--gold); }

.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.83rem; color: var(--gray); line-height: 1.55; }

/* ── VISION & ABOUT ────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vision-text blockquote {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.55rem;
  line-height: 1.48;
  color: var(--white);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin-bottom: 1.8rem;
}
body.rtl .vision-text blockquote {
  border-left: none;
  border-right: 3px solid var(--gold);
  padding-left: 0;
  padding-right: 1.5rem;
}
.vision-text p { color: var(--text-light); font-size: 0.94rem; opacity: 0.82; }

.about-box {
  background: var(--navy);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 2.3rem 2rem;
}
.about-box h3 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}
.about-box p { font-size: 0.88rem; color: var(--text-light); opacity: 0.82; line-height: 1.75; margin-bottom: 1rem; }

.stats-row { display: flex; gap: 2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.stat strong { display: block; font-size: 1.7rem; font-weight: 700; color: var(--gold); }
.stat span { font-size: 0.74rem; color: var(--gray); }

/* ── WHY US ────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 1rem;
}
.why-card {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.3rem;
  display: flex; gap: 1rem; align-items: flex-start;
}
.why-num {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(201,168,76,0.3);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -4px;
}
.why-card h4 { font-size: 0.92rem; font-weight: 600; margin-bottom: 0.35rem; }
.why-card p { font-size: 0.8rem; color: var(--gray); line-height: 1.5; }

/* ── CONTACT / CTA ─────────────────────────── */
.cta-section {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.14);
}
.cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner h2 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 1rem;
}
.cta-inner > p { color: var(--text-light); opacity: 0.8; margin-bottom: 2.5rem; }

.contact-cards {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 2rem;
}
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--navy-mid);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.6rem;
  text-decoration: none;
  color: var(--white);
  min-width: 230px;
  transition: border-color var(--transition), background var(--transition);
}
.contact-card:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); }

.contact-card-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon svg { width: 22px; height: 22px; fill: var(--gold); }

.contact-card-label {
  font-size: 0.68rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}
.contact-card-value { font-size: 0.93rem; font-weight: 600; }

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background var(--transition), transform 0.15s;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}
.btn-whatsapp:hover { background: #1fb956; transform: translateY(-2px); }

/* ── FOOTER ────────────────────────────────── */
footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.2rem 2rem;
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  justify-content: center; margin-bottom: 0.9rem;
}
.footer-logo .logo-icon { width: 42px; height: 42px; }
.footer-brand {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--white);
}
footer p { font-size: 0.78rem; color: var(--gray); margin-top: 0.3rem; }
footer span { color: var(--gold); }

/* ── SCROLL REVEAL ANIMATION ───────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .section { padding: 4rem 1.3rem; }
  nav { padding: 1rem 1.3rem; }
  .contact-card { min-width: unset; width: 100%; }
  .hero { min-height: 80vh; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .brand-name { font-size: 1.2rem; }
  .stats-row { gap: 1.2rem; }
}
