/* ========================================
   PROFESSIONAL FOOTER STYLES
   Dark theme with green accents to match navigation
   ======================================== */

/* === MAIN FOOTER === */
.site-footer {
  background: #0a0a0a;
  color: #d1d5db;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}

.footer-main {
  padding: 4rem 0 2rem;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* === BRAND COLUMN === */
.footer-brand {
  grid-column: span 1;
}

.footer-logo h3 {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.footer-logo h3::first-letter {
  color: #10b981;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #9ca3af;
  margin-bottom: 2rem;
}

/* Footer Stats */
.footer-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.footer-stats .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.footer-stats .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
  line-height: 1;
}

.footer-stats .stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

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

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-2px);
}

/* === FOOTER COLUMNS === */
.footer-column {
  min-width: 0;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1.5rem 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s;
  display: inline-block;
}

.footer-links a:hover {
  color: #10b981;
  transform: translateX(4px);
}

/* === NEWSLETTER === */
.footer-newsletter {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.newsletter-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}

.newsletter-text {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 0 0 1rem 0;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.625rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.newsletter-input:focus {
  outline: none;
  border-color: #10b981;
  background: rgba(0, 0, 0, 0.5);
}

.newsletter-input::placeholder {
  color: #6b7280;
}

.newsletter-button {
  padding: 0.625rem 1rem;
  background: #10b981;
  border: none;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-button:hover {
  background: #059669;
  transform: translateX(2px);
}

/* === FOOTER BOTTOM BAR - Inside same container === */
.footer-bottom-bar {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  color: #6b7280;
}

.footer-bottom-bar strong {
  color: #ffffff;
}

.footer-bottom-bar a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-bar a:hover {
  color: #10b981;
}

.footer-bottom-bar .separator {
  color: #374151;
  user-select: none;
}

.made-with {
  color: #6b7280;
}

.heart {
  color: #ef4444;
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

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

/* Language Switcher */
.footer-languages {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-label {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

.language-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.language-link {
  padding: 0.375rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s;
}

.language-link:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.language-link.active {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  color: #10b981;
}

/* Trust Badges */
.footer-badges {
  display: flex;
  gap: 1.5rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  color: #10b981;
  font-size: 0.8125rem;
  font-weight: 500;
}

.trust-badge svg {
  flex-shrink: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Laptops (1200-1440px) */
@media (max-width: 1440px) {
  .footer-container {
    padding: 0 1.5rem;
    gap: 2.5rem;
  }
}

/* Standard Laptops (1024-1200px) */
@media (max-width: 1200px) {
  .footer-container {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
  }
  
  /* Last column moves to second row */
  .footer-column:last-child {
    grid-column: 1 / -1;
  }
  
  /* Footer bottom bar responsive */
  .footer-bottom-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
}

/* Tablets (768-1024px) */
@media (max-width: 1024px) {
  .footer-main {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 0 1.5rem;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
  }
  
  .footer-stats {
    gap: 1rem;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .footer-main {
    padding: 2rem 0 1rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .footer-logo h3 {
    font-size: 1.5rem;
  }
  
  .footer-stats {
    flex-direction: row;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .footer-stats .stat-number {
    font-size: 1.25rem;
  }
  
  .footer-stats .stat-label {
    font-size: 0.6875rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .social-link {
    width: 36px;
    height: 36px;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-newsletter {
    margin-top: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-button {
    width: 100%;
    padding: 0.75rem;
  }
  
  /* Footer Bottom Bar Responsive */
  .footer-bottom-bar {
    margin-top: 2rem;
    padding-top: 1.5rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
  }
}

/* Small Mobile (< 480px) */
@media (max-width: 480px) {
  .footer-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-stats .stat-item {
    width: 100%;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .footer-stats .stat-item:last-child {
    border-bottom: none;
  }
  
  /* Footer Bottom Bar Mobile - Very Small Screens */
  .footer-bottom-bar {
    font-size: 0.75rem;
    gap: 0.375rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
  }
}
