/* 公共CSS部分 - 导航与底部 */
:root {
    --primary-color: #0a1a35;
    --secondary-color: #1c3a6c;
    --accent-color: #d4af37;
    --accent-light: #f4e8c1;
    --light-color: #f8f9fa;
    --dark-color: #121212;
    --text-color: #444;
    --text-light: #777;
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 50px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: #fefefe;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--accent-color), #e8c44d);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

.btn:hover:before {
    left: 100%;
}

section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 700px;
    margin: 30px auto 0;
    font-size: 18px;
}

/* 导航栏样式 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: logoGlow 4s infinite linear;
}

@keyframes logoGlow {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 35px;
    position: relative;
}

.nav-menu a {
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
    font-size: 16px;
    padding: 8px 0;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover:after {
    width: 100%;
}

.phone-number {
    display: flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    background: var(--accent-light);
    padding: 10px 20px;
    border-radius: 30px;
    transition: var(--transition);
}

.phone-number:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.phone-number i {
    margin-right: 10px;
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-color);
}

/* 底部样式 */
footer {
    background: var(--dark-color);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-size: 22px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
    margin-right: 15px;
    color: var(--accent-color);
    width: 20px;
    font-size: 18px;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    max-width: 160px;
    margin-bottom: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.qrcode p {
    color: rgba(255, 255, 255, 0.7);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.5);
}

/* 响应式设计 - 公共部分 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0 0 30px 0;
    }
    
    .phone-number {
        display: none;
    }
    
    .section-title h2 {
        font-size: 34px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
}