/* =====================================================
   FastFlow Plumbing — MyWork Simple Business Site
   ===================================================== */

:root {
  --color-primary: #1A6FBF;
  --color-primary-dark: #155a9e;
  --color-text: #1a1a1a;
  --color-text-muted: #666;
  --color-bg: #fff;
  --color-bg-alt: #f8f7f5;
  --color-border: #e8e6e1;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --max-width: 1140px;
  --nav-height: 68px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* UTILITIES */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.label { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-primary); margin-bottom: 12px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.2s ease; text-decoration: none;
}
.btn-primary { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
.btn-full { width: 100%; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--color-text); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--color-text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--color-primary); }

/* HERO */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-height);
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px; padding: 80px 24px;
}
.hero-location {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.75);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(38px, 6vw, 64px);
  line-height: 1.1; margin-bottom: 20px; font-weight: 700;
}
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,0.85);
  margin-bottom: 36px; max-width: 520px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ABOUT */
.about { padding: 100px 0; background: var(--color-bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-text h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); margin-bottom: 20px; line-height: 1.2; }
.about-text p { color: var(--color-text-muted); font-size: 17px; line-height: 1.8; margin-bottom: 32px; }
.about-values { display: flex; flex-wrap: wrap; gap: 12px; }
.about-value {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-bg-alt); border: 1px solid var(--color-border);
  border-radius: 100px; padding: 8px 16px;
  font-size: 14px; font-weight: 500;
}
.about-image img {
  width: 100%; height: 480px; object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

/* SERVICES */
.services { padding: 100px 0; background: var(--color-bg-alt); }
.services h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); margin-bottom: 48px; line-height: 1.2; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: 12px; padding: 32px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }
.service-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--color-text-muted); line-height: 1.7; }
.service-icon { font-size: 28px; margin-bottom: 16px; }

/* CONTACT */
.contact { padding: 100px 0; background: var(--color-bg); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-info h2 { font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; line-height: 1.2; }
.contact-info > p { color: var(--color-text-muted); font-size: 17px; line-height: 1.8; margin-bottom: 40px; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.contact-details svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--color-primary); }
.contact-details a:hover { color: var(--color-primary); }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--color-text); }
.form-group input,
.form-group textarea {
  padding: 12px 16px; border: 1.5px solid var(--color-border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 15px;
  color: var(--color-text); background: var(--color-bg);
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--color-primary); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }
.form-status { font-size: 14px; text-align: center; min-height: 20px; }
.form-status.success { color: #2d6a4f; }
.form-status.error { color: #c1121f; }

/* FOOTER */
.footer { background: var(--color-text); color: rgba(255,255,255,0.7); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-logo { font-family: var(--font-heading); font-size: 18px; color: #fff; font-weight: 700; }
.footer-copy { font-size: 13px; }
.footer-built { font-size: 12px; }
.footer-built a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-built a:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-image { order: -1; }
  .about-image img { height: 300px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-content { padding: 60px 24px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
