/* ===== SUMMIT PLUMBING CO — STYLE.CSS ===== */
/* Industrial blue & white, clean, trustworthy */

:root {
  --primary: #1a4b8c;
  --primary-dark: #0f2d57;
  --accent: #e8a020;
  --text: #1a1a1a;
  --text-light: #555;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --border: #dde4ef;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(26,75,140,0.10);
  --transition: 0.3s ease;
}

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

/* UTILITY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-pad { padding: 5rem 0; }
.label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: 0.03em; color: var(--primary-dark); }

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: #c8881a; transform: translateY(-2px); }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); }
.btn-full { width: 100%; text-align: center; }

/* NAVBAR */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled { background: var(--primary-dark); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 2rem; max-width: 1200px; margin: 0 auto; }
.logo { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.1em; color: #fff; }
.logo span { color: var(--accent); margin-left: 4px; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { background: var(--accent); color: #fff !important; padding: 0.5rem 1.2rem; border-radius: var(--radius); }
.nav-cta:hover { background: #c8881a; }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 1.6rem; cursor: pointer; }
.mobile-menu { display: none; flex-direction: column; background: var(--primary-dark); padding: 1rem 2rem 1.5rem; }
.mobile-menu a { color: rgba(255,255,255,0.85); padding: 0.6rem 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu.open { display: flex; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-img-wrapper { position: absolute; inset: 0; }
.hero-img-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #0f2d57 0%, #1a4b8c 60%, #2a6abd 100%);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3); font-size: 1rem; text-align: center;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,25,50,0.88) 0%, rgba(10,25,50,0.5) 60%, transparent 100%); }
.hero-content { position: relative; z-index: 2; padding: 8rem 2rem 4rem; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.hero-content h1 { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); color: #fff; line-height: 1; letter-spacing: 0.02em; margin-bottom: 1.2rem; }
.hero-sub { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 520px; margin-bottom: 2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-badges { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.badge { display: flex; flex-direction: column; }
.badge-num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); letter-spacing: 0.03em; line-height: 1; }
.badge span:last-child { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; }

/* TRUST BAR */
.trust-bar { background: var(--primary); padding: 1rem 0; }
.trust-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; padding: 0 1.5rem; max-width: 1200px; margin: 0 auto; }
.trust-item { color: rgba(255,255,255,0.9); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.02em; }

/* SERVICES GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--bg-alt); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary-dark); }
.service-card p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.card-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; transition: color var(--transition); }
.card-link:hover { color: var(--accent); }

/* SPLIT LAYOUT */
.split-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.img-placeholder {
  width: 100%; height: 420px; background: var(--bg-alt);
  border: 2px dashed var(--border); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); text-align: center; font-size: 0.9rem;
}
.split-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--primary-dark); margin-bottom: 1rem; }
.split-text p { color: var(--text-light); margin-bottom: 1.5rem; }
.feature-list { list-style: none; margin-bottom: 2rem; }
.feature-list li { padding: 0.4rem 0; color: var(--text-light); font-size: 0.95rem; }

/* TESTIMONIALS */
.testimonials { background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); box-shadow: var(--shadow); }
.stars { color: var(--accent); font-size: 1.1rem; margin-bottom: 1rem; }
.testi-card p { color: var(--text-light); font-style: italic; margin-bottom: 1rem; line-height: 1.7; }
.testi-author { font-weight: 600; font-size: 0.9rem; color: var(--primary); }

/* CTA BANNER */
.cta-banner { background: var(--primary-dark); padding: 4rem 0; text-align: center; }
.cta-banner h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; font-size: 1.05rem; }

/* FOOTER */
footer { background: #0a1a30; padding: 4rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 0.9rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-contact p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* PAGE HERO (inner pages) */
.page-hero { background: var(--primary-dark); padding: 7rem 0 3rem; text-align: center; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; letter-spacing: 0.03em; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-top: 0.75rem; }

/* SERVICES FULL PAGE */
.service-full-item { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 5rem; padding-bottom: 5rem; border-bottom: 1px solid var(--border); }
.service-full-item:last-child { border-bottom: none; }
.service-full-item.reverse .service-full-img { order: 2; }
.service-full-item.reverse .service-full-text { order: 1; }
.service-full-img img { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }
.service-icon-lg { font-size: 3rem; margin-bottom: 1rem; }
.service-full-text h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--primary-dark); margin-bottom: 1rem; }
.service-full-text p { color: var(--text-light); margin-bottom: 1.5rem; }

/* ABOUT PAGE */
.about-stats { display: flex; gap: 2.5rem; margin: 2rem 0; flex-wrap: wrap; }
.stat span { font-family: var(--font-display); font-size: 2.5rem; color: var(--primary); display: block; line-height: 1; }
.stat p { font-size: 0.85rem; color: var(--text-light); margin-top: 0.2rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; }
.team-card img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); margin-bottom: 1rem; }
.team-img-placeholder { width: 100%; height: 240px; background: var(--bg); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.8rem; text-align: center; margin-bottom: 1rem; }
.team-card h3 { font-weight: 600; color: var(--primary-dark); }
.team-card p { font-size: 0.85rem; color: var(--text-light); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }
.value-item { padding: 2rem; border-left: 3px solid var(--accent); }
.value-num { font-family: var(--font-display); font-size: 3rem; color: var(--border); line-height: 1; margin-bottom: 0.5rem; }
.value-item h3 { font-weight: 600; color: var(--primary-dark); margin-bottom: 0.5rem; }
.value-item p { color: var(--text-light); font-size: 0.9rem; }

/* GALLERY PAGE */
.gallery-filter { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 99px; padding: 0.5rem 1.2rem; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: all var(--transition); font-family: var(--font-body); }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-img-placeholder { width: 100%; height: 240px; background: var(--bg-alt); border: 2px dashed var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 0.8rem; text-align: center; }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; padding: 1.5rem 1rem 0.75rem; font-size: 0.85rem; font-weight: 500; }
.gallery-item.hidden { display: none; }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.lightbox-img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }

/* CONTACT PAGE */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }
.contact-info h2 { font-family: var(--font-display); font-size: 2rem; color: var(--primary-dark); margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-item h4 { font-weight: 600; color: var(--primary-dark); font-size: 0.9rem; }
.contact-item p { color: var(--text-light); font-size: 0.95rem; }
.contact-item small { color: var(--text-light); font-size: 0.8rem; }
.map-placeholder { width: 100%; height: 250px; background: var(--bg-alt); border: 2px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); text-align: center; font-size: 0.85rem; margin-top: 2rem; }
.contact-form-wrap { background: var(--bg-alt); border-radius: var(--radius); padding: 2.5rem; border: 1px solid var(--border); }
.contact-form-wrap h2 { font-family: var(--font-display); font-size: 2rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.contact-form-wrap > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.2rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.75rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem;
  background: #fff; 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(--primary); box-shadow: 0 0 0 3px rgba(26,75,140,0.1); }
.form-note { font-size: 0.78rem; color: var(--text-light); text-align: center; margin-top: 0.75rem; }
.form-success { text-align: center; padding: 3rem 2rem; }
.success-icon { width: 64px; height: 64px; background: #22c55e; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.8rem; margin: 0 auto 1rem; }
.form-success h3 { font-family: var(--font-display); font-size: 2rem; color: var(--primary-dark); }
.form-success p { color: var(--text-light); margin-top: 0.5rem; }

/* SCROLL 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); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .split-container, .service-full-item, .contact-layout, .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .service-full-item.reverse .service-full-img, .service-full-item.reverse .service-full-text { order: unset; }
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero-content h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .hero-badges { gap: 1.5rem; }
  .trust-inner { gap: 1rem; }
}
