/* ============================================================
   Marlow's Street Car Wash
   Playful, cartoon-style stylesheet
   ============================================================ */

:root {
  --blue: #2ec4f5;
  --blue-dark: #1b9fd6;
  --orange: #ff5a3c;
  --orange-dark: #e8401f;
  --yellow: #ffd23f;
  --green: #7ed957;
  --ink: #2b2d42;
  --ink-soft: #565a78;
  --cream: #fff8ec;
  --white: #ffffff;
  --shadow: 0 10px 25px rgba(43, 45, 66, 0.12);
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-text, .big-score {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.15;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--orange); color: #fff; padding: 10px 16px;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ===== Elements ===== */
.accent { color: var(--orange); }

.eyebrow {
  display: inline-block; font-weight: 900; text-transform: uppercase;
  letter-spacing: 2px; font-size: 0.8rem; color: var(--orange);
  background: #ffe3da; padding: 6px 14px; border-radius: 30px;
  margin-bottom: 14px;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { color: var(--ink-soft); margin-top: 10px; }

section { padding: 80px 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-family: "Baloo 2", sans-serif; font-weight: 700;
  font-size: 1.05rem; padding: 14px 26px; border-radius: 50px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 3px solid transparent;
}
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 0 var(--orange-dark); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 9px 0 var(--orange-dark); }
.btn-secondary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 #e0b62a; }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 9px 0 #e0b62a; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--blue); box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-icon {
  font-size: 1.8rem; background: #fff; border-radius: 50%;
  width: 46px; height: 46px; display: grid; place-items: center;
  box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.brand-text { font-size: 1.6rem; font-weight: 800; color: #fff; }
.brand-text .accent { color: var(--yellow); }
.brand-sub { font-size: 0.72rem; letter-spacing: 1px; color: #eaf6ff; text-transform: uppercase; }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #fff; font-weight: 800; font-size: 0.98rem; }
.nav-links a:hover { color: var(--yellow); }
.nav-links .nav-cta {
  background: var(--orange); padding: 10px 18px; border-radius: 40px;
  box-shadow: 0 4px 0 var(--orange-dark); color: #fff;
}
.nav-links .nav-cta:hover { transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { width: 26px; height: 4px; background: #fff; border-radius: 3px; }

/* ===== HERO ===== */
.hero {
  position: relative; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff; overflow: hidden; padding: 70px 0;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }

.badge {
  display: inline-block; background: var(--yellow); color: var(--ink);
  font-weight: 900; padding: 8px 16px; border-radius: 40px;
  box-shadow: 0 4px 0 #e0b62a; margin-bottom: 18px;
}
h1 { font-size: clamp(2rem, 5vw, 3.3rem); margin-bottom: 16px; }
.lead { font-size: 1.15rem; opacity: 0.95; max-width: 520px; margin-bottom: 26px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-points { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; font-weight: 700; }

/* Animated bubbles */
.hero-bubbles span { position: absolute; border-radius: 50%; background: rgba(255,255,255,0.22); animation: float 6s infinite ease-in-out; }
.b1 { width: 60px; height: 60px; top: 15%; left: 8%; }
.b2 { width: 30px; height: 30px; top: 60%; left: 20%; animation-delay: 1s; }
.b3 { width: 46px; height: 46px; top: 25%; right: 12%; animation-delay: 2s; }
.b4 { width: 24px; height: 24px; bottom: 20%; right: 30%; animation-delay: 3s; }
.b5 { width: 70px; height: 70px; top: 70%; left: 45%; animation-delay: 1.5s; }
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Hero photo */
.hero-art { position: relative; min-height: 260px; }
.hero-photo {
  position: relative; border: 6px solid #fff; border-radius: 34px;
  overflow: hidden; box-shadow: 0 18px 0 rgba(0,0,0,0.15), var(--shadow);
  transform: rotate(-2deg); transition: transform 0.2s ease;
}
.hero-photo:hover { transform: rotate(0deg) scale(1.01); }
.hero-photo img { width: 100%; height: auto; display: block; object-fit: cover; }
.photo-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: var(--yellow); color: var(--ink); font-weight: 900;
  padding: 8px 16px; border-radius: 40px; font-size: 0.95rem;
  box-shadow: 0 4px 0 #e0b62a;
}

.soap-star { position: absolute; font-size: 2.2rem; animation: twinkle 2.5s infinite ease-in-out; }
.soap1 { top: 0; left: 8%; } .soap2 { bottom: 10%; right: 4%; animation-delay: 1.2s; }
@keyframes twinkle { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(15deg); } }

/* ===== SERVICES ===== */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius);
  padding: 30px 24px; box-shadow: var(--shadow); transition: transform 0.15s ease;
  text-align: center; position: relative;
}
.service-card:hover { transform: translateY(-6px) rotate(-1deg); }
.s-icon { font-size: 3rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); margin-bottom: 14px; }
.tag { display: inline-block; background: var(--green); color: #fff; font-weight: 900; padding: 5px 14px; border-radius: 20px; }

/* ===== PRICING ===== */
.pricing { background: var(--white); }
.price-card {
  max-width: 720px; margin: 0 auto; border: 4px solid var(--ink);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px;
  background: linear-gradient(180deg, #fff 0%, #fff6e8 100%);
}
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 3px dashed var(--ink);
  font-size: 1.15rem; font-weight: 700;
}
.price-row:last-of-type { border-bottom: none; }
.price { font-family: "Baloo 2", sans-serif; font-size: 1.5rem; color: var(--orange); }
.price-note { margin-top: 18px; color: var(--ink-soft); text-align: center; }

/* ===== WHY ===== */
.why { background: var(--yellow); }
.why-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; }
.why-list { list-style: none; margin-top: 10px; }
.why-list li { font-size: 1.1rem; padding: 10px 0; border-bottom: 2px dashed rgba(43,45,66,0.2); }
.why-list li:last-child { border-bottom: none; }

.rating-box {
  background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px; text-align: center;
}
.stars { font-size: 1.6rem; color: var(--orange); letter-spacing: 3px; }
.big-score { font-size: 4.5rem; color: var(--orange); font-weight: 800; }
.rating-text { font-weight: 700; color: var(--ink-soft); }

/* ===== TESTIMONIALS ===== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi {
  background: var(--white); border: 4px solid var(--ink); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.testi .stars { font-size: 1.2rem; }
.testi p { margin: 12px 0; font-style: italic; }
.testi footer { font-weight: 800; color: var(--orange); }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-second { margin-top: 18px; }
.g-item {
  margin: 0; border: 4px solid var(--ink); border-radius: 18px; overflow: hidden;
  background: var(--white); box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.g-item:hover { transform: translateY(-5px) rotate(-1deg); }
.g-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.g-item figcaption {
  padding: 10px 12px; font-weight: 800; font-size: 0.95rem; background: var(--white);
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--white); border: 3px solid var(--ink); border-radius: 16px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; font-family: "Baloo 2", sans-serif; font-weight: 700;
  font-size: 1.1rem; padding: 18px 22px; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; font-size: 1.4rem; color: var(--orange); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 22px 20px; color: var(--ink-soft); }

/* ===== CONTACT + MAP ===== */
.contact { background: var(--blue); color: #fff; }
.contact .eyebrow { background: #fff; color: var(--orange); }
.contact h2 { margin-bottom: 20px; }
.contact-info p { font-size: 1.1rem; margin-bottom: 14px; }
.contact-info a { color: #fff; font-weight: 800; }
.contact-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.map-frame {
  border: 6px solid #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); height: 360px; background: #fff;
}
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--ink); color: #fff; padding-top: 50px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.footer h4 { font-family: "Baloo 2", sans-serif; margin-bottom: 12px; color: var(--yellow); }
.footer a { display: block; color: #cfd3e8; margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.footer p { color: #cfd3e8; }
.footer-brand .brand-text { font-size: 1.4rem; }
.footer-bottom { border-top: 2px solid rgba(255,255,255,0.12); padding: 18px 0; text-align: center; font-size: 0.9rem; color: #999; }

/* ===== Mobile ===== */
@media (max-width: 900px) {
  .service-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .why-inner, .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 66px 0 auto 0; flex-direction: column;
    background: var(--blue); padding: 20px; gap: 16px;
    transform: translateY(-150%); transition: transform 0.3s ease; text-align: center;
  }
  .nav-links.open { transform: translateY(0); }
  .service-grid, .testi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .footer-inner { grid-template-columns: 1fr; }
}
