/* Footer Styles for WordPress Theme */

/* Background colors */
.footer-gradient {
  background: linear-gradient(to bottom, #2A3040, #1A1F2C) !important;
  position: relative;
}

.footer-gradient::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width=\'20\' height=\'20\' viewBox=\'0 0 20 20\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cg fill=\'%239C92AC\' fill-opacity=\'0.03\' fill-rule=\'evenodd\'%3E%3Ccircle cx=\'3\' cy=\'3\' r=\'3\'/%3E%3Ccircle cx=\'13\' cy=\'13\' r=\'3\'/%3E%3C/g%3E%3C/svg%3E');
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Grid layout for the three column structure */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Footer sections */
.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: white !important;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* Contact info */
.footer-contact-info {
  color: #d1d5db;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}

.contact-detail:hover {
  transform: translateX(5px);
}

.contact-detail a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail a:hover {
  color: #9b87f5;
}

.contact-icon {
  color: #9b87f5;
  flex-shrink: 0;
}

/* Quote button */
.quote-button {
  display: inline-block;
  background: linear-gradient(135deg, #9b87f5, #7E69AB);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
  margin-top: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(155, 135, 245, 0.3);
}

.quote-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(155, 135, 245, 0.4);
}

/* Navigation menus */
.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.footer-menu-section h4 {
  color: white !important;
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-item {
  margin-bottom: 0.5rem;
}

.footer-menu-link {
  display: flex;
  align-items: center;
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer-menu-link:hover {
  color: #9b87f5;
  transform: translateX(3px);
}

.footer-menu-icon {
  color: #9b87f5;
  margin-right: 0.25rem;
}

/* Social media */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #d1d5db;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: white;
  transform: translateX(5px);
}

.social-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  margin-right: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.social-link:hover .social-icon-wrapper {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Recognition card */
.recognition-card {
  background: rgba(26, 31, 44, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 220px;
}

.recognition-title {
  color: white;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.recognition-badges {
  display: flex;
  gap: 0.75rem;
}

.recognition-badge {
  background-color: white;
  padding: 0.5rem;
  border-radius: 0.25rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
}

.recognition-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.recognition-badge-text {
  display: block;
  font-size: 0.75rem;
  color: black;
}

.recognition-badge-stars {
  display: block;
  font-size: 0.75rem;
  color: black;
}

/* Legal & copyright */
.footer-legal {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-legal-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright-text {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .copyright-text {
    margin-bottom: 0;
    text-align: left;
  }
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-link {
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-link:hover {
  color: #9b87f5;
}

/* Accessibility enhancement */
.a11y-statement {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Print styles */
@media print {
  .footer-gradient {
    background: none !important;
    color: #000 !important;
  }
  
  .footer-section h3, 
  .footer-menu-section h4,
  .recognition-title {
    color: #000 !important;
  }
  
  .footer-contact-info,
  .footer-menu-link,
  .social-link,
  .copyright-text,
  .legal-link {
    color: #333 !important;
  }
  
  .quote-button {
    border: 1px solid #333;
    background: none !important;
    color: #333 !important;
  }
  
  .recognition-card {
    border: 1px solid #ccc;
    background: none !important;
  }
}
