/* Movers and Packers Dubai — Tailwind + minimal overrides */
/* Hero background image (used on index + any page with .hero) */
.hero {
  background-image: url('../images/hero-movers-dubai.jpg');
}

/* Homepage intro section: soft background + card */
.intro-section {
  background: linear-gradient(180deg, #fef7f0 0%, #fff 50%, #f8fafc 100%);
}
.intro-card {
  background: #fff;
  box-shadow: 0 4px 24px rgba(30, 58, 95, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(249, 115, 22, 0.12);
}
.intro-card strong.text-primary { color: #1e3a5f; }
.intro-card p a:hover { text-decoration: underline; text-underline-offset: 2px; }

/* Mobile menu: drawer + overlay. Works with and without Tailwind. Opaque background so content doesn't show through. */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.nav-drawer {
  position: fixed;
  top: 4rem;
  right: 0;
  bottom: 0;
  width: 18rem;
  max-width: 85vw;
  z-index: 70;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.2s ease;
  background-color: #ffffff !important;
  background-image: none !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .nav-overlay,
  .nav-drawer {
    display: none !important;
  }
}
body.nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open .nav-drawer {
  transform: translateX(0);
}
body.nav-open {
  overflow: hidden;
}
.nav-drawer nav,
.nav-drawer .nav-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-drawer a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  border-radius: var(--radius-sm);
}
.nav-drawer a:hover {
  color: var(--primary);
}

/* Legacy (pages still using old header) */
:root {
  --primary: #1e3a5f;
  --primary-light: #2d4a6f;
  --secondary: #ffffff;
  --bg: #f4f6f8;
  --bg-alt: #ffffff;
  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,.08);
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--secondary);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary);
  text-decoration: none;
}
.logo span { color: var(--accent); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover { color: var(--primary); background: var(--bg); }
.header-cta { display: flex; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  min-height: 44px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--primary);
}
.btn-white:hover { background: var(--bg); color: var(--primary); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.875rem; min-height: 40px; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.35rem;
  color: var(--primary);
}
@media (max-width: 768px) {
  .site-header { min-height: 4rem; }
  .menu-toggle { display: block; }
  .main-nav { display: none !important; width: 100%; flex-direction: column; align-items: stretch; }
  .main-nav.is-open { display: none !important; }
  .header-cta { display: none !important; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 5rem;
  background: var(--primary) url('../images/hero-movers-dubai.jpg') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,58,95,0.75) 0%, rgba(30,58,95,0.5) 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.hero .sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}
.hero .support {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.75rem;
}
.hero .hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.hero .btn { min-height: 48px; padding: 0.65rem 1.5rem; }
@media (max-width: 768px) {
  .hero { min-height: 60vh; padding: 3rem 1rem 4rem; }
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--secondary);
  padding: 2rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.trust-stat .trust-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}
.trust-stat .trust-num {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.trust-stat .trust-label {
  font-size: 0.875rem;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .trust-bar-inner { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ========== CONTAINERS & SECTIONS ========== */
.container { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section { padding: 3.5rem 0; }
.section-alt { background: var(--secondary); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section h2 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.section h3 { font-size: 1.125rem; margin: 1.25rem 0 0.5rem; font-weight: 600; color: var(--text); }
.section p { margin: 0 0 1rem; color: var(--text-muted); }
.section a { color: var(--accent); font-weight: 500; text-decoration: none; }
.section a:hover { text-decoration: underline; }

/* ========== SERVICE CARDS (with icons) ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.service-card {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card .card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.service-card h3 { margin: 0 0 0.5rem; font-size: 1.125rem; font-weight: 600; color: var(--primary); }
.service-card p { font-size: 0.9375rem; margin-bottom: 1rem; color: var(--text-muted); line-height: 1.55; }
.service-card .btn { margin-top: 0.25rem; }
/* Ensure button text is visible (fix for orange btn-primary text not showing) */
.service-card .btn.btn-primary,
.service-card a.btn.btn-primary,
.service-card .btn.btn-primary span,
.service-card a.btn.btn-primary span {
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.service-card .btn.btn-primary:hover,
.service-card a.btn.btn-primary:hover,
.service-card .btn.btn-primary:hover span,
.service-card a.btn.btn-primary:hover span {
  color: #ffffff !important;
}

/* ========== PROCESS STEPS (4 steps) ========== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.process-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--secondary);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.process-card .step-num {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 auto 1rem;
}
.process-card .step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}
.process-card h4 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 600; color: var(--primary); }
.process-card p { margin: 0; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ========== WHY CHOOSE US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.why-item .check {
  width: 28px;
  height: 28px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.875rem;
}
.why-item strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.why-item span { font-size: 0.9375rem; color: var(--text-muted); }

/* ========== LOCATION LINKS ========== */
.location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  justify-content: center;
}
.location-links a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--secondary);
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-full);
  font-size: 0.9375rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.location-links a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ========== TESTIMONIALS (with stars) ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.testimonial {
  background: var(--secondary);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.testimonial .stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.testimonial blockquote { margin: 0 0 1rem; font-style: normal; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.testimonial cite { font-size: 0.875rem; color: var(--text); font-style: normal; }
.testimonial cite strong { color: var(--primary); }

/* ========== FAQ ACCORDION ========== */
.faq-list { margin: 1rem 0; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--secondary);
}
.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.25rem; color: var(--accent); font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 1.25rem 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.9375rem;
}
.faq-item .faq-answer p { margin: 0.6rem 0 0; }

/* ========== CTA BANNER ========== */
.cta-block {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 2rem 0;
}
.cta-block h2 { color: #fff; margin-top: 0; font-size: 1.5rem; }
.cta-block p { color: rgba(255,255,255,0.9); margin-bottom: 1.25rem; }
.cta-block .btn { background: var(--accent); color: #fff; }
.cta-block .btn:hover { background: var(--accent-hover); color: #fff; }

/* ========== QUOTE FORM ========== */
.quote-form {
  background: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  border: 1px solid var(--border);
}
.quote-form h3 { margin-top: 0; font-size: 1.25rem; color: var(--primary); }
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.quote-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.875rem; color: var(--text); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9375rem;
  background: var(--secondary);
  min-height: 44px;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.quote-form button[type="submit"] { margin-top: 1rem; }

/* ========== BREADCRUMB ========== */
.breadcrumb {
  padding: 0.65rem 1.5rem;
  background: var(--secondary);
  font-size: 0.875rem;
  margin: 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { color: var(--text-muted); }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.9);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-grid h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: #fff;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: rgba(255,255,255,0.8); text-decoration: none; transition: color var(--transition); }
.footer-grid a:hover { color: #fff; }
.footer-nap { font-size: 0.9375rem; line-height: 1.65; }
.footer-nap strong { display: block; margin-bottom: 0.5rem; color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}
.page-hero h1 { margin: 0 0 0.5rem; font-size: clamp(1.5rem, 3.5vw, 2rem); font-weight: 700; }
.page-hero .sub { opacity: .95; font-size: 1rem; }

/* ========== LINKS BLOCK ========== */
.links-block {
  padding: 1.25rem 1.5rem;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  margin: 2rem 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.links-block a { margin: 0 0.2rem; }

/* ========== FLOATING CALL BUTTON (mobile) ========== */
.fab-call {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(249,115,22,.4);
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform var(--transition), background var(--transition);
}
.fab-call:hover { background: var(--accent-hover); color: #fff; transform: scale(1.05); }
@media (max-width: 768px) {
  .fab-call { display: flex; }
}
@media (min-width: 769px) {
  .fab-call { display: none !important; }
}

/* Legacy process-steps (for service pages) */
.process-steps { counter-reset: step; margin: 2rem 0; }
.process-step {
  position: relative;
  padding-left: 3.25rem;
  margin-bottom: 1.25rem;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
}
.process-step strong { display: block; margin-bottom: 0.2rem; color: var(--text); }
.why-list { list-style: none; padding-left: 0; }
.why-list li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
