/* --- 全局样式重置 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; color: #333; line-height: 1.6; background-color: #fff; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { width: 1200px; margin: 0 auto; position: relative; }

/* 通用标题样式 */
.section-title {
    text-align: center; font-size: 24px; margin-bottom: 50px;
    position: relative; display: inline-block; left: 50%; transform: translateX(-50%);
}
.section-title::after {
    content: ''; display: block; width: 40px; height: 3px;
    background-color: #2979ff; margin: 10px auto 0;
}

/* 按钮样式 */
.btn {
    display: inline-block; padding: 10px 30px; border-radius: 4px;
    font-size: 14px; cursor: pointer; transition: all 0.3s;
}
.btn-orange { background-color: #ff6b35; color: white; border: none; }
.btn-orange:hover { background-color: #e55a2b; }

/* --- 导航栏 --- */
body > header {
    height: 80px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu li a {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    padding: 28px 0;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-menu li a.active, .nav-menu li a:hover {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

/* --- Footer --- */
footer {
    background-color: #2a2a2a;
    color: #ccc;
    padding: 60px 0 30px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #444;
    padding-bottom: 40px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-info div {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 12px;
    margin-top: 5px;
    color: #ff6b35;
    width: 16px;
}

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

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-list a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-nav-list a:hover {
    color: #ff6b35;
}

.footer-qrcode {
    text-align: center;
}

.qr-placeholder {
    width: 110px;
    height: 110px;
    background: #fff;
    margin: 0 auto 15px;
    padding: 5px;
}

.copyright {
    text-align: center;
    color: #888;
    font-size: 13px;
}

@media (max-width: 1200px) { .container { width: 95%; } }

/* --- 联系我们弹窗样式 --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    width: 500px;
    max-width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover { color: #333; }

.modal-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
}

.form-group textarea { resize: vertical; height: 100px; }

.modal-submit-btn {
    width: 100%;
    padding: 12px;
    background: #ff6b35;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.modal-submit-btn:hover { background: #e55a2b; }

/* Subpage Page Banner */
.page-banner {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(to right, rgba(0, 30, 60, 0.9), rgba(0, 30, 60, 0.7)), #000;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;
}
.page-banner h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}
.page-banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Page content wrapper */
.page-content {
    padding: 80px 0;
    min-height: 50vh;
}
