/* Footer Component Styles */
.footer {
  background-color: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Main Footer Grid */
.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Brand Section */
.footer-brand {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.footer .logo-heart {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.logo-text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  gap: 0.25rem;
}

.footer .logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  filter: brightness(0) invert(1);
  white-space: nowrap;
}

.footer .logo-tagline {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  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 2px rgba(0, 0, 0, 0.3);
  filter: brightness(0) invert(1);
  white-space: nowrap;
}

.plus-symbol {
  color: var(--heartland-red);
  font-weight: 700;
}

.footer-description {
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Contact Information */
.footer-contact {
  margin-bottom: 1.5rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-contact p:hover {
  color: var(--white);
}

.footer-contact i {
  color: var(--heartland-red);
  width: 16px;
  text-align: center;
  font-size: 0.875rem;
}

/* Trust Badges - Horizontal flat list */
.footer-trust-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-trust-badges .trust-badge {
  color: var(--gray-300);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  text-transform: none;
  font-weight: normal;
  letter-spacing: normal;
  width: auto;
  height: auto;
  flex-shrink: 0;
  justify-content: flex-start;
}

.footer-trust-badges .trust-badge:hover {
  color: var(--heartland-red);
  transform: none;
}

.footer-trust-badges .trust-badge i {
  color: var(--heartland-red);
  width: 16px;
  text-align: center;
  font-size: 0.875rem;
  margin-right: 0;
}

.footer-trust-badges .trust-badge.google-guaranteed {
  color: var(--gray-300);
}

.footer-trust-badges .trust-badge.google-guaranteed i {
  color: #4285f4;
}

/* Footer Sections */
.footer-section h3 {
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--heartland-red);
  padding-bottom: 0.5rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--heartland-red);
}

/* Social Links */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.social-link {
  color: var(--gray-300);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.social-link:hover {
  color: var(--heartland-red);
}

.social-link i {
  width: 16px;
  text-align: center;
  font-size: 0.875rem;
}

/* Custom Nextdoor icon */
.social-link .fa-nextdoor::before {
  content: "N";
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 0.75rem;
  color: #00C300;
  background: white;
  border-radius: 2px;
  padding: 1px 2px;
  display: inline-block;
  line-height: 1;
}

/* Business Hours */
.footer-hours h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.footer-hours p {
  color: var(--gray-300);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray-400);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--heartland-red);
}

.footer-credentials {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--gray-400);
  font-size: 0.75rem;
}

/* Agency Credits */
.footer-agency {
  border-top: 1px solid var(--gray-700);
  padding-top: 1rem;
  text-align: center;
  color: var(--gray-500);
  font-size: 0.75rem;
}

.agency-credit {
  display: flex;
  align-items: center;
  justify-content: center;
}

.agency-credit p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-agency a {
  color: var(--gray-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-agency a:hover {
  color: var(--heartland-red);
}

.hpc-logo-img {
  height: 18px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  filter: brightness(0) invert(1);
  vertical-align: middle;
}

.hpc-logo-img:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 6rem; /* Increased bottom padding for mobile call bar */
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-logo {
    justify-content: center;
  }

  .logo-heart-container {
    width: 65px;
    height: 65px;
    margin-right: 0;
  }
  
  .logo-text-container {
    align-items: center;
  }
  
  .footer-description {
    text-align: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .footer-trust-badges {
    justify-content: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h3 {
    text-align: center;
  }
  
  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-links {
    align-items: center;
  }
  
  .social-link {
    justify-content: center;
  }
  
  .footer-hours {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    align-items: center;
  }
  
  .footer-credentials {
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  .footer-agency {
    text-align: center;
    margin-bottom: 1rem; /* Extra space for agency credit */
  }
  
  .agency-credit p {
    gap: 0.4rem;
  }
  
  .hpc-logo-img {
    height: 16px;
  }
}

@media (max-width: 480px) {
  .footer-content {
    padding: 0 0.75rem;
  }
  
  .footer-logo {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .logo-heart-container {
    width: 60px;
    height: 60px;
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .logo-text-container {
    align-items: center;
  }
  
  .social-links {
    align-items: center;
  }
  
  .social-link {
    justify-content: center;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .footer-section a,
  .social-link,
  .trust-badge {
    transition: none;
  }
  
  .footer-section a:hover,
  .social-link:hover {
    transform: none;
  }
}

/* Focus States */
.footer-section a:focus,
.social-link:focus,
.legal-links a:focus,
.footer-agency a:focus {
  outline: 2px solid var(--heartland-red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print Styles */
@media print {
  .footer {
    background: var(--white);
    color: var(--gray-900);
  }
  
  .footer-section a,
  .social-link {
    color: var(--gray-700);
  }
  
  .trust-badge {
    background: var(--gray-100);
    color: var(--gray-700);
    border-color: var(--gray-300);
  }
} 