/* Oconomowoc Water Damage Restoration Pros - Main Stylesheet */
:root {
  --navy: #0a2540;
  --blue: #1e4d8c;
  --teal: #0d9488;
  --light-teal: #e6f7f5;
  --white: #ffffff;
  --off-white: #f8fafc;
  --gray: #64748b;
  --dark-gray: #334155;
  --light-gray: #e2e8f0;
  --red: #dc2626;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background: var(--white);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; margin-top: 1.5rem; }
h3 { font-size: 1.25rem; margin-top: 1.25rem; }

p { margin-bottom: 1rem; }

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.logo:hover { text-decoration: none; color: var(--light-teal); }

.header-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.2s;
}

.header-cta:hover {
  background: #0f766e;
  text-decoration: none;
  color: var(--white);
}

/* Navigation */
.main-nav {
  background: var(--blue);
  padding: 0.5rem 1rem;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  justify-content: center;
}

.main-nav a {
  color: var(--white);
  font-size: 0.9rem;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 2.5rem 1rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.hero-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(13,148,136,0.4);
  transition: transform 0.15s, background 0.2s;
}

.hero-cta:hover {
  background: #0f766e;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

/* Sections */
.section {
  padding: 2rem 0;
}

.section-alt {
  background: var(--off-white);
}

.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Cards / Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--blue);
  margin-top: 0;
}

.card a {
  font-weight: 600;
  cursor: pointer;
}

/* CTA Blocks */
.cta-block {
  background: var(--light-teal);
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  text-align: center;
}

.cta-block a {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 0.5rem;
  cursor: pointer;
}

.cta-block a:hover {
  background: #0f766e;
  text-decoration: none;
  color: var(--white);
}

.cta-emergency {
  background: #fef2f2;
  border-left-color: var(--red);
}

.cta-emergency a {
  background: var(--red);
}

.cta-emergency a:hover {
  background: #b91c1c;
}

/* Lists */
ul, ol {
  margin: 0 0 1rem 1.5rem;
}

li { margin-bottom: 0.4rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--light-gray);
  padding: 1rem 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.site-footer a {
  color: #94a3b8;
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.site-footer a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #1e3a5f;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.footer-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.5rem;
  cursor: pointer;
}

.footer-cta:hover {
  background: #0f766e;
  color: var(--white);
  text-decoration: none;
}

/* Disclosure */
.disclosure {
  background: #f1f5f9;
  border: 1px solid var(--light-gray);
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin: 1.5rem 0;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

.breadcrumbs a { color: var(--blue); }

/* Mobile Sticky Call Button */
.mobile-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 0.9rem;
  font-weight: 700;
  font-size: 1.1rem;
  z-index: 99;
  text-decoration: none;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
}

.mobile-call:hover {
  background: #0f766e;
  color: var(--white);
  text-decoration: none;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

th, td {
  border: 1px solid var(--light-gray);
  padding: 0.6rem;
  text-align: left;
}

th { background: var(--off-white); }

/* Utility */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.5rem; }
  .hero h1 { font-size: 1.4rem; }
  .hero { padding: 1.75rem 1rem; }
  .main-nav { padding: 0.4rem 0.5rem; }
  .main-nav a { font-size: 0.8rem; padding: 0.3rem; }
  .mobile-call {
    display: block;
  }
  body {
    padding-bottom: 60px; /* space for sticky button */
  }
  .header-cta { font-size: 0.9rem; padding: 0.5rem 0.9rem; }
}

@media (min-width: 769px) {
  .mobile-call { display: none !important; }
}

/* Print */
@media print {
  .site-header, .main-nav, .mobile-call, .cta-block, .site-footer { display: none; }
  body { padding-bottom: 0; }
}
