/* ===== MM AUTO DETAILING - MASTER STYLESHEET ===== */

/* --- CSS Variables --- */
:root {
  --primary: #0a0a0a;
  --secondary: #1a1a1a;
  --accent: #c9a84c;
  --accent-hover: #dabb60;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #888888;
  --text: #e0e0e0;
  --text-dark: #333333;
  --overlay: rgba(0, 0, 0, 0.65);
  --card-bg: #111111;
  --border: rgba(201, 168, 76, 0.2);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --radius: 12px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
  color: var(--white);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: #aaaaaa;
  font-size: 1.1rem;
  max-width: 650px;
}

.section-light .section-subtitle {
  color: #666;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav-logo span {
  color: var(--white);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  margin-top: 16px;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 8px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 24px;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0.5px;
}

.nav-dropdown-menu a:hover {
  background: rgba(201, 168, 76, 0.1);
}

.nav-dropdown-menu a::after {
  display: none;
}

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Sections --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 120px 0 80px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Page Hero (shorter) */
.page-hero {
  min-height: 50vh;
  padding-top: 120px;
}

.page-hero .hero-content {
  padding: 60px 0;
}

/* --- Section Spacing --- */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--secondary);
  padding: 100px 0;
}

.section-light {
  background: var(--light-gray);
  color: var(--text-dark);
}

.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--primary);
}

.section-light .section-subtitle {
  color: #666;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(201, 168, 76, 0.1);
}

.service-card-img {
  height: 240px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-body {
  padding: 30px;
}

.service-card-body h3 {
  margin-bottom: 12px;
}

.service-card-body p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.service-card-body .btn {
  padding: 12px 28px;
  font-size: 0.8rem;
}

/* --- Photo Grid / Gallery --- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}

.photo-grid-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-grid-item:hover img {
  transform: scale(1.05);
}

.photo-grid-item .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.photo-grid-item:hover .photo-overlay {
  opacity: 1;
}

.photo-overlay span {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Large featured photo */
.photo-grid-item.large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 4/3;
}

/* --- Stats Bar --- */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 16px 0;
}

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

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.9rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--medium-gray);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* Review Scroll Carousel */
.reviews-scroll {
  margin-top: 50px;
}

.reviews-scroll::-webkit-scrollbar {
  height: 6px;
}

.reviews-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 3px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
  background: #c9a84c;
  border-radius: 3px;
}

.reviews-scroll .testimonial-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.reviews-scroll .testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #c9a84c;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.testimonial-stars {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 4px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 0.95rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
}

.testimonial-detail {
  color: var(--medium-gray);
  font-size: 0.85rem;
}

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 20px;
}

.process-step {
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.03);
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.06);
}

.process-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.4;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Ensure How It Works section has enough padding */
.section-dark .process-grid + div {
  padding-bottom: 10px;
}

.process-step h4 {
  margin-bottom: 12px;
}

.process-step p {
  color: #aaaaaa;
  font-size: 0.9rem;
}

.process-step h4 {
  color: var(--white);
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.cta-content h2 {
  margin-bottom: 20px;
}

.cta-content p {
  color: var(--medium-gray);
  margin-bottom: 36px;
  font-size: 1.1rem;
}

/* --- Benefits / Features --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.benefit-item:hover {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.05);
}

.benefit-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.benefit-item h4 {
  margin-bottom: 8px;
}

.benefit-item p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --- Service Detail Page --- */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}

.service-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-text h3 {
  margin-bottom: 16px;
}

.service-detail-text p {
  color: var(--medium-gray);
  margin-bottom: 16px;
}

.service-features {
  margin: 24px 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text);
  font-size: 0.95rem;
}

.service-features li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

/* --- Location Page --- */
.location-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
  margin-bottom: 10px;
}

/* Service Areas section extra breathing room */
.section-dark .location-areas ~ div {
  margin-top: 50px;
  padding-bottom: 10px;
}

.area-tag {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: center;
  font-weight: 500;
  transition: var(--transition);
}

.area-tag:hover {
  border-color: var(--accent);
  background: rgba(201, 168, 76, 0.08);
  color: var(--accent);
}

/* --- FAQ Section --- */
.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  font-family: inherit;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question span {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 50px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.contact-info-item .icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.contact-info-item p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Footer --- */
.footer {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--medium-gray);
  font-size: 0.9rem;
  margin-top: 16px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
}

.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.footer ul li a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--medium-gray);
  font-size: 0.85rem;
}

/* --- Body scroll lock when mobile menu open --- */
body.nav-open {
  overflow: hidden;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: if JS doesn't run, make everything visible */
.no-js .fade-in,
.fade-in-fallback {
  opacity: 1;
  transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 1024px) {
  .reviews-scroll .testimonial-card {
    min-width: 320px !important;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--secondary);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding: 80px 30px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links > a,
  .nav-links > .nav-dropdown > a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links > .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-links > .nav-dropdown > a {
    border-bottom: none;
  }

  .nav-links .btn {
    margin-top: 20px;
    width: 100%;
    text-align: center;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-logo img {
    height: 30px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 10px 16px;
    opacity: 1;
    visibility: visible;
    margin-top: 0;
    min-width: auto;
    max-height: 200px;
    overflow-y: auto;
  }

  .nav-dropdown-menu a {
    padding: 8px 12px;
    font-size: 0.85rem;
    color: var(--medium-gray);
  }

  .hero-content {
    padding: 100px 0 60px;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 20px 40px;
  }

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

  .photo-grid-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section,
  .section-dark {
    padding: 70px 0;
  }

  /* Override inline grid styles for mobile */
  .mobile-grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .mobile-grid-4 > div {
    aspect-ratio: 4/3 !important;
  }

  .mobile-grid-3 {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .mobile-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

@media (max-width: 480px) {
  .mobile-grid-4 {
    grid-template-columns: 1fr 1fr !important;
  }
  .hero-btns {
    flex-direction: column;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

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

  .photo-grid-item.large {
    grid-column: span 1;
  }

  .stats-bar {
    flex-wrap: wrap;
    gap: 16px 30px;
  }
}
