/* Footer Styles with Orange/Yellow Theme */
:root {
  /* Using the theme variables from main.css */
}

.site-footer {
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 149, 0, 0.2);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  color: var(--theme-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-col h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  width: 40px;
  background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
}

.footer-col p {
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.25rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  color: var(--theme-primary);
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--theme-primary);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 149, 0, 0.3);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

.footer-col a:hover {
  color: var(--theme-primary);
  text-decoration: none;
}

.footer-col a:hover::before {
  content: '•';
  position: absolute;
  left: -15px;
  color: var(--theme-primary);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: bold;
}

.btn-primary {
  background-color: var(--theme-primary);
  color: white;
  border: none;
}

.btn-primary:hover {
  background-color: var(--theme-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(255, 149, 0, 0.3);
}

/* Enhanced Responsive Styles */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-col a:hover::before {
    display: none;
  }
}

/* Enhanced Mobile and Tablet Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 0 20px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-col h4::after {
        margin: 10px auto 0;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-col ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-col ul li {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .footer-container {
        padding: 0 10px;
    }
    
    .footer-bottom {
        margin-top: 20px;
        font-size: 0.8rem;
    }
}
