﻿/* Leak Pro Harrisburg - Custom Theme: Charcoal + Burgundy + Cream */
:root {
  --color-charcoal: #1E222A;
  --color-charcoal-light: #2A303C;
  --color-burgundy: #8B1E3F;
  --color-burgundy-hover: #6E1531;
  --color-cream: #FDFBF7;
  --color-cream-card: #FAF6EE;
  --color-beige: #EFEBE3;
  --color-text-dark: #22252A;
  --color-text-muted: #555E68;
  --color-border: #E2DDD5;
}

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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--color-cream);
  color: var(--color-text-dark);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
header {
  background-color: var(--color-charcoal);
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #ffffff;
}

.logo-img {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--color-burgundy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-item > a, .nav-item > span {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-item:hover > a, .nav-item:hover > span {
  color: #FDFBF7;
  opacity: 0.9;
}

/* Compact Dropdown Menus */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-charcoal-light);
  min-width: 250px;
  border-radius: 8px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: none;
  list-style: none;
  z-index: 1000;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
}

.nav-item:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 1rem;
  color: #E2DDD5;
  text-decoration: none;
  font-size: 0.88rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-menu li a:hover {
  background-color: var(--color-burgundy);
  color: #ffffff;
}

.dropdown-menu svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

.header-cta {
  background-color: var(--color-burgundy);
  color: #ffffff !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: 6px;
  font-weight: 700 !important;
  transition: background-color 0.2s ease;
}

.header-cta:hover {
  background-color: var(--color-burgundy-hover) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-charcoal) 0%, #2D333F 100%);
  color: #ffffff;
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.hero-content p {
  font-size: 1.15rem;
  color: #E2DDD5;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  object-fit: cover;
}

.cta-button {
  display: inline-block;
  background-color: var(--color-burgundy);
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(139, 30, 63, 0.3);
}

.cta-button:hover {
  background-color: var(--color-burgundy-hover);
  transform: translateY(-2px);
}

/* Page Sections & Typography */
.page-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.1rem;
  color: var(--color-charcoal);
  margin-bottom: 1.5rem;
  border-bottom: 3px solid var(--color-burgundy);
  display: inline-block;
  padding-bottom: 0.4rem;
}

h2 {
  font-size: 1.8rem;
  color: var(--color-charcoal);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--color-burgundy);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

/* Grid & Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background-color: var(--color-cream-card);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.card h3 {
  margin-top: 0;
}

/* In-body Links */
main a {
  color: var(--color-burgundy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

main a:hover {
  color: var(--color-burgundy-hover);
}

/* Footer */
footer {
  background-color: var(--color-charcoal);
  color: #ffffff;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--color-burgundy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-intro p {
  color: #C5BEC8;
  font-size: 0.95rem;
  margin-top: 1rem;
  line-height: 1.65;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-burgundy);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: #D2C9D4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.license-badge {
  display: inline-block;
  background-color: var(--color-burgundy);
  color: #ffffff;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #9A949E;
  font-size: 0.88rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* Footer Styles matching Lancaster & Marietta structure */
.site-footer {
  background-color: var(--color-charcoal);
  color: #94A3B8;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-logo img {
  border-radius: 4px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-burgundy);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: #94A3B8;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul a:hover {
  color: #ffffff;
}

.license-info {
  font-size: 0.85rem;
  color: var(--color-burgundy);
  font-weight: 600;
  margin-top: 0.5rem;
}

.emergency-badge {
  display: inline-block;
  background-color: rgba(139, 30, 63, 0.15);
  color: var(--color-burgundy);
  border: 1px solid var(--color-burgundy);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.contact-list p {
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  color: #94A3B8;
}

.contact-list a {
  color: var(--color-burgundy);
  text-decoration: none;
}

.footer-bottom {
  background-color: #14171D;
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: #64748B;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Fixed Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-burgundy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(139, 30, 63, 0.4);
  transition: transform 0.2s ease, background-color 0.2s ease;
  text-decoration: none;
}

.floating-call-btn:hover {
  transform: scale(1.08);
  background-color: #6d1732;
}

.floating-call-btn svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
