/* foot.css */

#footer {
    background-color: #333;
    color: #fff;
    font-size: 14px;
}

.footer-top {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-column h3 {
    color: dodgerblue;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: dodgerblue;
}

.footer-column p {
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #444;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: dodgerblue;
    transform: translateY(-3px);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ccc;
    transition: all 0.3s ease;
    display: block;
}

.footer-column ul li a:hover {
    color: dodgerblue;
    transform: translateX(5px);
}

.contact-info li {
    color: white;
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info li i {
    color: dodgerblue;
    margin-right: 10px;
    font-size: 18px;
    margin-top: 3px;
}

.subscribe {
    display: flex;
    margin-top: 20px;
}

.subscribe input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    background-color: #444;
    color: #fff;
}

.subscribe input::placeholder {
    color: #999;
}

.subscribe-btn {
    background-color: dodgerblue;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #1E90FF;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
    border-top: 1px solid #444;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content p {
    margin: 0;
    color: #999;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: dodgerblue;
}

.icp {
    color: #999;
}

.icp:hover {
    color: dodgerblue;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .subscribe {
        flex-direction: column;
    }
    
    .subscribe input {
        border-radius: 4px;
        margin-bottom: 10px;
    }
    
    .subscribe-btn {
        border-radius: 4px;
        padding: 10px;
    }
}