:root{
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.15);
}

/* layui输入框的样式 */
.layui-input:focus, .layui-textarea:focus{
    border-color:var( --color-primary ) !important;
    box-shadow: var( --shadow-hover ) !important;
}
/* 通用banner样式 */
.commonBanner{
    height: 40vh;
    min-height: 300px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}
.commonBanner img{
    position: absolute;
    width: 100%;
    height:100%;
    left:0;
    top:0;
    z-index: -1;
    object-fit: cover;
}
.commonBanner .banner-overlay{
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    color:#fff;
}
.commonBanner .banner-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.commonBanner .banner-overlay p {
    font-size: 1.2rem;
    max-width: 700px;
    opacity: 0.9;
}


/* 按钮样式 */
.btn-fill-gradient-primary{
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(to right, var(--color-primary), #2a5298);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    cursor: pointer;
    border: none;
}
.btn-fill-gradient-primary:hover{
    background: linear-gradient(to right, #2a5298, var(--color-primary));
    box-shadow: var(--shadow-hover);
}

/* 通用大标题样式 */
.commonTitle{
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.commonTitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--color-secondary);
    border-radius: 2px;
}

/* 底部 */
.footer {
    background: linear-gradient(to right, #15336e, #2a5298);
    color: white;
    padding: 60px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.footer-brand h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #866a2d;
}

.footer-brand p {
    font-size: 1.1rem;
    letter-spacing: 3px;
    opacity: 0.8;
    margin-top: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-group h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-group h3 i {
    color: #866a2d;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.contact-detail i {
    color: #ffd700;
    min-width: 20px;
    margin-top: 3px;
}

.contact-detail span {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
}

.copyright {
    font-size: 0.95rem;
    opacity: 0.8;
}

.beian {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #866a2d;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-title h2 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-detail {
        /*flex-direction: column;*/
        gap: 5px;
    }
}

/* 容器结构 */
.social-links {
    display: flex;
    gap: 15px;
}

.social-item {
    position: relative;
    display: inline-block;
}

/* 默认隐藏二维码 */
.social-item .qr-code {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    background-color: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-item .qr-code img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* 悬停时显示二维码 */
.social-item:hover .qr-code {
    display: block;
}
