/*
Theme Name: ورشة متنقلة الرياض
Theme URI: https://example.com/
Author: Replit
Author URI: https://replit.com/
Description: قالب WordPress عربي RTL لورشة سيارات متنقلة في الرياض.
Version: 1.0.0
Text Domain: car-service-theme
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&family=Noto+Kufi+Arabic:wght@500;600;700;800&display=swap');

:root {
  --background: 36 42% 91%;
  --foreground: 36 18% 12%;
  --border: 32 20% 74%;
  --input: 32 20% 74%;
  --ring: 3 75% 55%;
  --card: 35 44% 95%;
  --card-foreground: 36 18% 12%;
  --card-border: 32 28% 80%;
  --primary: 3 75% 55%;
  --primary-foreground: 38 60% 97%;
  --muted: 34 18% 42%;
  --muted-foreground: 34 17% 42%;
  --accent: 40 60% 73%;
  --accent-foreground: 36 18% 12%;
  --app-font-sans: 'IBM Plex Sans Arabic', sans-serif;
  --app-font-serif: 'Noto Kufi Arabic', sans-serif;
  --app-font-mono: 'IBM Plex Sans Arabic', sans-serif;
  --radius: 1rem;
}

@layer base {
  * {
    box-sizing: border-box;
    border-color: hsl(var(--border));
  }

  html {
    scroll-behavior: smooth;
    background: #0d0d0c;
  }

  body {
    margin: 0;
    min-width: 320px;
    background: #0d0d0c;
    color: hsl(var(--foreground));
    font-family: var(--app-font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

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

@layer utilities {
  .display-font {
    font-family: var(--app-font-serif);
  }
}

:root {
  --ink: #0d0d0c;
  --ink-soft: #151513;
  --ink-card: #191916;
  --ink-line: rgba(229, 201, 143, 0.16);
  --cream: #f6ebdd;
  --cream-card: #fff6eb;
  --gold: #e5c98f;
  --red: #e43a30;
  --red-deep: #bd2924;
  --dim: #aaa69e;
}

.site-shell {
  overflow: hidden;
  min-height: 100dvh;
  background: var(--ink);
}

.section-inner {
  width: min(100%, 1180px);
  margin-inline: auto;
  padding-inline: 16px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  background:
    linear-gradient(180deg, rgba(13, 13, 12, 0.52) 2%, rgba(13, 13, 12, 0.84) 65%, var(--ink) 100%),
    url('/garage-workshop.jpg') center / cover no-repeat,
    #151513;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(229, 201, 143, 0.08) 55%, transparent 88%);
  content: '';
  pointer-events: none;
}

.hero-inner {
  display: flex;
  min-height: 720px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 58px 16px 72px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(229, 201, 143, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(228, 58, 48, 0.12);
}

.hero-title {
  max-width: 370px;
  margin: 24px auto 0;
  color: #faf4e9;
  font-family: var(--app-font-serif);
  font-size: clamp(34px, 10vw, 58px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 1.34;
}

.hero-title em {
  color: var(--gold);
  font-style: normal;
}

.hero-copy {
  max-width: 350px;
  margin: 18px auto 0;
  color: rgba(250, 244, 233, 0.73);
  font-size: 14px;
  line-height: 2;
}

.cta-stack {
  display: grid;
  width: min(100%, 350px);
  gap: 10px;
  margin-top: 26px;
}

.cta-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 15px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.cta-button:active {
  transform: scale(0.985);
}

.cta-button-primary {
  background: var(--red);
  color: #fff6ef;
}

.cta-button-primary:hover {
  background: var(--red-deep);
}

.cta-button-ghost {
  border-color: rgba(250, 244, 233, 0.35);
  background: rgba(13, 13, 12, 0.42);
  color: #fff6ef;
}

.cta-button-ghost:hover {
  border-color: rgba(229, 201, 143, 0.68);
}

.trust-list {
  display: flex;
  width: min(100%, 350px);
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 15px;
  margin-top: 23px;
  color: rgba(250, 244, 233, 0.72);
  font-size: 11px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-item svg {
  color: var(--gold);
}

.dark-section {
  background: var(--ink);
  color: #faf4e9;
}

.dark-section-soft {
  background: var(--ink-soft);
  color: #faf4e9;
}

.section-pad {
  padding-block: 68px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.section-kicker::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: '';
}

.section-title {
  margin: 15px 0 0;
  font-family: var(--app-font-serif);
  font-size: clamp(27px, 7vw, 47px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.48;
}

.section-copy {
  max-width: 600px;
  margin-top: 15px;
  color: var(--dim);
  font-size: 14px;
  line-height: 1.95;
}

.service-quick {
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  background: rgba(25, 25, 22, 0.9);
  overflow: hidden;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.quick-item {
  min-height: 92px;
  padding: 18px 16px;
}

.quick-item:nth-child(odd) {
  border-left: 1px solid var(--ink-line);
}

.quick-item:nth-child(-n + 2) {
  border-bottom: 1px solid var(--ink-line);
}

.quick-number {
  display: block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.quick-label {
  display: block;
  margin-top: 8px;
  color: #f1e9dd;
  font-size: 14px;
  font-weight: 600;
}

.all-services {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: background-color 180ms ease;
}

.all-services:hover {
  background: #f0d7a5;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.fact-card {
  min-height: 116px;
  border: 1px solid var(--ink-line);
  border-radius: 15px;
  padding: 18px 16px;
  background: var(--ink-card);
}

.fact-card strong {
  display: block;
  color: #f7efe3;
  font-family: var(--app-font-serif);
  font-size: 16px;
}

.fact-card span {
  display: block;
  margin-top: 7px;
  color: var(--dim);
  font-size: 11px;
  line-height: 1.8;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 31px;
}

.service-card {
  position: relative;
  min-height: 248px;
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  padding: 22px 20px 24px;
  background: var(--ink-card);
  transition: transform 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  border-color: rgba(229, 201, 143, 0.42);
  transform: translateY(-2px);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.service-number {
  color: var(--red);
  font-family: var(--app-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(229, 201, 143, 0.28);
  border-radius: 12px;
  color: var(--gold);
}

.service-name {
  margin: 31px 0 0;
  color: #faf4e9;
  font-family: var(--app-font-serif);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.service-description {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 2;
}

.cream-section {
  background: var(--cream);
  color: var(--ink);
}

.cream-section .section-kicker {
  color: var(--red-deep);
}

.cream-section .section-kicker::before {
  background: var(--red);
}

.cream-section .section-title {
  color: var(--ink);
}

.cream-section .section-copy {
  color: #716b63;
}

.process-list {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.process-card {
  border: 1px solid rgba(133, 105, 68, 0.24);
  border-radius: 17px;
  padding: 22px 20px;
  background: var(--cream-card);
}

.process-number {
  color: var(--red-deep);
  font-family: var(--app-font-mono);
  font-size: 12px;
  font-weight: 700;
}

.process-card h3 {
  margin: 13px 0 0;
  font-family: var(--app-font-serif);
  font-size: 18px;
}

.process-card p {
  margin: 9px 0 0;
  color: #716b63;
  font-size: 13px;
  line-height: 1.9;
}

.coverage-section {
  background: var(--ink-soft);
}

.coverage-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 23px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.coverage-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.coverage-card {
  display: flex;
  min-height: 63px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--ink-line);
  border-radius: 15px;
  padding: 0 19px;
  background: var(--ink-card);
  color: #f5ede1;
  font-size: 14px;
  font-weight: 600;
}

.coverage-card svg {
  color: var(--gold);
}

.coverage-card:last-child {
  border-color: rgba(228, 58, 48, 0.42);
  color: var(--gold);
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.faq-item {
  border: 1px solid rgba(133, 105, 68, 0.28);
  border-radius: 16px;
  background: var(--cream-card);
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  width: 100%;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  padding: 16px 18px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: right;
}

.faq-trigger svg {
  flex: 0 0 auto;
  color: var(--red);
  transition: transform 200ms ease;
}

.faq-item.open .faq-trigger svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 220ms ease, opacity 180ms ease;
}

.faq-item.open .faq-answer {
  max-height: 180px;
  opacity: 1;
}

.faq-answer p {
  margin: -2px 18px 19px;
  color: #716b63;
  font-size: 13px;
  line-height: 1.95;
}

.final-cta {
  background: var(--gold);
  color: var(--ink);
}

.final-cta .section-kicker {
  color: var(--red-deep);
}

.final-cta .section-kicker::before {
  background: var(--red);
}

.final-cta .section-title {
  max-width: 390px;
}

.final-cta .section-copy {
  color: #5f5549;
}

.final-cta .cta-stack {
  margin-top: 25px;
}

.final-cta .cta-button-ghost {
  border-color: rgba(13, 13, 12, 0.45);
  background: transparent;
  color: var(--ink);
}

.site-footer {
  padding: 45px 16px 104px;
  background: var(--ink);
  color: #f7efe3;
  text-align: center;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-family: var(--app-font-serif);
  font-size: 17px;
  font-weight: 800;
}

.brand-mark-symbol {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}

.footer-copy {
  max-width: 280px;
  margin: 16px auto 0;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.9;
}

.sticky-bar {
  position: fixed;
  z-index: 50;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 62px;
  border-top: 1px solid rgba(229, 201, 143, 0.25);
  background: var(--ink-card);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.2);
}

.sticky-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.sticky-button:first-child {
  border-left: 1px solid rgba(13, 13, 12, 0.24);
  background: var(--gold);
  color: var(--ink);
}

.sticky-button:last-child {
  background: var(--red);
  color: #fff7ed;
}

.sticky-button:hover {
  filter: brightness(0.96);
}

@media (min-width: 700px) {
  .section-inner {
    padding-inline: 28px;
  }

  .hero-inner {
    padding-top: 92px;
    padding-bottom: 105px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .coverage-card:last-child {
    grid-column: span 2;
  }
}

@media (min-width: 1040px) {
  .hero-inner {
    min-height: 790px;
  }

  .hero-title {
    max-width: 650px;
    font-size: 62px;
  }

  .hero-copy {
    max-width: 650px;
  }

  .section-pad {
    padding-block: 104px;
  }

  .service-quick-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: end;
    gap: 40px;
  }

  .fact-grid {
    margin-top: 0;
  }

  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .coverage-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .coverage-card:last-child {
    grid-column: span 3;
  }

  .site-footer {
    padding-bottom: 75px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress theme additions: the current visual language, with a compact menu. */
.site-header {
  position: absolute;
  z-index: 40;
  top: 0;
  right: 0;
  left: 0;
  color: #f7efe3;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 17px;
  padding-bottom: 17px;
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold);
  font-family: var(--app-font-serif);
  font-size: 13px;
  font-weight: 800;
}

.site-header-brand .brand-mark-symbol {
  width: 29px;
  height: 29px;
}

.site-header-brand .custom-logo-link,
.brand-mark .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.site-header-brand .custom-logo,
.brand-mark .custom-logo {
  width: auto;
  max-width: 150px;
  max-height: 34px;
  object-fit: contain;
}

.site-header-brand .inline-svg-icon,
.brand-mark .inline-svg-icon {
  width: 15px;
  height: 15px;
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  gap: 5px;
  place-content: center;
  border: 1px solid rgba(229, 201, 143, 0.38);
  border-radius: 13px;
  background: rgba(13, 13, 12, 0.3);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  background: #faf4e9;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-overlay {
  position: fixed;
  z-index: 60;
  inset: 0;
  background: rgba(6, 6, 5, 0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.side-menu {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  display: flex;
  width: min(88vw, 360px);
  height: 100dvh;
  flex-direction: column;
  padding: 22px 18px 26px;
  border-left: 1px solid var(--ink-line);
  background: #151513;
  color: #f7efe3;
  box-shadow: -18px 0 45px rgba(0, 0, 0, 0.28);
  transform: translateX(105%);
  transition: transform 260ms ease;
}

.menu-open {
  overflow: hidden;
}

.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.menu-open .side-menu {
  transform: translateX(0);
}

.side-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--ink-line);
}

.side-menu-title {
  color: var(--gold);
  font-family: var(--app-font-serif);
  font-size: 16px;
  font-weight: 800;
}

.menu-close {
  width: 35px;
  height: 35px;
  border: 1px solid rgba(229, 201, 143, 0.32);
  border-radius: 50%;
  background: transparent;
  color: #faf4e9;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.side-menu-nav {
  display: grid;
  gap: 2px;
  margin-top: 20px;
}

.side-menu-nav a {
  display: block;
  padding: 14px 7px;
  border-bottom: 1px solid rgba(229, 201, 143, 0.1);
  color: #f5ede1;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, padding-right 180ms ease;
}

.side-menu-nav a:hover {
  padding-right: 12px;
  color: var(--gold);
}

.side-menu-actions {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.side-menu-actions a {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
}

.side-menu-phone {
  background: var(--red);
  color: #fff6ef;
}

.side-menu-whatsapp {
  border: 1px solid rgba(229, 201, 143, 0.33);
  color: var(--gold);
}

.inline-icon,
.inline-svg-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  vertical-align: middle;
}

.inline-svg-icon {
  width: 100%;
  height: 100%;
}

.gallery-section {
  border-top: 1px solid rgba(229, 201, 143, 0.05);
}

.gallery-grid {
  display: grid;
  gap: 11px;
  margin-top: 29px;
}

.gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 1.25 / 1;
  border: 1px solid var(--ink-line);
  border-radius: 17px;
  object-fit: cover;
}

.inline-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding-top: 24px;
  padding-bottom: 24px;
  background: var(--ink);
}

.inline-contact-button {
  display: inline-flex;
  min-width: 0;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  overflow: hidden;
  border-radius: 14px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 180ms ease, transform 180ms ease;
}

.inline-contact-button:active {
  transform: scale(0.985);
}

.inline-contact-phone {
  background: var(--red);
  color: #fff6ef;
}

.inline-contact-whatsapp {
  border: 1px solid rgba(229, 201, 143, 0.34);
  background: #1c211d;
  color: #e9f1e6;
}

.inline-contact-button:hover {
  filter: brightness(1.06);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-image {
    aspect-ratio: 1.08 / 1;
  }

  .inline-contact-row {
    padding-top: 31px;
    padding-bottom: 31px;
  }
}

.inline-contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 650px;
  padding-block: 17px;
  background: var(--ink);
}

.inline-contact-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 180ms ease, filter 180ms ease;
}

.inline-contact-button:active {
  transform: scale(0.985);
}

.inline-contact-phone {
  background: var(--red);
  color: #fff6ef;
}

.inline-contact-whatsapp {
  border-color: rgba(170, 208, 179, 0.35);
  background: #29463b;
  color: #e4f0e1;
}

.inline-contact-button:hover {
  filter: brightness(1.08);
}

.gallery-section {
  scroll-margin-top: 16px;
}

.gallery-grid {
  display: grid;
  gap: 11px;
  margin-top: 30px;
}

.gallery-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ink-line);
  border-radius: 18px;
  object-fit: cover;
  background: var(--ink-card);
}

@media (hover: hover) and (pointer: fine) {
  .gallery-image {
    transition: transform 220ms ease;
  }

  .gallery-image:hover {
    transform: translateY(-2px);
  }
}

@media (min-width: 700px) {
  .inline-contact-row {
    padding-block: 20px;
  }

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