/* ========================================
   MODERN FOOTER DESIGN
   Destined Hub - Consistent & Professional
   ======================================== */

/* ========================================
   FOOTER MAIN CONTAINER
   ======================================== */
.site-footer {
  background: var(--brand-beige);
  color: var(--white);
  padding: var(--spacing-4xl) 0 var(--spacing-xl);
  position: relative;
  overflow: visible;
  margin-top: calc(-1 * var(--spacing-2xl));
  clear: both;
}

/* Extend footer background to cover white space */
.site-footer::before {
  content: '';
  position: absolute;
  top: calc(-1 * var(--spacing-2xl) - 1px);
  left: -50vw;
  right: -50vw;
  height: calc(var(--spacing-2xl) + 1px);
  background: var(--brand-beige);
  z-index: -1;
}

/* Ensure container has proper spacing */
.site-footer .container {
  position: relative;
  z-index: 1;
}

/* Decorative line at top of footer */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.site-footer::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(192, 166, 142, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

/* ========================================
   FOOTER GRID LAYOUT
   ======================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
  margin-top: calc(var(--spacing-2xl) + 1cm);
  position: relative;
  z-index: 1;
}

/* ========================================
   FOOTER SECTIONS
   ======================================== */
.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
  letter-spacing: 0.5px;
}

.footer-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--brand-rose);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.footer-section:hover .footer-section-title::after {
  width: 60px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.footer-about .logo {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  text-decoration: none;
}

.footer-about .logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.footer-about-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: var(--spacing-md);
}

.footer-social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

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

.footer-social-link:hover {
  background: var(--primary-color);
  border-color: var(--brand-rose);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(192, 166, 142, 0.4);
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* ========================================
   QUICK LINKS SECTIONS
   ======================================== */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  width: 0;
  height: 2px;
  background: var(--brand-rose);
  transition: all 0.3s ease;
  opacity: 0;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 15px;
}

.footer-links a:hover::before {
  width: 8px;
  left: 0;
  opacity: 1;
}

/* ========================================
   NEWSLETTER SECTION
   ======================================== */
.footer-newsletter-description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: var(--spacing-md);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-newsletter-input {
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-input:focus {
  border-color: var(--brand-rose);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(192, 166, 142, 0.1);
}

.footer-newsletter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--brand-rose);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.footer-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(164, 131, 116, 0.4);
}

.footer-newsletter-btn svg {
  width: 18px;
  height: 18px;
}

/* ========================================
   CONTACT INFO SECTION
   ======================================== */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--brand-rose);
  margin-top: 2px;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* ========================================
   FOOTER BOTTOM SECTION
   ======================================== */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  position: relative;
  z-index: 1;
  margin-top: var(--spacing-lg);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer-copyright a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: var(--brand-rose);
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
  }

  .footer-about {
    grid-column: 1 / -1;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE
   ======================================== */
@media (max-width: 768px) {
  .site-footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .footer-about {
    grid-column: 1;
  }

  .footer-newsletter {
    grid-column: 1;
  }

  .footer-section-title {
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social-links {
    justify-content: center;
  }
}

/* ========================================
   FOOTER ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUp 0.6s ease-out backwards;
}

.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; }
.footer-section:nth-child(5) { animation-delay: 0.5s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.footer-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: rgba(164, 131, 116, 0.2);
  border: 1px solid rgba(164, 131, 116, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-rose);
  margin-bottom: var(--spacing-sm);
}

.footer-highlight {
  color: var(--brand-rose);
  font-weight: 600;
}

/* Scroll to top button in footer */
.footer-scroll-top {
  position: absolute;
  bottom: 20px;
  right: 40px;
  width: 40px;
  height: 40px;
  background: var(--brand-rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(192, 166, 142, 0.4);
  z-index: 10;
}

.footer-scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(192, 166, 142, 0.5);
}

.footer-scroll-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .footer-scroll-top {
    right: 20px;
  }
}
