/* public/css/footer.css */

/* ===== MAIN FOOTER ===== */
.main-footer {
  background: linear-gradient(135deg, var(--warm-beige) 0%, var(--gray-50) 100%);
  border-top: 3px solid var(--honey-gold);
  margin-top: var(--space-5xl);
}

.footer-content {
  padding: var(--space-4xl) 0 var(--space-lg);
}

/* ===== FOOTER MAIN CONTENT ===== */
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

/* ===== FOOTER BRAND SECTION ===== */
.footer-brand {
  text-align: center;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-logo .brand-text {
  display: block;
  font-family: var(--font-accent);
  font-size: var(--text-3xl);
  font-weight: var(--weight-semibold);
  color: var(--honey-gold);
  line-height: 1;
}

.footer-logo .brand-subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: var(--space-xs);
}

.footer-tagline {
  color: var(--gray-600);
  font-size: var(--text-sm);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.footer-credentials {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: start;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: var(--sage-green);
  color: var(--warm-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credential-badge i {
  font-size: 0.75em;
}

/* ===== FOOTER SECTIONS ===== */
.footer-section {
  text-align: center;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-semibold);
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background: var(--honey-gold);
  border-radius: 1px;
}

/* ===== FOOTER NAVIGATION ===== */
.footer-nav {
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-link {
  color: var(--gray-600);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition: var(--transition-normal);
  display: inline-block;
  padding: var(--space-xs) 0;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--honey-gold);
  text-decoration: none;
  transform: translateX(2px);
}

/* ===== FOOTER CONTACT ===== */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  justify-content: center;
  text-align: left;
}

.contact-icon {
  color: var(--sage-green);
  font-size: var(--text-sm);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--charcoal);
  text-decoration: none;
  transition: var(--transition-normal);
}

.contact-value:hover {
  color: var(--honey-gold);
  text-decoration: none;
}

/* ===== FOOTER CTA SECTION ===== */
.footer-cta {
  background: var(--honey-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  text-align: center;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--charcoal);
  margin-bottom: var(--space-sm);
}

.cta-subtitle {
  font-size: var(--text-base);
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

.cta-btn {
  min-width: 200px;
  gap: var(--space-sm);
}

.cta-btn i {
  font-size: 1.1em;
}

.cta-btn.btn-primary {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--warm-white);
}

.cta-btn.btn-primary:hover {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.cta-btn.btn-outline {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.cta-btn.btn-outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  border-top: 1px solid rgba(244, 208, 63, 0.2);
  padding-top: var(--space-xl);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.footer-copyright p {
  font-size: var(--text-xs);
  color: var(--gray-600);
  margin: 0;
}

.footer-language {
  order: -1;
}

.footer-lang-btn {
  background: none;
  border: 1px solid var(--sage-green);
  color: var(--sage-green);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-lang-btn:hover {
  background: var(--sage-green);
  color: var(--warm-white);
  transform: translateY(-1px);
}

.footer-attribution {
  margin-top: var(--space-sm);
}

.attribution-link {
  font-size: var(--text-xs);
  color: var(--gray-600);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: var(--transition-normal);
}

.attribution-link:hover {
  color: var(--sage-green);
  text-decoration: underline;
}

/* ===== FOOTER DISCLAIMERS ===== */
.footer-disclaimers {
  border-top: 1px solid rgba(156, 175, 136, 0.2);
  padding-top: var(--space-md);
  text-align: center;
}

.disclaimer-text {
  font-size: var(--text-xs);
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 50px;
  height: 50px;
  background: var(--honey-gold);
  color: var(--charcoal);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  opacity: 0;
  visibility: hidden;
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: var(--soft-brown);
}

.back-to-top:active {
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  
  .footer-section {
    text-align: left;
  }
  
  .footer-heading::after {
    left: 0;
    transform: none;
  }
  
  .contact-item {
    justify-content: flex-start;
  }
  
  .cta-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .cta-actions {
    flex-direction: row;
    flex-shrink: 0;
  }
  
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .footer-language {
    order: 0;
  }
  
  .footer-attribution {
    margin-top: 0;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: var(--space-4xl);
  }
  
  .footer-brand {
    grid-column: auto;
    text-align: left;
  }
  
  .footer-tagline {
    margin-left: 0;
    margin-right: 0;
  }
  
  .footer-credentials {
    justify-content: flex-start;
  }
  
  .cta-content {
    padding: 0 var(--space-2xl);
  }
  
  .cta-title {
    font-size: var(--text-3xl);
  }
}

/* Large Desktop Styles */
@media (min-width: 1280px) {
  .footer-content {
    padding: var(--space-5xl) 0 var(--space-xl);
  }
  
  .footer-main {
    gap: var(--space-5xl);
  }
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .footer-content {
    padding: var(--space-3xl) 0 var(--space-md);
  }
  
  .footer-cta {
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
  }
  
  .cta-title {
    font-size: var(--text-xl);
  }
  
  .back-to-top {
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 45px;
    height: 45px;
  }
}

/* Print Styles */
@media print {
  .main-footer {
    background: none !important;
    border-top: 1px solid #000 !important;
  }
  
  .footer-cta,
  .back-to-top,
  .footer-language {
    display: none !important;
  }
  
  .footer-bottom-content {
    flex-direction: column !important;
    gap: var(--space-sm) !important;
  }
}


/* Add to your footer CSS file */

/* Professional Networks Section */
.footer-section .tln-link {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.footer-section .tln-link:hover {
  color: var(--honey-gold);
  transform: translateX(4px);
}

.footer-section .tln-link i {
  font-size: 0.9em;
  color: var(--sage-green);
}

.footer-section .tln-link:hover i {
  color: var(--honey-gold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-section {
    text-align: center;
  }
}