/* ==========================================
   Footer Styles
   ========================================== */

.footer {
  background: var(--text-dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-md);
  margin-top: var(--spacing-xl);
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

/* Footer Grid */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

/* Footer Column */
.footer__col {
  min-width: 0;
}

.footer__title {
  color: white;
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: var(--spacing-sm);
  cursor: pointer;
}

.footer__title::after {
  content: '+';
  position: absolute;
  right: 0;
  transition: transform 0.3s ease;
}

.footer__title.active::after {
  content: '−';
}

/* Footer Links */
.footer__links {
  list-style: none;
  display: none;
}

.footer__links.active {
  display: block;
}

.footer__link {
  margin-bottom: var(--spacing-xs);
}

.footer__link a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer__link a:hover {
  color: white;
  text-decoration: none;
}

/* Footer About */
.footer__about {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

/* Footer Brand */
.footer__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: var(--spacing-md);
  text-decoration: none;
}

.footer__brand:hover {
  text-decoration: none;
}

.footer__brand-icon {
  width: 32px;
  height: 32px;
}

/* Social Links */
.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: white;
  transition: all 0.2s ease;
}

.footer__social-link:hover {
  background: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-md);
  text-align: center;
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-xs);
}

.footer__disclaimer {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer__disclaimer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
}

/* Tablet and Desktop */
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer__title {
    cursor: default;
  }
  
  .footer__title::after {
    display: none;
  }
  
  .footer__links {
    display: block !important;
  }
  
  .footer__container {
    padding: 0 var(--spacing-md);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .footer__container {
    padding: 0 var(--spacing-lg);
  }
  
  .footer {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
  }
}
