/*
Theme Name: Leak Geeks
Theme URI: https://calleakgeeks.com
Author: Leak Geeks
Author URI: https://calleakgeeks.com
Description: A fast, conversion-focused WordPress theme for Leak Geeks — water damage repair and leak detection services across Pennsylvania and Delaware.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: leak-geeks
Tags: one-column, custom-logo, custom-menu, featured-images
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: hsl(30, 25%, 97%);
  --fg: hsl(0, 0%, 15%);
  --card: hsl(0, 0%, 100%);
  --primary: hsl(348, 60%, 28%);
  --primary-fg: hsl(0, 0%, 98%);
  --secondary: hsl(30, 20%, 92%);
  --muted: hsl(0, 0%, 40%);
  --border: hsl(30, 15%, 88%);
  --guarantee: hsl(142, 50%, 35%);
  --guarantee-fg: hsl(0, 0%, 100%);
  --radius: 0.5rem;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: var(--radius);
}
.btn-hero {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 1rem 3rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 25px -5px hsla(348, 60%, 28%, 0.25);
}
.btn-hero:hover { background: hsla(348, 60%, 28%, 0.85); }
.btn-hero-outline {
  background: transparent;
  color: var(--primary-fg);
  border: 2px solid hsla(0, 0%, 98%, 0.3);
  padding: 1rem 3rem;
  font-size: 1.125rem;
}
.btn-hero-outline:hover { background: hsla(0, 0%, 98%, 0.1); }
.btn-cta {
  background: var(--guarantee);
  color: var(--guarantee-fg);
  padding: 1rem 3rem;
  font-size: 1.125rem;
  box-shadow: 0 10px 25px -5px hsla(142, 50%, 35%, 0.25);
}
.btn-cta:hover { background: hsla(142, 50%, 35%, 0.9); }
.btn-nav {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 2.5rem;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px hsla(348, 60%, 28%, 0.25);
}

/* ========== NAVBAR ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsla(0, 0%, 100%, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.site-logo img { height: 4rem; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsla(0, 0%, 15%, 0.7);
  transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.current { color: var(--primary); }
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.mobile-toggle svg { width: 1.5rem; height: 1.5rem; }
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
  padding-bottom: 1rem;
}
.mobile-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.mobile-menu .btn { width: calc(100% - 3rem); margin: 0.5rem 1.5rem 0; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.open { display: block; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(0, 0%, 15%, 0.9), hsla(0, 0%, 15%, 0.75), hsla(0, 0%, 15%, 0.4));
}
.hero .container {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-fg);
  margin-bottom: 1.5rem;
  max-width: 42rem;
}
.hero p {
  font-size: 1.125rem;
  color: hsla(0, 0%, 98%, 0.8);
  margin-bottom: 2rem;
  max-width: 42rem;
  line-height: 1.7;
}
.hero-problems {
  list-style: none;
  margin-bottom: 1.5rem;
}
.hero-problems li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(0, 0%, 98%, 0.8);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
.hero-problems li svg { flex-shrink: 0; margin-top: 0.125rem; }

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (min-width: 768px) {
  .hero .container { padding-top: 8rem; padding-bottom: 8rem; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero .container { padding-top: 10rem; padding-bottom: 10rem; }
  .hero h1 { font-size: 3.75rem; }
}

/* ========== TRUST BADGES ========== */
.trust-badges {
  padding: 3rem 0;
  background: var(--secondary);
}
.trust-badges p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
}
.badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.badges-row img {
  height: 4rem;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}
.badges-row img:hover { filter: grayscale(0); }
@media (min-width: 768px) {
  .badges-row img { height: 5rem; }
  .badges-row { gap: 3rem; }
}

/* ========== PROBLEM SECTION ========== */
.section { padding: 4rem 0; }
.section-alt { background: var(--secondary); }
.section-primary { background: var(--primary); color: var(--primary-fg); }

@media (min-width: 768px) { .section { padding: 6rem 0; } }

.section-header {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-header h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
.section-header p { font-size: 1.125rem; color: var(--muted); line-height: 1.7; }
@media (min-width: 768px) { .section-header h2 { font-size: 2.25rem; } }

.cards-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.card:hover {
  border-color: hsla(348, 60%, 28%, 0.3);
  box-shadow: 0 4px 12px hsla(0, 0%, 0%, 0.08);
}
.card .icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* ========== GUARANTEES ========== */
.guarantee-card { text-align: center; }
.guarantee-card .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: hsla(0, 0%, 98%, 0.15);
  margin-bottom: 1.5rem;
}
.guarantee-card .icon-circle svg { width: 2rem; height: 2rem; color: var(--primary-fg); }
.guarantee-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.guarantee-card p { color: hsla(0, 0%, 98%, 0.8); font-size: 0.875rem; line-height: 1.7; }
.guarantee-list {
  list-style: none;
  margin-top: 0.75rem;
  color: hsla(0, 0%, 98%, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
}
.guarantee-list li { margin-bottom: 0.25rem; }
.guarantee-list li::before { content: "• "; }

/* ========== CTA ========== */
.cta-section { text-align: center; padding: 4rem 0; }
.cta-section h2 { font-size: 1.875rem; margin-bottom: 1.5rem; }
.cta-section p { font-size: 1.125rem; color: var(--muted); margin-bottom: 2rem; }
@media (min-width: 768px) {
  .cta-section { padding: 5rem 0; }
  .cta-section h2 { font-size: 2.25rem; }
}

/* ========== DELAWARE PAGE ========== */
.check-list { list-style: none; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1rem;
  font-weight: 500;
}
.check-list li svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; }

.reason-list { list-style: none; max-width: 42rem; margin: 0 auto; }
.reason-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: hsla(0, 0%, 15%, 0.8);
}
.reason-list li svg { width: 1.25rem; height: 1.25rem; color: var(--primary); flex-shrink: 0; margin-top: 0.125rem; }

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--secondary);
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.area-tag svg { width: 0.875rem; height: 0.875rem; color: var(--primary); }

/* ========== CONTACT PAGE ========== */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: hsla(348, 60%, 28%, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon-box svg { width: 1.25rem; height: 1.25rem; color: var(--primary); }
.contact-info-item strong { display: block; margin-bottom: 0.25rem; }
.contact-info-item span { color: var(--muted); }
.contact-info-item a span { transition: color 0.2s; }
.contact-info-item a:hover span { color: var(--primary); }

.contact-cta-box {
  background: var(--secondary);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.contact-cta-box h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-cta-box p { color: var(--muted); margin-bottom: 2rem; }

.contact-grid {
  display: grid;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }

/* ========== FOOTER ========== */
.site-footer {
  background: var(--fg);
  color: var(--bg);
  padding: 3rem 0;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 1rem; }
.site-footer h4 { font-family: var(--font-display); font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer p { color: hsla(30, 25%, 97%, 0.7); font-size: 0.875rem; line-height: 1.7; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: hsla(30, 25%, 97%, 0.7); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--bg); }
.footer-contact a, .footer-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(30, 25%, 97%, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--bg); }
.footer-contact svg { width: 1rem; height: 1rem; }
.footer-bottom {
  border-top: 1px solid hsla(30, 25%, 97%, 0.2);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsla(30, 25%, 97%, 0.5);
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
