/* Mundys detail the wash - Car Wash in Atlanta, Georgia */
/* Mobile-first, Oregon-area SEO optimized */

:root {
  --color-amber: #d4a017;
  --color-amber-dark: #b8860b;
  --color-amber-light: #f5d76e;
  --color-charcoal: #1a1a1a;
  --color-charcoal-light: #2d2d2d;
  --color-cream: #faf8f5;
  --color-white: #ffffff;
  --color-text: #333333;
  --color-text-muted: #666666;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}

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

a {
  color: var(--color-amber-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-amber);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 1.1rem;
}

.logo:hover {
  color: var(--color-charcoal);
}

.logo-icon {
  font-size: 1.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav {
  display: none;
}

.nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list li {
  border-bottom: 1px solid #eee;
}

.nav-list li:last-child {
  border-bottom: none;
}

.nav-list a {
  display: block;
  padding: 0.75rem 0;
  color: var(--color-charcoal);
  font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--color-amber-dark);
}

.btn-nav {
  color: var(--color-amber-dark) !important;
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-charcoal-light) 50%, #3d3d3d 100%);
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212, 160, 23, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero .highlight {
  color: var(--color-amber-light);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin: 0 auto 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-locations {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}

.hero-locations span {
  font-weight: 600;
  color: var(--color-amber-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-amber);
  color: var(--color-charcoal);
}

.btn-primary:hover {
  background: var(--color-amber-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.8);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-amber-dark);
  border: 2px solid var(--color-amber);
}

.btn-outline:hover {
  background: var(--color-amber);
  color: var(--color-charcoal);
}

.btn-facebook {
  background: #1877f2;
  color: var(--color-white);
  border: none;
}

.btn-facebook:hover {
  background: #166fe5;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-charcoal);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.05);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

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

.section h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--color-charcoal);
}

.section-intro {
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
}

.about-content .lead {
  font-size: 1.15rem;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.about-features li {
  padding: 0.5rem 0;
  font-weight: 500;
}

.stats-card {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  background: var(--color-amber);
  color: var(--color-charcoal);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 140px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Homepage Photos - spread throughout, mobile-friendly */
.homepage-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}


.photo-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.photo-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Compact variant for about section */
.homepage-photos--compact {
  margin-top: 1.5rem;
}

/* Wide single photo - centered */
.photo-item--wide {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile: full width, gallery images are 540–768px - sharp when scaled down */
@media (max-width: 599px) {
  .homepage-photos {
    gap: 1rem;
  }
}

@media (min-width: 600px) {
  .homepage-photos {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
  .photo-item img {
    height: 260px;
  }
  .homepage-photos--compact .photo-item img {
    height: 220px;
  }
}

@media (min-width: 768px) {
  .homepage-photos {
    gap: 2rem;
  }
  .photo-item img {
    height: 280px;
  }
  .homepage-photos--compact .photo-item img {
    height: 240px;
  }
  .photo-item--wide img {
    height: 320px;
  }
}

/* Services Preview */
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.service-card p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.link-arrow {
  font-weight: 600;
  font-size: 0.95rem;
}

.text-center {
  text-align: center;
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, var(--color-amber-dark), var(--color-amber));
  color: var(--color-charcoal);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-box h2 {
  margin: 0 0 0.5rem;
  color: var(--color-charcoal);
}

.cta-box p {
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.cta-box .btn-primary {
  background: var(--color-charcoal);
  color: var(--color-amber-light);
}

.cta-box .btn-primary:hover {
  background: var(--color-charcoal-light);
  color: var(--color-white);
}

/* Page Hero */
.page-hero {
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 2.5rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
}

/* Services Page */
.service-desc {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.pricing-card {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 2px solid #eee;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--color-amber);
  background: linear-gradient(to bottom, rgba(212,160,23,0.08), var(--color-white));
}

.badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background: var(--color-amber);
  color: var(--color-charcoal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.pricing-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.vehicle-type {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 0.5rem;
}

.pricing-card .price {
  margin: 0;
  font-size: 1.1rem;
}

.extras-grid {
  display: grid;
  gap: 1rem;
}

.extra-card {
  background: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid #eee;
}

.extra-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1.5rem;
}

.gallery-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.gallery-figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 120px;
}

.gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-figure figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  background: rgba(0,0,0,0.6);
  color: var(--color-white);
}

.gallery-figure.after figcaption {
  background: rgba(212, 160, 23, 0.9);
  color: var(--color-charcoal);
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.5rem;
}

.review-card {
  background: var(--color-cream);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-amber);
}

.review-stars {
  color: var(--color-amber);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.review-card blockquote {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--color-charcoal);
}

.review-card cite {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.review-cta {
  text-align: center;
  margin-top: 2rem;
}

.review-cta p {
  margin-bottom: 1rem;
}

.review-cta .btn {
  margin: 0 0.5rem 0.5rem 0;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

.contact-card {
  background: var(--color-cream);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.contact-link {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-amber-dark);
  margin-bottom: 0.25rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.service-areas {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid #eee;
}

.service-areas h3 {
  margin: 0 0 0.5rem;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-amber), var(--color-amber-light));
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.cta-card h2 {
  margin: 0 0 0.5rem;
}

.cta-card p {
  margin: 0 0 1rem;
}

/* Legal Pages */
.legal-page {
  padding: 2rem 0 3rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  margin-bottom: 0.25rem;
}

.legal-updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal-content ul {
  margin: 0.5rem 0 1rem;
  padding-left: 1.5rem;
}

.legal-content p {
  margin: 0.5rem 0;
}

/* Footer */
.footer {
  background: var(--color-charcoal);
  color: rgba(255,255,255,0.8);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer a {
  color: rgba(255,255,255,0.8);
}

.footer-contact a {
  display: block;
  margin-bottom: 0.25rem;
}

.footer a:hover {
  color: var(--color-amber-light);
}

.footer li {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.footer-bottom p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--color-amber-light);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: 1rem 1.25rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-consent.hidden {
  display: none;
}

.cookie-content p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.cookie-content a {
  color: var(--color-amber-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-actions .btn-ghost {
  color: var(--color-white);
}

.cookie-actions .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
}

/* Desktop */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-list li {
    border-bottom: none;
  }

  .nav-list a {
    padding: 0;
  }

  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

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

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

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

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

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

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
  }

  .cookie-content p {
    margin: 0;
    flex: 1;
  }

  .cookie-actions {
    flex-shrink: 0;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}
