/* 公共CSS - 导航栏、底部等全局样式 */
:root {
    --primary: #0c1427;
    --secondary: #1a243d;
    --accent: #c9a96e;
    --accent-dark: #b89454;
    --light: #f5f7fa;
    --text: #d1d5db;
    --text-dark: #9ca3af;
    --success: #10b981;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gold-gradient: linear-gradient(135deg, #c9a96e, #e6c98c, #c9a96e);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--primary);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--light);
    line-height: 1.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 导航栏 */
header {
    background-color: rgba(12, 20, 39, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    color: var(--primary);
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 2.5rem;
    position: relative;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-gradient);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.phone-number {
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 30px;
    transition: var(--transition);
}

.phone-number:hover {
    background-color: rgba(201, 169, 110, 0.1);
    border-color: var(--accent);
}

.phone-number i {
    margin-right: 0.5rem;
    color: var(--success);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light);
    cursor: pointer;
}

/* 通用部分样式 */

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold-gradient);
    color: var(--primary);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.btn:hover::before {
    width: 100%;
}


section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--gold-gradient);
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* 底部 */
footer {
    background: linear-gradient(135deg, var(--secondary) 0%, #151e34 100%);
    color: var(--text);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(12, 20, 39, 0.5)"/></svg>');
    background-size: cover;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-col h3 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
    color: var(--light);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold-gradient);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.contact-info {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info i {
    margin-right: 12px;
    color: var(--accent);
    font-size: 1.1rem;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    max-width: 150px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 8px;
    padding: 8px;
    background: white;
}

/* 友情链接 */
.friend-links {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.friend-links h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
    text-align: center;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

        .friend-link {
            color: var(--text);
            text-decoration: none;
            transition: var(--transition);
            padding: 0.5rem 1rem;
            border: 1px solid rgba(201, 169, 110, 0.2);
            border-radius: 4px;
            background: rgba(12, 20, 39, 0.3);
            cursor: pointer; /* 明确显示可点击 */
                pointer-events: auto !important;
    position: relative !important;
    z-index: 10 !important;
        }

        .friend-link:hover {
            color: var(--accent);
            border-color: var(--accent);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            background: rgba(201, 169, 110, 0.1); /* 添加背景色变化 */
        }

.friend-link a {
    text-decoration: none;
    color: inherit;
}



.copyright {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-dark);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        width: 30%;
        margin-bottom: 3rem;
    }
    
    .process-line {
        display: none;
    }
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .slide h1 {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 0;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary);
        flex-direction: column;
        box-shadow: var(--shadow);
        padding: 1.5rem 0;
        border-top: 1px solid rgba(201, 169, 110, 0.2);
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav li {
        margin: 0;
        text-align: center;
        padding: 0.8rem 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .phone-number {
        display: none;
    }
    
    .slide h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .advantages-grid,
    .knowledge-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider {
        height: 80vh;
        min-height: 600px;
    }
    
    .friend-links-container {
        gap: 1rem;
    }
    
    .friend-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .process-step {
        width: 100%;
    }
    
    .slide h1 {
        font-size: 2rem;
    }
    
    .slide p {
        font-size: 1.1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
}