/* Leak Pro Marietta - High Performance Stylesheet */
:root {
  --color-navy: #0A192F;
  --color-navy-light: #112240;
  --color-teal: #0D9488;
  --color-teal-hover: #0F766E;
  --color-orange: #EA580C;
  --color-orange-hover: #C2410C;
  --color-green: #22C55E;
  --color-green-hover: #16A34A;
  --color-bg-light: #F8FAFC;
  --color-text: #334155;
  --color-text-dark: #0F172A;
  --color-white: #FFFFFF;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1200px;
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: #FFFFFF;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  background-color: var(--color-navy);
  color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-white);
}

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

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

.nav-item {
  position: relative;
}

.nav-link, .dropdown-toggle {
  color: #E2E8F0;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  transition: var(--transition);
}

.nav-link:hover, .dropdown-toggle:hover, .nav-item:hover > .dropdown-toggle {
  color: var(--color-teal);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-navy-light);
  min-width: 220px;
  max-height: calc(100vh - 90px);
  overflow-y: auto;
  border-radius: 6px;
  padding: 0.35rem 0;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  list-style: none;
  display: flex;
  flex-direction: column;
  z-index: 1010;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--color-teal);
  border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: var(--color-navy);
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  color: #CBD5E1;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1.3;
  transition: var(--transition);
}

.dropdown-icon {
  width: 14px;
  height: 14px;
  fill: var(--color-teal);
  flex-shrink: 0;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background-color: var(--color-teal);
  color: var(--color-white);
  text-decoration: none;
}

.dropdown-menu a:hover .dropdown-icon {
  fill: var(--color-white);
}

.header-phone-cta {
  background-color: var(--color-orange);
  color: var(--color-white);
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.header-phone-cta:hover {
  background-color: var(--color-orange-hover);
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content Layout */
main {
  flex: 1;
}

.hero-section {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  padding: 4rem 0;
}

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

.hero-content h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.hero-content p {
  font-size: 1.125rem;
  color: #94A3B8;
  margin-bottom: 1.75rem;
}

.cta-button {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--color-teal-hover);
}

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

/* Page Section */
.page-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
}

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

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

.card {
  background: var(--color-white);
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 20px -5px rgba(0, 0, 0, 0.1);
  border-color: var(--color-teal);
}

.card h3 {
  color: var(--color-navy);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--color-text);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.card-link {
  color: var(--color-teal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--color-orange);
}

.placeholder-box {
  background-color: #F1F5F9;
  border: 2px dashed #CBD5E1;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  color: #64748B;
  margin: 1.5rem 0;
}

/* Footer Styling */
.site-footer {
  background-color: var(--color-navy);
  color: #94A3B8;
  padding-top: 4rem;
  margin-top: auto;
}

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

.footer-col h4 {
  color: var(--color-white);
  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: 40px;
  height: 2px;
  background-color: var(--color-teal);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.license-info {
  font-size: 0.85rem;
  color: #64748B;
  font-weight: 600;
}

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

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

.footer-col ul a {
  color: #CBD5E1;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--color-teal);
  padding-left: 0.25rem;
}

.contact-list p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.emergency-badge {
  background-color: rgba(234, 88, 12, 0.15);
  color: var(--color-orange);
  border: 1px solid var(--color-orange);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-block;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #1E293B;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #64748B;
}

/* Floating Call Button */
.floating-call-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--color-green);
  color: var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.5);
  z-index: 9999;
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.floating-call-btn:hover {
  background-color: var(--color-green-hover);
  transform: scale(1.08);
}

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-navy);
    padding: 1rem 0;
    display: none;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link, .dropdown-toggle {
    width: 100%;
    padding: 0.85rem 1.5rem;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: #0F172A;
    box-shadow: none;
    display: none;
    padding: 0;
  }
  .nav-item.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    padding-left: 2.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
}
