/*
Theme Name: Dean Auto
Theme URI: https://deanauto.net
Author: Dean Auto
Description: Professional mobile car detailing site for Dean Auto. Thornton, Westminster, Brighton & North Denver.
Version: 1.0.2
License: GNU General Public License v2 or later
Text Domain: deanauto
*/

:root {
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-300: #93c5fd;
  --primary-400: #60a5fa;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  --primary-800: #1e40af;
  --primary-900: #1e3a8a;
  --secondary-300: #5eead4;
  --secondary-600: #0d9488;
  --secondary-100: #ccfbf1;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; color: var(--gray-700); line-height: 1.6; }

.container { max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-left: 2rem; padding-right: 2rem; } }

/* Nav */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }
.nav-links { display: none; }
@media (min-width: 768px) { .nav-links { display: flex; align-items: center; gap: 2rem; } }
.nav-links a { color: var(--gray-700); font-weight: 500; text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: var(--primary-600); }
.nav-links a.btn-primary { color: #fff; }
.nav-links a.btn-primary:hover { color: #fff; }
.nav-brand { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); text-decoration: none; }
.nav-toggle { display: block; padding: .5rem; border: none; background: none; color: var(--gray-700); cursor: pointer; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-mobile { display: none; padding: 1rem; border-top: 1px solid var(--gray-200); background: #fff; }
.nav-mobile.open { display: block; }
.nav-mobile a { display: block; padding: .5rem 0; color: var(--gray-700); font-weight: 500; text-decoration: none; }
.nav-mobile a:hover { color: var(--primary-600); }

/* Buttons */
.btn { display: inline-block; font-weight: 600; text-decoration: none; transition: all .2s; cursor: pointer; border: none; }
.btn-primary { background: var(--primary-600); color: #fff; padding: .5rem 1.5rem; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.btn-primary:hover { background: var(--primary-700); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.btn-secondary { background: #fff; color: var(--primary-700); padding: 1rem 2rem; border-radius: .75rem; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; padding: 1rem 2rem; border-radius: .75rem; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
#Setmore_button_iframe { float: none !important; color: #fff !important; }
#Setmore_button_iframe:hover { color: #fff !important; }
.navbar .nav-book-now { color: #fff !important; }
.navbar .nav-book-now:hover { color: #fff !important; }

/* Hero */
.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary-600), var(--primary-700), var(--primary-900)); color: #fff; text-align: center; position: relative; overflow: hidden; padding: 4rem 1rem; }
.hero-content { position: relative; z-index: 10; }
.hero-logo { margin-bottom: 2rem; }
.hero-logo img { height: 12rem; width: auto; object-fit: contain; }
@media (min-width: 768px) { .hero-logo img { height: 14rem; } }
@media (min-width: 1024px) { .hero-logo img { height: 16rem; } }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; line-height: 1.2; }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero-sub { color: var(--secondary-300); }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255,255,255,.9); max-width: 48rem; margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .hero p { font-size: 1.5rem; } }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 6rem; background: linear-gradient(to top, rgba(255,255,255,.2), transparent); }

/* Sections */
section { padding: 5rem 0; }
.section-title { font-size: 2.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; text-align: center; }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-subtitle { font-size: 1.25rem; color: var(--gray-600); max-width: 42rem; margin: 0 auto 4rem; text-align: center; }
.bg-white { background: #fff; }
.bg-gray { background: var(--gray-50); }

/* About block */
.about-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-card { display: flex; gap: 1rem; padding: 1.5rem; background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: .75rem; }
.about-card-icon { width: 3rem; height: 3rem; border-radius: .5rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-card-icon.primary { background: var(--primary-100); color: var(--primary-600); }
.about-card-icon.secondary { background: var(--secondary-100); color: var(--secondary-600); }
.about-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.about-card p { color: var(--gray-600); }
a.external { color: var(--primary-600); font-weight: 600; }
a.external:hover { color: var(--primary-700); }

/* Services grid */
.services-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border: 1px solid var(--gray-100); transition: box-shadow .3s, border-color .3s; }
.service-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.15); border-color: var(--primary-200); }
.service-icon { width: 4rem; height: 4rem; border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; color: #fff; }
.service-icon.blue { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.service-icon.teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.service-icon.primary { background: linear-gradient(135deg, var(--primary-500), var(--primary-600)); }
.service-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1rem; }
.service-card p { color: var(--gray-600); margin-bottom: 1rem; }
.service-card a.learn { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary-600); font-weight: 600; font-size: .875rem; text-decoration: none; }
.service-card a.learn:hover { color: var(--primary-700); }

/* Products grid */
.products-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
.product-card { background: #fff; border-radius: 1rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); border: 1px solid var(--gray-200); overflow: hidden; display: flex; flex-direction: column; }
@media (min-width: 768px) { .product-card { flex-direction: row; } }
.product-card:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,.15); }
.product-img { width: 100%; height: 12rem; background: var(--gray-100); flex-shrink: 0; }
@media (min-width: 768px) { .product-img { width: 12rem; height: auto; min-height: 12rem; } }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 1rem; }
.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: .75rem; font-weight: 600; color: var(--primary-600); background: var(--primary-50); padding: .25rem .5rem; border-radius: .25rem; display: inline-block; margin-bottom: .5rem; }
.product-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: .75rem; }
.product-card .desc { color: var(--gray-600); margin-bottom: 1rem; flex-grow: 1; }
.product-card a.more { display: inline-flex; align-items: center; gap: .5rem; color: var(--primary-600); font-weight: 600; font-size: .875rem; text-decoration: none; margin-top: auto; }
.product-card a.more:hover { color: var(--primary-700); }

/* Testimonials */
.testimonials-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card { background: var(--gray-50); border-radius: 1rem; padding: 2rem; border: 1px solid var(--gray-200); }
.stars { color: #facc15; margin-bottom: 1rem; }
.testimonial-card blockquote { color: var(--gray-700); font-style: italic; margin-bottom: 1.5rem; }
.testimonial-card cite { font-weight: 600; color: var(--gray-900); font-style: normal; }

/* Gallery */
.gallery-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { aspect-ratio: 4/3; border-radius: .75rem; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-tip { font-size: .875rem; background: #fef3c7; border: 1px solid #fcd34d; color: #92400e; padding: .5rem 1rem; border-radius: .5rem; max-width: 36rem; margin: 0 auto 4rem; }

/* Page hero (inner pages) */
.page-hero { padding: 5rem 0; background: linear-gradient(135deg, var(--primary-600), var(--primary-800)); color: #fff; text-align: center; }
.page-hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.75rem; } }
.page-hero p { font-size: 1.25rem; color: rgba(255,255,255,.9); }

/* Pricing */
.pricing-grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1);
  border: 2px solid var(--gray-200);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pricing-grid .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.12), 0 10px 10px -5px rgba(0,0,0,.06);
  border-color: var(--primary-300);
}
/* Most popular - ribbon bar at top of card */
.pricing-card-popular { position: relative; overflow: visible; }
.pricing-card-popular .pricing-badge {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--primary-600);
  padding: 0.5rem 1rem;
  margin: -2rem -2rem 1rem -2rem;
  border-radius: 1rem 1rem 0 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.25);
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin-bottom: .25rem; }
.pricing-card .price { font-size: 1.25rem; font-weight: 600; color: var(--primary-600); margin-bottom: .5rem; }
.pricing-card .p-desc { color: var(--gray-600); font-size: .875rem; margin-bottom: 1rem; }
.pricing-card ul { list-style: none; }
.pricing-card li { padding: .5rem 0; padding-left: 1.5rem; position: relative; color: var(--gray-700); }
.pricing-card li:before { content: ""; position: absolute; left: 0; top: .75rem; width: .5rem; height: .5rem; background: var(--primary-600); border-radius: 50%; }

/* Contact */
.contact-grid { display: grid; gap: 2rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); text-align: center; }
.contact-card .icon { width: 4rem; height: 4rem; border-radius: .75rem; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; }
.contact-card .icon.primary { background: var(--primary-100); color: var(--primary-600); }
.contact-card .icon.secondary { background: var(--secondary-100); color: var(--secondary-600); }
.contact-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: .5rem; }
.contact-card a { color: var(--primary-600); text-decoration: none; }
.contact-card a:hover { color: var(--primary-700); }
.hours-card { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); max-width: 42rem; margin: 0 auto; }
.hours-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1rem; }
.hours-row .icon { color: var(--primary-600); flex-shrink: 0; }

/* Service page content */
.service-content { max-width: 48rem; margin: 0 auto; }
.service-content h1 { font-size: 2.25rem; font-weight: 700; color: var(--gray-900); margin-bottom: 1.5rem; }
@media (min-width: 768px) { .service-content h1 { font-size: 3rem; } }
.service-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--gray-900); margin: 2rem 0 1rem; }
.service-content p { font-size: 1.125rem; color: var(--gray-600); margin-bottom: 1rem; }
.service-content ul { margin: 1rem 0; padding-left: 1.5rem; }
.service-content li { margin-bottom: .5rem; color: var(--gray-700); }
.service-content .related { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--gray-200); }
.main-pt { padding-top: 5rem; }

/* Footer */
.site-footer { background: var(--gray-900); color: var(--gray-300); padding: 3rem 0; }
.footer-grid { display: grid; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.site-footer h4 { font-size: 1.125rem; font-weight: 600; color: #fff; margin-bottom: 1rem; }
.site-footer a { color: var(--gray-400); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; }
.site-footer .footer-bottom { border-top: 1px solid #1f2937; padding-top: 2rem; text-align: center; font-size: .875rem; color: var(--gray-500); }
.site-footer .footer-bottom a { color: var(--gray-400); text-decoration: underline; }
.site-footer .footer-bottom a:hover { color: #fff; }

/* Utility */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-8 { margin-top: 2rem; }

