/* ========================================================================
   Main Footer 样式 - 主页页脚区域
   对应 index.html L999-1069
   ======================================================================== */

/* ==================== Footer 背景 ==================== */
#footer {
    background: transparent;
}

#footer.hc-footer {
    position: relative;
    background: linear-gradient(135deg,
        rgba(14, 88, 173, 0.95) 0%,
        rgba(14, 88, 173, 0.88) 35%,
        rgba(10, 60, 120, 0.92) 70%,
        rgba(14, 88, 173, 0.5) 100%);
}

.hc-footer {
    position: relative;
    overflow: hidden;
    padding: 3rem 0 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ==================== Logo区域 ==================== */
.hc-footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: fadeInLeft 0.8s ease;
    position: relative;
    z-index: 1;
}

.hc-footer-logo img {
    height: 4rem;
    transition: transform 0.3s ease;
}

.hc-footer-logo:hover img {
    transform: scale(1.05);
}

/* ==================== 联系信息 ==================== */
.hc-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    animation: fadeInLeft 0.8s ease 0.2s both;
    position: relative;
    z-index: 1;
}

.hc-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.hc-footer-contact-item:hover {
    color: #fff;
    transform: translateX(0.5rem);
}

.hc-contact-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.hc-footer-contact-item i {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ==================== 快速链接 ==================== */
.hc-footer-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    position: relative;
    z-index: 1;
}

.hc-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0 1.5rem;
    background: transparent;
    border-right: 0.0625rem solid rgba(139, 105, 20, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.hc-footer-link:last-child {
    border-right: none;
}

.hc-footer-link::before {
    display: none;
}

.hc-footer-link::after {
    display: none;
}

.hc-footer-link i {
    font-size: 1rem;
    color: #8b6914;
    transition: all 0.3s ease;
    font-family: icomoon !important;
    min-width: 1rem;
    text-align: center;
}

.hc-footer-link span {
    position: relative;
}

.hc-footer-link:hover {
    color: #fff;
    transform: translateX(0.5rem);
}

.hc-footer-link:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* ==================== 二维码卡片组 ==================== */
.hc-footer-qrcodes {
    margin-top: 1.5rem;
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hc-footer-qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    padding: 1rem;
    background: #fffef9;
    box-shadow: 0 0.25rem 1rem rgba(139, 105, 20, 0.08);
    border: 0.0625rem solid rgba(201, 168, 108, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hc-footer-qrcode-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.1875rem;
    background: linear-gradient(90deg, #8b6914, #c9a86c);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hc-footer-qrcode-item:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 0.5rem 1.5rem rgba(139, 105, 20, 0.12);
}

.hc-footer-qrcode-item:hover::before {
    transform: scaleX(1);
}

.hc-footer-qrcode-img {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, #faf6ed, #f5efe3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hc-footer-qrcode-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hc-footer-qrcode-item:hover .hc-footer-qrcode-img img {
    transform: scale(1.05);
}

.hc-qrcode-emoji {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.hc-footer-qrcode-item:hover .hc-qrcode-emoji {
    transform: scale(1.15) rotate(5deg);
}

.hc-footer-qrcode-name {
    font-size: 0.75rem;
    color: #7a6b5a;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.hc-footer-qrcode-item:hover .hc-footer-qrcode-name {
    color: #8b6914;
}

/* ==================== 版权信息 ==================== */
.hc-footer-copyright {
    border-top: 0.0625rem solid rgba(201, 168, 108, 0.2);
    padding: 1.25rem 0;
    margin-top: 1rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hc-footer-copyright-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

.hc-footer-copyright-content span {
    padding: 0.5rem 2rem;
}

.hc-footer-copyright a {
    color: #7a6b5a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hc-footer-copyright a:hover {
    color: #8b6914;
}

/* ==================== 动画关键帧 ==================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-1.875rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(1.875rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ========================================================================
   响应式媒体查询 - Main Footer
   ======================================================================== */

/* ==================== ≤1199.98px ==================== */
@media (max-width: 1199.98px) {

    .hc-footer-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hc-footer-contact-item:hover {
        transform: none;
    }

    .hc-footer-links-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }

    .hc-footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hc-footer-links {
        justify-content: center;
    }

    .hc-footer-right {
        width: 100%;
    }

}

/* ==================== ≤991.98px ==================== */
@media (max-width: 991.98px) {

    .hc-footer-left {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hc-footer-contact-item:hover {
        transform: none;
    }

    .hc-footer-links-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
    }

    .hc-footer-links-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hc-footer-links {
        justify-content: center;
    }

    .hc-footer-right {
        width: 100%;
    }

}

/* ==================== ≤767.98px ==================== */
@media (max-width: 767.98px) {

    .hc-footer-qrcodes {
        gap: 1rem;
    }

    .hc-footer-qrcode-item {
        padding: 0.75rem;
    }

    .hc-footer-qrcode-img {
        width: 4rem;
        height: 4rem;
    }

    .hc-footer-hours {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hc-footer-copyright-content {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hc-footer-divider {
        display: none;
    }

}

/* ==================== ≤575.98px ==================== */
@media (max-width: 575.98px) {

    .hc-footer-logo-text .hc-title {
        font-size: 1.25rem;
    }

    .hc-footer-qrcodes {
        flex-direction: column;
        align-items: center;
    }

    .hc-footer-qrcode-item {
        width: 100%;
        max-width: 12.5rem;
    }

}
