
/*
Theme Name: Royal Express Exact Theme
Theme URI: https://royalexpresscarwash.com/
Author: OpenAI
Description: WordPress theme version of the approved Royal Express Car Wash design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: royal-express-exact
*/


:root {
  --blue-950: #071b3a;
  --blue-900: #0d2c68;
  --blue-800: #1249b7;
  --blue-600: #2c77ff;
  --sky-200: #dff2ff;
  --sky-100: #eff8ff;
  --foam: #f8fcff;
  --white: #ffffff;
  --orange: #ff8a1f;
  --orange-dark: #ec6d00;
  --gold: #ffd369;
  --text: #122038;
  --text-soft: #61708a;
  --border: rgba(18, 32, 56, 0.1);
  --shadow: 0 22px 48px rgba(7, 27, 58, 0.15);
  --shadow-sm: 0 12px 28px rgba(7, 27, 58, 0.10);
  --radius: 24px;
  --radius-sm: 16px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; }
.page-shell { min-height: 100vh; }
.section { padding: 5rem 0; }
.section-alt { background: linear-gradient(180deg, #f1f8ff 0%, #edf7ff 100%); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 1rem;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.5rem, 4vw, 4.9rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3vw, 3.25rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 800; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.12rem; color: rgba(255,255,255,0.94); }
.small-note { color: var(--text-soft); font-size: 0.95rem; }
.rounded-photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.card-panel {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 27, 58, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand-logo { height: 66px; width: auto; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.site-nav a {
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  font-size: 0.98rem;
}
.site-nav a:hover, .site-nav a.active { color: var(--white); }
.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--orange), #ffb347);
  color: #10213f;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255,138,31,0.3);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.2rem;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--white);
  margin: 5px 0;
}

.hero, .page-hero {
  position: relative;
  overflow: hidden;
}
.hero {
  min-height: 88vh;
  display: grid;
  align-items: center;
}
.hero-subpage, .hero-location {
  min-height: 62vh;
  display: grid;
  align-items: center;
}
.page-hero, .contact-hero, .employment-hero {
  padding: 6rem 0 2rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(43,119,255,0.35), transparent 28%),
    linear-gradient(90deg, rgba(7,27,58,0.92) 0%, rgba(13,44,104,0.72) 48%, rgba(13,44,104,0.38) 100%);
}
.hero-overlay.dark {
  background: linear-gradient(90deg, rgba(7,27,58,0.92) 0%, rgba(13,44,104,0.78) 40%, rgba(13,44,104,0.2) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 7rem 0 6rem;
}
.hero-content h1 { max-width: 860px; }
.hero-content .eyebrow { color: var(--gold); }
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}
.hero-points span {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ffb347);
  color: #10213f;
  box-shadow: 0 14px 30px rgba(255,138,31,0.28);
}
.btn-secondary {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.28);
}
.btn-outline {
  background: transparent;
  color: var(--blue-900);
  border-color: rgba(18,73,183,0.18);
}
.btn-light {
  background: var(--white);
  color: var(--blue-900);
}
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-full { width: 100%; }

.trust-bar {
  position: relative;
  margin-top: -2rem;
  z-index: 3;
}
.trust-grid {
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(233,245,255,0.95));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(255,255,255,0.75);
}
.trust-grid div {
  font-size: 0.97rem;
  color: var(--text-soft);
}
.trust-grid strong {
  display: block;
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: 0.2rem;
}

.split-layout, .two-col, .contact-layout, .faq-grid, .jobs-grid, .gallery-grid {
  display: grid;
  gap: 1.6rem;
}
.split-layout, .two-col, .contact-layout, .gallery-grid { grid-template-columns: 1.08fr 0.92fr; align-items: center; }
.faq-grid, .jobs-grid { grid-template-columns: repeat(3, 1fr); }
.feature-list { display: grid; gap: 1rem; margin-top: 1.5rem; }
.feature-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.35rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tall-photo { min-height: 420px; object-fit: cover; }

.section-heading { margin-bottom: 2rem; }
.preview-grid { grid-template-columns: repeat(4, 1fr); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.plan-card {
  background: rgba(255,255,255,0.96);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(18,32,56,0.08);
}
.plan-card.featured {
  background: linear-gradient(180deg, rgba(17,69,183,0.95) 0%, rgba(8,31,79,0.98) 100%);
  color: var(--white);
  border-color: rgba(255,255,255,0.08);
}
.plan-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 1rem;
}
.plan-price {
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
  color: var(--orange);
  margin: 1rem 0 1.3rem;
}
.plan-card.featured .plan-price { color: var(--gold); }
.plan-price span {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: inherit;
  opacity: 0.86;
  margin-top: 0.35rem;
}
.plan-features, .check-list, .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-features li, .check-list li, .footer-links li { position: relative; padding-left: 1.35rem; margin-bottom: 0.8rem; }
.plan-features li::before, .check-list li::before, .footer-links li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}
.gallery-copy { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cta-strip {
  background: linear-gradient(135deg, #0b2b68 0%, #104eb8 55%, #2c77ff 100%);
  color: var(--white);
  padding: 3.5rem 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.info-list { display: grid; gap: 1rem; }
.info-list div {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18,32,56,0.08);
}
.info-list strong { color: var(--blue-900); }
.contact-form { display: grid; gap: 1rem; }
.contact-form label { display: grid; gap: 0.45rem; font-weight: 700; color: var(--blue-900); }
.contact-form input, .contact-form textarea {
  border: 1px solid rgba(18,32,56,0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--text);
  background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: rgba(18,73,183,0.45);
  box-shadow: 0 0 0 4px rgba(44,119,255,0.12);
}

.site-footer {
  background: #071b3a;
  color: rgba(255,255,255,0.88);
  margin-top: 0;
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo { max-width: 220px; margin-bottom: 1rem; }
.footer-copy { max-width: 420px; color: rgba(255,255,255,0.72); }
.site-footer h3 { color: var(--white); font-size: 1rem; margin-bottom: 1rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.8rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
}

@media (max-width: 1040px) {
  .plans-grid, .preview-grid, .faq-grid, .jobs-grid { grid-template-columns: repeat(2, 1fr); }
  .split-layout, .two-col, .contact-layout, .gallery-grid, .footer-grid, .cta-strip-inner { grid-template-columns: 1fr; }
  .cta-strip-inner { display: grid; }
}

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1rem;
    left: 1rem;
    display: none;
    background: rgba(7,27,58,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 22px;
    padding: 1rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav.open { display: flex; }
  .trust-grid, .plans-grid, .preview-grid, .faq-grid, .jobs-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-content { padding: 6rem 0 5rem; }
  .brand-logo { height: 54px; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.85rem; }
}
