/**
 * Footer Styles - Premium Design System
 * 
 * Three-column footer:
 * 1. Brand & tagline
 * 2. Navigation links
 * 3. CTA / Social
 * 
 * Dark premium background with clean typography
 * 
 * @package Ucondieresis
 */

/* ============================================
   Base Footer
   ============================================ */
.site-footer {
  background: #AB3DF5;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Futura', 'Trebuchet MS', sans-serif;
}

.site-footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

/* ============================================
   Column Base
   ============================================ */
.site-footer__column {
  display: flex;
  flex-direction: column;
}

/* ============================================
   Column 1: Brand
   ============================================ */
.site-footer__brand-column {
  gap: 16px;
}


.site-footer__brand-title {
  margin: 0;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}

/* Más presencia para la imagen del logo en footer */
.site-footer__brand-title img,
.site-footer__brand-title .custom-logo-link img,
.site-footer__brand-title .site-logo-image {
  height: 70px;
  width: auto;
  margin-right: 14px;
}

/* Harmonizar columnas: espaciado y ritmo visual */
.site-footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__brand-title .logo-char--special {
  font-style: italic;
  font-weight: 700;
  letter-spacing: 2px;
  color: #986EB9;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.site-footer__brand-title .logo-text {
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #FFFFFF;
}

/* Logo image support (custom-logo) */
.site-footer__brand-title img,
.site-footer__brand-title .custom-logo-link img {
  /* image sizes are handled above; fallback preserved */
  width: auto;
  margin-right: 8px;
  vertical-align: middle;
}

/* Ensure hover color visible for footer links */
.site-footer .site-footer__link:hover,
.site-footer .site-footer__social-link:hover {
  color: #F87C63;
}

.site-footer__brand-title:hover .logo-char--special {
  color: #AB8FD4;
}

.site-footer__tagline {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  max-width: 280px;
}

.site-footer__tagline:empty {
  display: none;
}

/* ============================================
   Column 2: Navigation
   ============================================ */
.site-footer__nav-column {
  gap: 16px;
}

.site-footer__column-title {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  font-family: 'Futura', 'Trebuchet MS', sans-serif;
}

.site-footer__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__nav-list li {
  margin: 0;
  padding: 0;
}

.site-footer__link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  padding: 2px 0;
  font-family: 'Futura', 'Trebuchet MS', sans-serif;
}

.site-footer__link:hover {
  color: #F87C63;
}

/* Subtle underline on hover */
.site-footer__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #F87C63 0%, rgb(155, 20, 200) 100%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-footer__link:hover::after {
  width: 100%;
}

/* ============================================
   Column 3: Social / CTA
   ============================================ */
.site-footer__social-column {
  gap: 16px;
}

.site-footer__social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Futura', 'Trebuchet MS', sans-serif;
}

.site-footer__social-link:hover {
  color: #F87C63;
}

.site-footer__social-link:hover .site-footer__social-icon {
  transform: translateX(4px);
}

.site-footer__social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Image variant for social icons (when using PNG from assets) */
.site-footer__social-icon--img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
}

.site-footer__social-text {
  display: inline-block;
  position: relative;
}

/* Underline animation on text only */
.site-footer__social-text::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #F87C63 0%, rgb(155, 20, 200) 100%);
  transition: width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-footer__social-link:hover .site-footer__social-text::after {
  width: 100%;
}

/* ============================================
   CTA Button (if needed in footer)
   ============================================ */
.site-footer__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: rgb(115, 0, 153);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
  font-family: 'Futura', 'Trebuchet MS', sans-serif;
}

.site-footer__cta-button:hover {
  background: rgb(135, 20, 173);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(115, 0, 153, 0.3);
}

.site-footer__cta-button:active {
  transform: translateY(0);
}

/* ============================================
   Copyright Bar
   ============================================ */
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
}

.site-footer__copyright {
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.2px;
}

/* ============================================
   Responsive: Tablet (768px and below)
   ============================================ */
@media (max-width: 768px) {
  .site-footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 40px 20px 30px;
  }

  .site-footer__brand-column {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-footer__tagline {
    max-width: none;
  }
}

/* ============================================
   Responsive: Mobile (600px and below)
   ============================================ */
@media (max-width: 600px) {
  .site-footer__container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 16px 20px;
  }

  .site-footer__brand-column {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-bottom: 0;
    border-bottom: none;
  }

  .site-footer__brand-title {
    font-size: 1rem;
  }

  .site-footer__column-title {
    font-size: 0.85rem;
  }

  .site-footer__link,
  .site-footer__social-link {
    font-size: 0.9rem;
  }

  .site-footer__bottom {
    padding: 20px 16px;
  }

  .site-footer__copyright {
    font-size: 0.8rem;
  }
}

