/* 
 * Footer Styles for Yi Theme
 * 
 * A stylish footer design with Eastern cultural elements
 */

/* Main Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #f5f5f5;
  padding: 60px 0 30px;
  font-family: 'Noto Sans', 'Noto Sans SC', sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, #d4af37, #f9f095, #d4af37);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

/* Section Styles */
.footer-section {
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #d4af37;
}

.footer-section p {
  line-height: 1.6;
  margin-bottom: 15px;
  color: #cccccc;
  font-size: 0.95rem;
}

/* List Styles */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

/* Link Styles */
.footer-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link:hover {
  color: #d4af37;
}

.footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #d4af37;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* Social Media Links */
.social-media-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.social-media-links li {
  margin-right: 5px;
}

.footer-social-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-social-link:hover {
  color: #d4af37;
}

/* Copyright Section */
.footer-section:last-child {
  grid-column: 1 / -1;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 10px;
  text-align: center;
}

.footer-section:last-child p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-section:last-child ul {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-section:last-child ul li {
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  
  .social-media-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .footer-section:last-child ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-section h3 {
    font-size: 1.1rem;
  }
}
