/* Cava de Oro Website Footer - Liquid Glass Design */
/* Modern, elegant footer with liquid glass transparency */

/* Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css');

:root {
  --gold: #D4AF37;
  --dark-gold: #B8860B;
  --black: #000000;
  --white: #ffffff;
  --glass-bg: rgba(0, 0, 0, 0.95);
  --glass-bg-hover: rgba(0, 0, 0, 1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --backdrop-blur: blur(15px);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== MAIN FOOTER STYLES ===== */
footer {
  background: var(--black);
  border-top: 1px solid var(--glass-border);
  padding: 1.5rem 0 0.1rem;
  margin-top: -25;
  position: relative;
  font-family: 'Poppins', sans-serif;
  color: var(--white);
  min-height: auto;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  pointer-events: none;
}

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

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

/* ===== FOOTER BRAND SECTION ===== */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: var(--transition);
}

.social-heading {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 1.6rem;
  transition: var(--transition);
  backdrop-filter: var(--backdrop-blur);
  -webkit-backdrop-filter: var(--backdrop-blur);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-links a i {
  font-size: 1.6rem;
  color: var(--gold);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.social-links a:hover i {
  color: var(--black);
}

/* ===== QUICK LINKS SECTION ===== */
.footer-quick-links h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

.footer-quick-links ul li {
  margin-bottom: 0.5rem;
}

.footer-quick-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  max-width: fit-content;
}

.footer-quick-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: var(--transition);
}

.footer-quick-links a:hover::after {
  width: calc(100% - 25px);
}

.footer-quick-links a i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  margin-right: 0.25rem;
}

/* ===== CONTACT SECTION ===== */
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0;
  transition: var(--transition);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-email:hover {
  color: var(--gold);
}

.footer-email i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  margin-right: 0.25rem;
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.footer-address i {
  color: var(--gold);
  font-size: 1rem;
  width: 20px;
  text-align: center;
  margin-top: 0.1rem;
  margin-right: 0.25rem;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 0.5rem 0 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.copyright {
  margin-bottom: 0.5rem;
}

.responsibility-notice {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  line-height: 1.3;
  max-width: 500px;
  margin: 0 auto;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

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

.responsibility-notice:hover,
.responsibility-notice p:hover {
  line-height: 1.3;
}

.copyright small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  line-height: 1.3;
}

.copyright small:hover {
  line-height: 1.3;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    padding: 0 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .footer-brand {
    order: 1;
  }
  
  .footer-contact {
    order: 2;
  }
  
  .footer-quick-links {
    order: 3;
  }
  
  .footer-logo {
    height: 70px;
  }
  
  .social-links {
    gap: 0.8rem;
  }
  
  .social-links a {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 1.5rem 0 1rem;
  }
  
  .footer-content {
    padding: 0 0.5rem;
  }
  
  .footer-grid {
    gap: 1.5rem;
  }
  
  .footer-logo {
    height: 60px;
  }
  
  .social-links a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  
  .footer-quick-links a,
  .footer-email,
  .footer-address {
    font-size: 0.9rem;
  }
  
  .responsibility-notice {
    font-size: 0.8rem;
  }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-hover: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
  }
}

/* ===== ACCESSIBILITY ===== */
@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 */
.footer-quick-links a:focus,
.footer-email:focus,
.social-links a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --gold: #FFD700;
    --white: #FFFFFF;
    --glass-bg: rgba(0, 0, 0, 0.8);
    --glass-border: rgba(255, 255, 255, 0.5);
  }
}
