/* Tampa 24/7 Plumbing - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Merriweather', Georgia, serif;
  --color-primary-navy: #0F172A;
  --color-trust-blue: #1D4ED8;
  --color-safety-orange: #EA580C;
  --color-safety-orange-hover: #C2410C;
  --color-soft-slate: #F8FAFC;
  --color-border-slate: #E2E8F0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-primary-navy);
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-editorial {
  font-family: var(--font-serif);
}

/* Safety Orange Primary CTA Button (Exclusively for Click-to-Call and Urgent Dispatch) */
.btn-dispatch {
  background-color: var(--color-safety-orange);
  color: #FFFFFF;
  font-weight: 700;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px 0 rgba(234, 88, 12, 0.35);
}

.btn-dispatch:hover {
  background-color: var(--color-safety-orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(234, 88, 12, 0.45);
}

.btn-dispatch:active {
  transform: translateY(0);
}

/* Secondary Trust Blue CTA */
.btn-trust {
  background-color: var(--color-trust-blue);
  color: #FFFFFF;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-trust:hover {
  background-color: #1e40af;
}

/* Google AdSense Layout Compliance Containers 
   - Strict min-height to prevent Cumulative Layout Shift (CLS)
   - Guaranteed minimum 24px margin around all ads to avoid accidental clicks
   - Clean, compliant label
*/
.adsense-slot {
  background-color: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 28px !important;
  margin-bottom: 28px !important;
  padding: 12px;
}

.adsense-slot::before {
  content: "ADVERTISEMENT • SPONSORED";
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.adsense-leaderboard {
  min-height: 90px;
  width: 100%;
}

.adsense-large-banner {
  min-height: 120px;
  width: 100%;
}

.adsense-rectangle {
  min-height: 250px;
  width: 100%;
}

.adsense-skyscraper {
  min-height: 600px;
  width: 100%;
}

/* Mega Menu & Dropdown Styling */
.mega-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease-in-out;
}

.group:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Accordion Smooth Transitions */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.open {
  max-height: 1200px;
  transition: max-height 0.4s ease-in-out;
}

/* Custom Table Styles for Pricing Guides */
.pricing-table th, .pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #E2E8F0;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

/* Pulse animation for 24/7 Live Emergency Status */
@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.live-badge-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s infinite;
}

/* Troubleshooter Step Active Indicator */
.step-circle.active {
  background-color: #1D4ED8;
  color: #FFFFFF;
  border-color: #1D4ED8;
}

.step-circle.completed {
  background-color: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

/* Print Friendly Styles */
@media print {
  .sticky-top, .adsense-slot, .floating-mobile-bar, header, footer {
    display: none !important;
  }
}
