/* Modern Tron-inspired Footer styles for Sphynx Tequila Website */
footer {
  background: linear-gradient(to bottom, #ffffff, #f8f9fa);
  padding: 2rem 5vw 1.5rem;
  position: relative;
  border-top: none;
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.05);
  background-clip: padding-box;
  margin: 0;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, 
    #000 0%,
    rgba(0, 0, 0, 0.8) 20%, 
    rgba(0, 0, 0, 0.5) 40%, 
    rgba(0, 0, 0, 0.2) 60%,
    rgba(255, 255, 255, 0.8) 80%,
    #fff 100%
  );
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  z-index: 1;
}

.footer-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-logo {
  width: 150px; /* Increased from 120px */
  height: auto;
  transition: transform 0.3s ease;
  filter: none; /* Remove invert filter to show the logo properly */
  margin-bottom: 0.8rem;
  display: block;
}

.footer-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.3));
}

h4 {
  color: #000;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: #000;
  transition: width 0.3s ease;
}

h4:hover::after {
  width: 100%;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000; /* Set proper color for email */
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-email span {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: #000; /* Ensure email text is black */
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #000;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #000, #333);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-links a i {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-color: #000;
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a:hover i {
  color: #fff;
  transform: scale(1.1);
}

.footer-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-quick-links a {
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.35rem 0;
  display: inline-block;
  position: relative;
  width: fit-content;
}

.footer-quick-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.footer-quick-links a:hover {
  color: #000;
  transform: translateX(5px);
}

.footer-quick-links a:hover::after {
  width: 100%;
}

.footer-quick-links a i {
  transition: transform 0.3s ease;
}

.footer-quick-links a:hover i {
  transform: scale(1.2);
}

.footer-email:hover {
  transform: translateY(-2px);
}

.footer-email:hover span {
  color: #333;
  text-decoration: underline;
}

.footer-email:hover i {
  transform: scale(1.1);
}

/* Sphynx Approved Section */
.sphynx-approved {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 1rem;
  text-align: center;
}

.sphynx-cat {
  width: 45px;
  height: 45px;
  filter: brightness(0);
  animation: gentle-sway 4s ease-in-out infinite;
}

@keyframes gentle-sway {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(5deg); }
}

.sphynx-approved span {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #000, #555);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* Updated Footer Bottom */
.footer-bottom {
  padding-top: 1.2rem;
  margin-top: 1.2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
  position: relative;
}

.copyright small {
  background: linear-gradient(120deg, #000, #444, #000);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: #000; /* Fallback if background-clip isn't supported */
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.2rem 0;
  text-shadow: 0px 0px 1px rgba(0,0,0,0.1);
}

.responsibility-notice {
  margin-top: 0.7rem;
  display: block;
  color: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.01em;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.responsibility-notice p {
  margin: 0.2rem 0;
}

@media (max-width: 768px) {
  footer {
    padding: 2.5rem 5vw 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .footer-quick-links ul {
    align-items: center;
  }
  
  .footer-contact {
    text-align: center;
  }
  
  .footer-email {
    justify-content: center;
  }
  
  .footer-bottom {
    padding-top: 1.2rem;
    margin-top: 1.2rem;
  }
  
  .sphynx-approved {
    flex-direction: column;
    gap: 0.5rem;
  }
}
