/* =====================================================
   TrueClean Solutions LLC — Stylesheet
   Easy to edit: search for color variables at the top
   ===================================================== */

/* ===== DESIGN TOKENS (edit colors here) ===== */
:root {
  --blue-dark:   #0d2b55;   /* navy — primary brand color */
  --blue-mid:    #1a4a8a;   /* medium blue */
  --blue-light:  #2563eb;   /* bright blue — buttons, accents */
  --accent:      #3B82F6;   /* amber — highlight color */
  --text-dark:   #111827;
  --text-body:   #374151;
  --text-muted:  #6b7280;
  --bg-white:    #ffffff;
  --bg-light:    #f8fafc;
  --bg-alt:      #f1f5f9;
  --border:      #e2e8f0;
  --radius:      12px;
  --radius-sm:   8px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.14);
  --transition:  0.2s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
}
img { max-width: 100%; display: block; }
a { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-dark); }

/* ===== LAYOUT ===== */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.section-sub { margin-top: 12px; color: var(--text-muted); font-size: 1.05rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-light);
  color: #fff;
  border-color: var(--blue-light);
}
.btn-primary:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--blue-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.logo:hover { color: #fff; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: #fff; }
.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--blue-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-menu a {
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu.open { display: flex; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  /*
    TO ADD YOUR BACKGROUND PHOTO:
    Replace the gradient below with:
    background: url('images/hero-bg.jpg') center/cover no-repeat;
  */
  background: linear-gradient(135deg, var(--blue-dark) 0%, #0f3b7a 50%, #153d8a 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 43, 85, 0.15);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--blue-dark);
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  font-size: 0.95rem;
}
.trust-icon {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.service-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-dark));
  /*
    TO ADD SERVICE PHOTOS:
    .service-img-1 { background: url('images/pressure-washing.jpg') center/cover; }
    etc.
  */
 
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
 .service-img-1 {
background: url("images/pressure-house.jpg") center/cover no-repeat;
}

.service-img-2 {
background: url("images/window-clean.jpg") center/cover no-repeat;
}

.service-img-3 {
background: url("images/driveway.jpg") center/cover no-repeat;
}

.service-img-4 {
background: url("images/gutter.jpg") center/cover no-repeat;
}

.service-img-5 {
background: url("images/full-house.jpg") center/cover no-repeat;
}
.service-img::after {
  content: '';
}
.service-body { padding: 24px; }
.service-body h3 { margin-bottom: 8px; color: var(--text-dark); }
.service-body p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; }
.link-arrow {
  color: var(--blue-light);
  font-weight: 600;
  font-size: 0.9rem;
}
.link-arrow:hover { color: var(--blue-dark); }

.service-card-cta {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-cta-inner {
  padding: 32px;
  text-align: center;
}
.service-cta-inner h3 { color: #fff; margin-bottom: 12px; }
.service-cta-inner p { color: rgba(255,255,255,0.75); margin-bottom: 24px; font-size: 0.95rem; }

/* ===== WHY CHOOSE US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--bg-white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.why-icon { font-size: 2rem; margin-bottom: 16px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== BEFORE / AFTER ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.gallery-item { position: relative; }
.photo-placeholder {
  height: 220px;
  background: #d1d5db;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #9ca3af;
}
.photo-placeholder span {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.photo-placeholder p { font-size: 0.75rem; }
.photo-placeholder-after { background: #bfdbfe; color: var(--blue-mid); }
.gallery-label {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.before-label { background: rgba(0,0,0,0.55); color: #fff; }
.after-label  { background: var(--blue-light); color: #fff; }

/* ===== CONTACT ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); margin-bottom: 32px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.contact-detail a, .contact-detail span {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-detail a:hover { color: var(--blue-light); }

/* ===== FORM ===== */
.contact-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.consent-group { margin-bottom: 24px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--blue-light);
  cursor: pointer;
  border: none;
  padding: 0;
  box-shadow: none;
}
.checkbox-label input:focus { box-shadow: none; }

.sms-disclosure {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.sms-disclosure a { color: var(--blue-light); font-size: 0.75rem; }

.form-success {
  text-align: center;
  padding: 48px 24px;
}
.success-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 24px;
}
.form-success h3 { margin-bottom: 12px; color: var(--text-dark); }
.form-success p { color: var(--text-muted); font-size: 0.95rem; }

/* ===== FOOTER ===== */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo-light { margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.footer-links a, .footer-contact a, .footer-contact span {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.5); font-size: 0.85rem; }
.footer-legal a:hover { color: rgba(255,255,255,0.9); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { min-height: 75vh; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .gallery-pair { grid-template-columns: 1fr; }
  .trust-inner { gap: 16px; }
  .trust-item { font-size: 0.85rem; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
}
