/* Navbar Component Styles - Local Service Demo */
/* Mobile sticky call bar */
.mobile-call-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: none;
  transition: all 0.3s ease;
}

.mobile-call-bar:hover {
  color: white;
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
}

.mobile-call-bar i {
  margin-right: 8px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Top bar styles removed */

/* Main header */
.main-header {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 998;
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 32px;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  gap: 2rem;
}

/* Logo section */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  width: 220px;
  justify-content: flex-start;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.main-header .logo-section .logo-heart-container {
  width: 75px !important;
  height: 75px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.08));
}

.main-header .logo-section .logo-heart {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  filter: none; /* Ensure no inversion on navbar logo */
}

/* Fallback styling if heart image doesn't load */
.logo-heart-container::before {
  content: "❤️";
  font-size: 45px;
  position: absolute;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo-heart:not([src]), .logo-heart[src=""] {
  display: none;
}

.logo-heart:not([src]) + .logo-heart-container::before,
.logo-heart[src=""] + .logo-heart-container::before {
  display: flex;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0; /* Allow text to shrink properly */
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1.0;
  letter-spacing: -0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  white-space: nowrap; /* Prevent text wrapping */
  filter: none; /* Ensure no inversion on navbar logo text */
}

.logo-tagline {
  font-size: 16px;
  font-weight: 700;
  color: #1e3a8a;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.0;
  margin-top: -2px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
  white-space: nowrap; /* Prevent text wrapping */
  filter: none; /* Ensure no inversion on navbar logo tagline */
}

.plus-symbol {
  color: #dc2626;
  font-weight: 800;
  font-size: 18px;
  margin: 0 3px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* Navbar Trust Badges */
.navbar-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.navbar-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.navbar-trust-badge:hover {
  color: #dc2626;
}

.navbar-trust-badge i {
  font-size: 0.875rem;
  width: 16px;
  text-align: center;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #1e3a8a;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  margin: 0;
}

.nav-link {
  color: #374151;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.05);
  transform: translateY(-1px);
}

/* Emergency link styling */
.nav-link.emergency-link {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.nav-link.emergency-link:hover {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.nav-link.emergency-link i {
  margin-right: 6px;
  animation: pulse 2s infinite;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #dc2626;
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after {
  width: 80%;
}

/* Dropdown styles */
.nav-dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 320px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 4px solid #dc2626;
  backdrop-filter: blur(10px);
}

.dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-section {
  margin-bottom: 24px;
}

.dropdown-section:last-child {
  margin-bottom: 0;
}

.dropdown-section h4 {
  color: #1e3a8a;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 8px;
}

.dropdown-section a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #374151;
  text-decoration: none;
  padding: 12px 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 10px;
  margin: 2px 0;
}

.dropdown-section a:hover {
  color: #dc2626;
  background: #fef2f2;
  transform: translateX(4px);
}

.dropdown-section a i {
  color: #dc2626;
  width: 16px;
  text-align: center;
}

/* Header CTA buttons removed - available in Hero section */



.btn {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
}

.btn-secondary:hover {
  background: #1e3a8a;
  color: white;
  transform: translateY(-2px);
}

.schedule-btn-prominent {
  animation: gentle-pulse 3s infinite;
}

@keyframes gentle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Responsive design */
@media (max-width: 768px) {
  .mobile-call-bar {
    display: block;
  }

  /* Top bar mobile styles removed */

  .header-container {
    padding: 10px 24px;
  }

  .navbar-trust-badges {
    display: none; /* Hide trust badges on mobile */
  }

  .logo-section {
    min-width: auto;
  }

  .nav-menu {
    margin: 0 20px;
    gap: 20px;
  }

  /* Trust badges mobile styles removed */

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    transition: left 0.3s ease;
    z-index: 999;
    padding: 80px 20px 20px;
    overflow-y: auto;
    box-shadow: none;
    transform: translateX(-100%);
  }

  .nav-menu.active {
    left: 0;
    transform: translateX(0);
  }

  .nav-link {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 18px;
  }

  .nav-link i {
    display: none; /* Hide down arrows on mobile */
  }

  /* Mobile emergency link styling */
  .nav-link.emergency-link {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    margin: 10px 0;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  }

  .nav-link.emergency-link:hover {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
  }

  .nav-link.emergency-link i {
    display: inline-block;
    margin-right: 8px;
    animation: pulse 2s infinite;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border: none;
    border-left: 3px solid #dc2626;
    background: #f9fafb;
    margin: 0;
    padding: 16px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-dropdown:hover .dropdown-content {
    display: none;
  }

  .nav-dropdown.active .dropdown-content {
    display: block;
  }

  .header-cta {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-top: 20px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 16px;
  }

  .logo-text {
    font-size: 22px;
    white-space: nowrap; /* Maintain alignment */
  }

  .logo-tagline {
    font-size: 11px;
    white-space: nowrap; /* Maintain alignment */
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 14px 16px;
  }

  /* Top bar content mobile styles removed */

  .main-header .logo-section .logo-heart-container {
    width: 65px !important;
    height: 65px !important;
  }

  .logo-text {
    font-size: 18px;
    line-height: 1.0;
    white-space: nowrap; /* Maintain alignment */
  }

  .logo-tagline {
    font-size: 12px;
    letter-spacing: 0.3px;
    line-height: 1.0;
    white-space: nowrap; /* Maintain alignment */
  }

  .plus-symbol {
    font-size: 14px;
    margin: 0 2px;
  }

  /* Trust badges and phone link mobile styles removed */
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.phone-link:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .mobile-call-bar,
  .top-bar {
    display: none;
  }
  
  .main-header {
    position: static;
    box-shadow: none;
  }
} 