/* public/static/home/css/footer.css */

/* 底部样式 - 重新设计 */
.main-footer {
    background: #2c3e50;
    color: white;
    margin-top: 60px;
    border-top: 3px solid #3498db;
}

.footer-content {
    padding: 40px 0 20px;
}

/* 主要内容区域 */
.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 30px;
}

/* 关于我们 */
.footer-about {
    flex: 2;
}

.footer-about h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-about h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
    text-align: justify;
}

/* 联系我们 */
.footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
    position: relative;
    padding-bottom: 8px;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #3498db;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: white;
}

.contact-item i {
    width: 16px;
    color: #3498db;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-item span {
    line-height: 1.4;
}

/* 底部版权信息 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    text-align: center;
}

.footer-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.footer-info span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 11px;
}

.footer-info a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.back-to-top i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        padding: 30px 0 15px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-contact {
        min-width: auto;
    }
    
    .footer-info {
        gap: 10px;
    }
    
    .about-text {
        font-size: 13px;
    }
    
    .contact-item {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-about h4,
    .footer-contact h4 {
        font-size: 16px;
    }
    
    .about-text {
        font-size: 12px;
    }
    
    .contact-item {
        font-size: 12px;
    }
    
    .footer-info {
        gap: 8px;
    }
    
    .footer-info span,
    .footer-info a {
        font-size: 10px;
    }
    
    .copyright p {
        font-size: 10px;
    }
}