/*
 * 友粮官网 - 页脚样式
 */

.footer {
    background-color: var(--brand-brown);
    color: white;
    padding-top: 5rem;
    padding-bottom: 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 品牌信息 */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 1.875rem;
    color: var(--brand-gold);
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: bold;
}

.footer-slogan {
    color: #d1d5db;
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* 母公司信息 */
.footer-parent {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.footer-parent-label {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.footer-parent-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    width: fit-content;
    transition: background-color 0.3s ease;
}

.footer-parent-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-parent-link i {
    color: var(--brand-gold);
}

.footer-parent-link span {
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.footer-parent-link:hover span {
    color: var(--brand-gold);
}

/* 社交媒体 */
.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-brown);
}

/* 页脚栏目 */
.footer-column h4 {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--brand-gold);
    padding-left: 0.75rem;
    color: var(--brand-light-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-links a i {
    margin-right: 0.25rem;
}

/* 联系信息 */
.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.footer-contact li i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    color: var(--brand-gold);
}

/* 办公入口 */
.footer-office p {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}

.footer-office-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-office-btn {
    width: 100%;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-office-btn:hover {
    background-color: var(--brand-gold);
    color: var(--brand-brown);
    border-color: var(--brand-gold);
}

/* 版权信息 */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: #6b7280;
}
