/* ========== FOOTER MODERNE ========== */
.footer {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: var(--white);
  margin-top: auto;
  overflow: hidden;
  width: 100%;
  clear: both;
}

/* Wave Animation */
.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(-1px);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

.footer-wave-path {
  fill: var(--gray-50);
  animation: waveAnimation 10s ease-in-out infinite;
}

@keyframes waveAnimation {
  0%, 100% { 
    d: path("M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V0H0V27.35A600.21,600.21,0,0,0,321.39,56.44Z");
  }
  50% { 
    d: path("M321.39,66.44c58-5.79,114.16-20.13,172-31.86,82.39-11.72,168.19-12.73,250.45-.39C823.78,41,906.67,82,985.66,102.83c70.05,23.48,146.53,31.09,214.34,8V0H0V37.35A600.21,600.21,0,0,0,321.39,66.44Z");
  }
}

/* Footer Content */
.footer-content {
  padding-top: 80px;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-container.grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Footer Section */
.footer-section {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer About */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-logo-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
}

.footer-logo-wrapper img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.footer-logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2), transparent);
  border-radius: 50%;
  animation: logoGlow 3s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes logoGlow {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.15);
    opacity: 0.6;
  }
}

.footer-logo-text h3 {
  font-size: 1.3rem;
  font-weight: 900;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--gray-300);
  margin: 0.25rem 0 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link i {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.social-link.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.social-link.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.social-link.phone:hover {
  background: #10b981;
  border-color: #10b981;
}

.social-link.email:hover {
  background: #3b82f6;
  border-color: #3b82f6;
}

/* Footer Title */
.footer-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, transparent);
  border-radius: 2px;
}

.footer-title i {
  width: 22px;
  height: 22px;
  color: #3b82f6;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-300);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.footer-links a i {
  width: 18px;
  height: 18px;
  color: #3b82f6;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: scale(1.2);
  color: #60a5fa;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-contact li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.footer-contact li > i {
  width: 24px;
  height: 24px;
  color: #3b82f6;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-contact li div strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
}

.footer-contact li div p {
  color: var(--gray-300);
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact li div a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact li div a:hover {
  color: var(--white);
}

/* Payments */
.footer-payments {
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.payments-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.payments-wrapper h5 {
  text-align: center;
  color: var(--gray-300);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.payment-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.payment-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.payment-item img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.payment-item i {
  width: 20px;
  height: 20px;
  color: #3b82f6;
}

.payment-item span {
  color: var(--gray-300);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: center;
}

.copyright {
  color: var(--gray-300);
  margin: 0;
  font-size: 0.9rem;
}

.copyright strong {
  color: #3b82f6;
  font-weight: 700;
}

.developed-by {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  margin: 0;
  font-size: 0.9rem;
}

.heart-icon {
  width: 16px;
  height: 16px;
  color: #ef4444;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
}

.cvisual-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.cvisual-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3b82f6;
  transition: width 0.3s ease;
}

.cvisual-link:hover::after {
  width: 100%;
}

.cvisual-link:hover {
  color: #60a5fa;
}

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

.footer-bottom-link {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-bottom-link:hover {
  color: var(--white);
}

.separator {
  color: var(--gray-600);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #3b82f6, #60a5fa);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  transition: all 0.3s ease;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(59, 130, 246, 0.6);
}

.scroll-to-top i {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-container.grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-container.grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
    width: 100%;
  }
  
  .payment-methods {
    gap: 1rem;
  }
  
  .scroll-to-top {
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
  }
}
