/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;

}

.container-gunyu {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.tab-wrapper-gunyu {
    display: flex;
    flex-direction: row;
    min-height: 70vh;
}

/* 左侧选项卡导航 */
.tab-nav-gunyu {
    width: 25%;
    background-color: whitesmoke;
    display: flex;
    flex-direction: column;
    padding: 2% 0;

}

.tab-btn-gunyu {
    background: none;
    border: none;
    color: #41464b;
    padding: 5% 5%;
    text-align: left;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    margin-bottom: 10%;
    margin-left: 10%;
}
.tab-btn-gunyu:hover {
    /*background-color: #34495e;*/
    color: #3498db;
}

.tab-btn-gunyu.active-gunyu {
    /*background-color: #34495e;*/
    color: #3498db;
    border-left: 4px solid black;
}

/* 右侧内容区域 */
.tab-content-gunyu {
    width: 75%;
    padding: 3%;
    position: relative;
}

.content-item-gunyu {
    display: none;
    animation: fadeIn-gunyu 0.5s ease;
}

.content-item-gunyu.active-gunyu {
    display: block;
}

@keyframes fadeIn-gunyu {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.content-title-gunyu {
    font-size: 1.8em;
    margin-bottom: 3%;
    padding-bottom: 2%;
    border-bottom: 2px solid #3498db;
    color: #2c3e50;
}

.content-body-gunyu {
    line-height: 1.7;
}

/* 关于我们页面样式 */

/* 联系我们页面样式 */
.contact-info-gunyu {
    margin-bottom: 5%;
}

.contact-item-gunyu {
    margin-bottom: 4%;
    padding-bottom: 4%;
    border-bottom: 1px solid #eee;
}

.contact-item-gunyu h3 {
    color: #3498db;
    margin-bottom: 2%;
}

.map-placeholder-gunyu {
    background-color: #e9ecef;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #6c757d;
}

/*QQ\微信\抖音*/
.qr-container-gunyu {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 90%;
    margin: 3rem auto;

}

.qr-item-gunyu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    background-color: white;
    transition: transform 0.3s;
    flex: 1; /* 让每个二维码容器平均分配宽度 */
    /* 去掉添flex: 1;加以下样式以控制每行两个二维码 */

}

.qr-code-gunyu {
    max-width: 60%;
    height: auto;
    margin-bottom: 1rem;
}

.qr-item-gunyu:hover {
    transform: scale(1.5);
}

@media screen and (max-width: 600px) {
    .qr-container-gunyu {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 用户协议页面样式 */
.agreement-content-gunyu h3 {
    color: #2c3e50;
    margin: 4% 0 2%;
    font-size: 1.2em;
}

.agreement-content-gunyu p {
    margin-bottom: 3%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tab-wrapper-gunyu {
        flex-direction: column;
    }

    .tab-nav-gunyu {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 0;
    }

    .tab-btn-gunyu {
        padding: 4% 6%;
        border-left: none;
        border-bottom: 4px solid transparent;
        white-space: nowrap;
    }

    .tab-btn-gunyu.active-gunyu {
        border-left: none;
        border-bottom: 4px solid #3498db;
    }

    .tab-content-gunyu {
        width: 100%;
    }

    .features-gunyu {
        flex-direction: column;
    }

    .feature-item-gunyu {
        flex: 1 1 100%;
    }
}