/* =============================================
   公共底部样式文件
   包含：页脚、版权信息、联系方式等
   ============================================= */

/* =============================================
   页脚基础样式
   ============================================= */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.footer-section p,
.footer-section li {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 8px;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
    text-decoration: none;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li:before {
    content: "•";
    color: #3498db;
    margin-right: 8px;
}

/* =============================================
   版权信息
   ============================================= */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: #3498db;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* =============================================
   联系方式
   ============================================= */
.contact-info {
    background: rgba(52, 73, 94, 0.1);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #3498db;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: #bdc3c7;
    font-size: 0.9rem;
}

/* =============================================
   社交媒体链接
   ============================================= */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #3498db;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.social-links a i {
    font-size: 1.2rem;
}

/* =============================================
   响应式设计
   ============================================= */

/* 移动端样式 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    .footer-section h5 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .contact-info {
        padding: 15px;
        margin-top: 15px;
    }
    
    .contact-item {
        margin-bottom: 8px;
    }
    
    .contact-item i {
        font-size: 1rem;
        width: 18px;
    }
    
    .contact-item span {
        font-size: 0.85rem;
    }
    
    .social-links {
        gap: 12px;
        margin-top: 15px;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .social-links a i {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        margin-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* 小屏幕样式 */
@media (max-width: 576px) {
    .footer {
        padding: 25px 0 12px;
        margin-top: 25px;
    }
    
    .footer-content {
        padding: 0 10px;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .footer-section h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.85rem;
        margin-bottom: 5px;
    }
    
    .contact-info {
        padding: 12px;
        margin-top: 12px;
    }
    
    .contact-item {
        margin-bottom: 6px;
    }
    
    .contact-item i {
        font-size: 0.9rem;
        width: 16px;
    }
    
    .contact-item span {
        font-size: 0.8rem;
    }
    
    .social-links {
        gap: 10px;
        margin-top: 12px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
    }
    
    .social-links a i {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 12px;
        margin-top: 15px;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
    }
}

/* PC端样式 */
@media (min-width: 1200px) {
    .footer {
        padding: 50px 0 25px;
        margin-top: 60px;
    }
    
    .footer-content {
        padding: 0 30px;
    }
    
    .footer-section {
        margin-bottom: 35px;
    }
    
    .footer-section h5 {
        font-size: 1.3rem;
        margin-bottom: 18px;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .contact-info {
        padding: 25px;
        margin-top: 25px;
    }
    
    .contact-item {
        margin-bottom: 12px;
    }
    
    .contact-item i {
        font-size: 1.2rem;
        width: 22px;
    }
    
    .contact-item span {
        font-size: 1rem;
    }
    
    .social-links {
        gap: 18px;
        margin-top: 25px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
    }
    
    .social-links a i {
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        padding-top: 25px;
        margin-top: 35px;
    }
    
    .footer-bottom p {
        font-size: 1rem;
    }
}
