/*
Theme Name: David Movers Pro
Theme URI: https://firstwp.zapsites.co.il
Author: Codex
Description: Custom RTL corporate theme for moving company lead generation.
Version: 1.0.0
Text Domain: david-movers
*/

:root {
  --bg: #0d0f12;
  --bg-soft: #141820;
  --surface: #1c222d;
  --surface-2: #252d3a;
  --light: #f7f4ed;
  --muted: #b5bccc;
  --text: #ebeff8;
  --accent: #f0a128;
  --accent-strong: #ffbf5a;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Assistant", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 0%, rgba(240, 161, 40, 0.2), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(36, 118, 255, 0.12), transparent 35%),
    linear-gradient(160deg, #0b0e13 0%, #121621 45%, #0a0d11 100%);
  line-height: 1.65;
  direction: rtl;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.skip-link:focus {
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  left: 16px;
  top: 16px;
  z-index: 999;
  background: var(--accent);
  color: #1a1204;
  padding: 8px 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(10, 13, 20, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-wrap > * {
  min-width: 0;
}

.brand {
  margin-inline-end: auto;
}

.brand a {
  font-family: "Secular One", sans-serif;
  letter-spacing: 0.5px;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(140deg, #ffaa30, #ff7f1f);
  color: #291402;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(255, 143, 26, 0.35);
}

.menu-main-menu-container ul,
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu li a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
  transition: 0.25s ease;
}

.menu li a:hover,
.menu li.current-menu-item > a,
.menu li.current-page-ancestor > a {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(140deg, #f0a128, #ffcb70);
  color: #2c1a03;
  box-shadow: 0 12px 26px rgba(240, 161, 40, 0.32);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.2);
  color: #f5f8ff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 0 20px;
}

.hero-card {
  position: relative;
  border-radius: clamp(20px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  min-height: 580px;
  box-shadow: var(--shadow);
}

.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 8, 12, 0.92) 20%, rgba(7, 8, 12, 0.45) 70%, rgba(7, 8, 12, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: clamp(28px, 5vw, 56px);
}

.tag {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffe5bc;
  border: 1px solid rgba(255, 190, 87, 0.5);
  background: rgba(255, 182, 77, 0.15);
  font-weight: 700;
  font-size: 0.9rem;
  max-width: 100%;
}

.hero h1 {
  margin: 18px 0 14px;
  font-family: "Secular One", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.05;
}

.hero p {
  margin: 0;
  color: #d5dbea;
  max-width: 56ch;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-strip {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trust-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 700;
  color: #eff3ff;
}

.section {
  max-width: var(--max);
  margin: 76px auto 0;
  padding: 0 20px;
}

.section-heading {
  margin-bottom: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.section-heading > * {
  min-width: 0;
}

.section-heading h2 {
  margin: 0;
  font-family: "Secular One", sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

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

.service-card {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-body {
  padding: 18px;
}

.service-body h3 {
  margin: 0 0 8px;
  font-size: 1.28rem;
}

.service-body p {
  margin: 0;
  color: #ccd4e4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-media,
.about-copy {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
}

.about-media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.about-copy {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: clamp(20px, 4vw, 34px);
}

.about-copy h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

.about-copy ul {
  margin: 16px 0 0;
  padding-inline-start: 18px;
}

.coverage {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.city-chip {
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 700;
}

.testimonial-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.testimonial-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: saturate(0.9);
}

.testimonial-content {
  position: absolute;
  inset: 0;
  padding: clamp(18px, 4vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: end;
  background: linear-gradient(to top, rgba(11, 13, 20, 0.92), rgba(11, 13, 20, 0.18));
}

.quote {
  max-width: 640px;
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 600;
}

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

.post-card {
  background: #f8f3e8;
  color: #18202e;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-body {
  padding: 18px;
}

.post-body h3 {
  margin: 0 0 8px;
  font-family: "Secular One", sans-serif;
  line-height: 1.25;
}

.post-body p {
  margin: 0;
  color: #455066;
}

.lead-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.contact-card,
.form-card {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.contact-card {
  position: relative;
}

.contact-card img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(11, 12, 18, 0.85), rgba(11, 12, 18, 0.3));
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.contact-overlay h3 {
  margin: 0 0 12px;
  font-family: "Secular One", sans-serif;
  font-size: 1.9rem;
}

.contact-lines {
  display: grid;
  gap: 8px;
  font-weight: 600;
}

.form-card {
  padding: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.form-card h3 {
  margin-top: 0;
  font-family: "Secular One", sans-serif;
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form input,
.lead-form textarea,
.lead-form select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 15, 21, 0.75);
  color: var(--text);
  font: inherit;
  padding: 12px 13px;
}

.lead-form textarea {
  resize: vertical;
  min-height: 120px;
}

.status-msg {
  margin: 0 0 10px;
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
}

.status-msg.ok {
  background: rgba(51, 203, 124, 0.22);
  color: #c8f5dd;
}

.status-msg.err {
  background: rgba(229, 61, 82, 0.2);
  color: #ffd6dd;
}

.page-main,
.single-main,
.blog-main {
  max-width: 900px;
  margin: 58px auto;
  padding: 0 20px;
}

.page-box,
.single-box,
.blog-box {
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  padding: clamp(22px, 4vw, 38px);
}

.page-box h1,
.single-box h1,
.blog-box h1 {
  margin-top: 0;
  font-family: "Secular One", sans-serif;
  line-height: 1.2;
}

.blog-loop {
  display: grid;
  gap: 14px;
}

.blog-loop article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
}

.blog-loop a.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  color: inherit;
}

.blog-loop img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.blog-loop .meta {
  padding: 16px;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 15, 0.66);
}

.footer-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: #c8d0df;
}

.contact-lines,
.footer-wrap {
  overflow-wrap: anywhere;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .services-grid,
  .blog-grid,
  .coverage {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .lead-panel {
    grid-template-columns: 1fr;
  }

  .blog-loop a.row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    gap: 8px;
    padding: 12px;
  }

  .brand a {
    font-size: 1.08rem;
  }

  .header-cta .btn {
    padding: 9px 12px;
    font-size: 0.92rem;
  }

  .mobile-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    inset: 72px 10px auto;
    background: #111620;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.25s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .main-nav .menu li a {
    display: block;
  }

  .header-cta .btn-outline {
    display: none;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    min-height: 520px;
  }

  .trust-strip,
  .services-grid,
  .coverage,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .section {
    margin-top: 62px;
  }
}
