/* ============================================
   KLEAN KATZ MOBILE DETAILING — kleankatzdetailing.com
   Colors are pulled directly from the brand logos.
   ============================================ */

:root {
  --green: #0F2C21;        /* exact logo background green */
  --green-deep: #0B231A;   /* slightly darker for footer */
  --cream: #F2EDE0;        /* button / heading ivory */
  --cream-soft: #E7E2D4;
  --silver: #AEBDB3;       /* muted silver-green for subtext */
  --line: rgba(242, 237, 224, 0.18);
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--green);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.wrap {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Header ---------- */
header {
  padding: 28px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.brand {
  text-decoration: none;
  line-height: 1.2;
}
.brand .brand-name {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 0.22em;
  color: var(--cream);
}
.brand .brand-tag {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.42em;
  color: var(--silver);
  margin-top: 3px;
  text-transform: uppercase;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
nav a.nav-link {
  text-decoration: none;
  font-size: 15px;
  color: var(--cream-soft);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
nav a.nav-link:hover,
nav a.nav-link[aria-current="page"] {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--cream);
  color: #1d1d1b;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 15px;
  padding: 17px 44px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn:hover { background: #ffffff; transform: translateY(-1px); }
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 3px;
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: rgba(242, 237, 224, 0.08); }

/* ---------- Hero ---------- */
.hero {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 0 110px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 84px);
  color: var(--cream-soft);
  letter-spacing: 0.01em;
  max-width: 18ch;
  margin: 0 auto 64px;
}

/* ---------- Page heading (interior pages) ---------- */
.page-head {
  padding: 90px 0 30px;
}
.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 76px);
  color: var(--cream-soft);
  margin-bottom: 34px;
}

/* ---------- Sections & text ---------- */
section { padding: 40px 0 90px; }

.copy {
  max-width: 62ch;
}
.copy p { margin-bottom: 22px; }
.copy p:last-child { margin-bottom: 0; }
.lead { font-size: 19px; }

h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 4.5vw, 60px);
  color: var(--cream-soft);
  margin-bottom: 26px;
  line-height: 1.15;
}

/* Two-column: text + image */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split .photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Home feature section: image left, text right */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0 100px;
}
.feature .photo img { width: 100%; object-fit: cover; }
.feature .btn { margin-top: 40px; }

/* Service pill buttons row */
.pill-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 44px;
}
.pill-row .btn { min-width: 240px; text-align: center; }

.cta-block { margin-top: 50px; }

.note {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 26px;
  max-width: 62ch;
  margin-top: 34px;
  color: var(--cream-soft);
}
.note strong { color: var(--cream); }

/* ---------- Forms (Netlify contact form) ---------- */
form .field { margin-bottom: 22px; }
form label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--cream-soft);
}
form label span { color: var(--silver); font-size: 12px; }
form input,
form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(242, 237, 224, 0.45);
  border-radius: 26px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  padding: 13px 18px;
}
form textarea {
  min-height: 130px;
  border-radius: 18px;
  resize: vertical;
}
form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--cream);
}
.field-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* ---------- Booking embed ---------- */
.booking-embed iframe {
  width: 100%;
  height: 900px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

/* ---------- Footer ---------- */
footer {
  background: var(--green-deep);
  border-top: 1px solid var(--line);
  padding: 70px 0 50px;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-top .footer-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 3.5vw, 44px);
  color: var(--cream-soft);
}
.footer-top a.footer-email {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 34px);
  color: var(--cream-soft);
  text-decoration: none;
}
.footer-top a.footer-email:hover { text-decoration: underline; }
.footer-meta {
  margin-top: 26px;
  max-width: 46ch;
  color: var(--silver);
  font-size: 15px;
}
.footer-bottom {
  margin-top: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--silver);
  font-size: 13px;
}
.footer-bottom img { width: 64px; height: 64px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .split, .feature, .field-2col { grid-template-columns: 1fr; }
  .feature .photo { order: 2; }
  .hero { min-height: 55vh; padding: 60px 0 80px; }
  nav { gap: 20px; }
  section { padding: 30px 0 70px; }
  .page-head { padding: 60px 0 20px; }
}

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