/* BlazingWash - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Source+Serif+4:wght@400;600;700&display=swap');

:root {
  --primary: #1a365d;
  --secondary: #2b6cb0;
  --accent: #3182ce;
  --light-blue: #ebf8ff;
  --text-dark: #1a202c;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --gray-100: #f7fafc;
  --gray-200: #edf2f7;
  --border: #e2e8f0;
  --footer-bg: #1a2744;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 16px;
}

/* HEADER */
header {
  background: var(--white);
  border-bottom: 2px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 52px; width: auto; }
.logo span { font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: -0.5px; }

nav ul { list-style: none; display: flex; gap: 0; }
nav ul li a {
  display: block;
  padding: 10px 16px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  text-transform: uppercase;
}
nav ul li a:hover, nav ul li a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 4px;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--secondary); color: var(--white) !important; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 25px; height: 2px; background: var(--text-dark); display: block; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}
.hero h1 { font-family: 'Source Serif 4', serif; font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 18px; max-width: 640px; margin: 0 auto 32px; opacity: 0.9; }
.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-weight: 700; font-size: 15px; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; }
.btn-primary { background: var(--white); color: var(--primary); }
.btn-primary:hover { background: var(--light-blue); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.7); margin-left: 12px; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-blue { background: var(--accent); color: var(--white); }
.btn-blue:hover { background: var(--secondary); }

/* PAGE HERO (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 56px 20px;
  text-align: center;
}
.page-hero h1 { font-family: 'Source Serif 4', serif; font-size: 36px; font-weight: 700; }
.page-hero p { margin-top: 10px; opacity: 0.85; font-size: 16px; }

/* BREADCRUMB */
.breadcrumb { background: var(--gray-100); border-bottom: 1px solid var(--border); padding: 10px 20px; font-size: 13px; color: var(--text-light); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb span { margin: 0 6px; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }

/* SECTION TITLES */
.section-title { font-family: 'Source Serif 4', serif; font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.section-subtitle { color: var(--text-mid); font-size: 17px; margin-bottom: 40px; max-width: 600px; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-2px); }
.service-icon { font-size: 36px; margin-bottom: 16px; }
.service-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.service-card p { color: var(--text-mid); font-size: 15px; }

/* FEATURES / WHY US */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: center; }
.feature-list { list-style: none; }
.feature-list li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; align-items: flex-start; }
.feature-list li:last-child { border-bottom: none; }
.check { color: var(--accent); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.feature-image { background: var(--light-blue); border-radius: 8px; height: 340px; display: flex; align-items: center; justify-content: center; font-size: 80px; }

/* STATS */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-item { padding: 24px; }
.stat-num { font-size: 42px; font-weight: 900; color: var(--white); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.8); margin-top: 6px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.stats-section { background: var(--primary); padding: 48px 0; }

/* TESTIMONIALS */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 28px; }
.stars { color: #f59e0b; margin-bottom: 10px; font-size: 18px; }
.testimonial-text { color: var(--text-mid); font-style: italic; margin-bottom: 16px; font-size: 15px; }
.testimonial-author { font-weight: 700; color: var(--primary); font-size: 14px; }
.testimonial-location { color: var(--text-light); font-size: 13px; }

/* CTA BANNER */
.cta-banner { background: var(--accent); color: var(--white); padding: 56px 20px; text-align: center; }
.cta-banner h2 { font-family: 'Source Serif 4', serif; font-size: 30px; margin-bottom: 12px; }
.cta-banner p { margin-bottom: 28px; opacity: 0.9; font-size: 17px; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.2s; }
.blog-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); }
.blog-card-img { height: 160px; background: var(--light-blue); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.blog-card-body { padding: 20px; }
.blog-meta { font-size: 12px; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.3; }
.blog-card p { font-size: 14px; color: var(--text-mid); }
.blog-card a { color: var(--accent); text-decoration: none; font-size: 14px; font-weight: 600; }

/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact-detail strong { display: block; color: var(--primary); font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-detail span, .contact-detail a { color: var(--text-mid); text-decoration: none; }
.contact-detail a:hover { color: var(--accent); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: 6px; padding: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 15px; font-family: inherit;
  color: var(--text-dark); transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* CONTENT PAGES (privacy, terms) */
.content-page { max-width: 820px; margin: 0 auto; padding: 48px 20px 64px; }
.content-page h2 { font-family: 'Source Serif 4', serif; font-size: 24px; color: var(--primary); margin: 32px 0 12px; }
.content-page h3 { font-size: 18px; color: var(--primary); margin: 24px 0 10px; }
.content-page p { color: var(--text-mid); margin-bottom: 16px; }
.content-page ul { margin: 12px 0 16px 24px; color: var(--text-mid); }
.content-page ul li { margin-bottom: 6px; }
.last-updated { background: var(--light-blue); border-left: 3px solid var(--accent); padding: 12px 16px; font-size: 14px; color: var(--text-mid); margin-bottom: 32px; }

/* PRICING TABLE */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--white); }
.pricing-card.featured { border-color: var(--accent); box-shadow: 0 8px 24px rgba(49,130,206,0.15); }
.pricing-head { padding: 24px; text-align: center; background: var(--gray-100); }
.pricing-card.featured .pricing-head { background: var(--primary); color: var(--white); }
.pricing-head h3 { font-size: 20px; font-weight: 700; }
.pricing-head .price { font-size: 36px; font-weight: 900; margin: 10px 0; }
.pricing-head .price span { font-size: 16px; font-weight: 400; }
.pricing-features { padding: 24px; list-style: none; }
.pricing-features li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.pricing-footer { padding: 0 24px 24px; text-align: center; }

/* ABOUT PAGE */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 24px; background: var(--white); border: 1px solid var(--border); border-radius: 6px; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--light-blue); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.team-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); }
.team-card span { font-size: 13px; color: var(--text-light); }

/* FOOTER */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 12px; font-size: 14px; line-height: 1.7; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo span { font-size: 22px; font-weight: 900; color: var(--white); }
footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.45); }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; margin: 0 8px; }

/* ALERT/NOTICE */
.notice { background: var(--light-blue); border: 1px solid #bee3f8; border-radius: 4px; padding: 14px 18px; font-size: 14px; color: var(--text-mid); margin-bottom: 24px; }

/* TABLE */
table { width: 100%; border-collapse: collapse; margin: 20px 0; }
th { background: var(--primary); color: var(--white); padding: 12px 16px; text-align: left; font-size: 14px; }
td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-mid); }
tr:nth-child(even) td { background: var(--gray-100); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid, .testimonials-grid, .pricing-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .features-grid, .contact-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 10px 0; box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
  nav ul.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  .services-grid, .testimonials-grid, .pricing-grid, .blog-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero .btn-secondary { margin-left: 0; margin-top: 10px; }
}
