/* Header & Navigation - 时尚扁平化风格 */
header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* 轻微阴影 */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 70px;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    font-weight: 500; /* 减小Logo字体粗细 */
    font-size: 1.8rem;
    color: #0A0829; /* 深紫色Logo */
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.5px; /* 字母间距更紧凑 */
    margin-right: 25px; /* Logo和导航链接之间的间距 */
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto; /* 将导航链接推到右侧 */
    padding-right: 12px;
    gap:13px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333333; /* 深灰色导航链接 */
    font-weight: 400; /* 更纤细的导航链接字体 */
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    line-height: 1.4;
    position: relative;
    letter-spacing: -0.3px; /* 字母间距更紧凑 */
}

.nav-links a:hover {
    color: #0A0829; /* 深紫色悬停效果 */
}

/* 时尚下划线效果 */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6C5CE7; /* 紫色系 */
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.contact-info {
    display: flex;
    align-items: center;
    margin: 0;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 300; /* 更纤细的电话文字 */
    color: #333333; /* 深灰色电话文字 */
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: -0.2px; /* 字母间距更紧凑 */
}

.phone-number i {
    font-size: 1rem;
    color: #6C5CE7; /* 紫色系图标 */
}

.consult-btn {
    background-color: #6C5CE7; /* 紫色系按钮 */
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 400; /* 更纤细的按钮文字 */
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
    box-shadow: 0 2px 5px rgba(108, 92, 231, 0.2); /* 紫色系阴影 */
    letter-spacing: -0.2px; /* 字母间距更紧凑 */
}

.consult-btn:hover {
    background-color: #0A0829; /* 深紫色悬停 */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2D1B69 0%, #4B0082 100%); /* 紫色系渐变背景 */
    color: #ffffff;
    padding: 70px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 50px 50px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500; /* 更纤细的标题字体 */
    letter-spacing: -0.3px; /* 字母间距更紧凑 */
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    font-weight: 300; /* 更纤细的链接文字 */
    letter-spacing: -0.2px; /* 字母间距更紧凑 */
}

.footer-links a:hover {
    color: #6C5CE7; /* 紫色系悬停 */
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.contact-icon {
    color: #6C5CE7; /* 紫色系图标 */
    font-size: 0.9rem;
    margin-right: 8px;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 20px;
    color: #999999;
    font-size: 0.9rem;
}

/* 添加底部信息容器样式 */
.footer-bottom-content {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap;
}

.footer-bottom-content p {
    margin: 5px 0;
    font-size: 0.85rem;
}

.footer-bottom-content a {
    color: #999999;
    text-decoration: none;
}

.footer-bottom-content a:hover {
    color: #6C5CE7; /* 紫色系悬停 */
    text-decoration: underline;
}

.footer-right-content {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
        padding: 12px 0;
    }
    
    .nav-left {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .logo {
        font-size: 1.6rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-links li {
        margin: 0 8px;
    }
    
    .nav-links a {
        font-size: 0.95rem;
        padding: 6px 4px;
    }
    
    .nav-right {
        align-items: center;
        gap: 10px;
    }
    
    .consult-btn {
        align-self: center;
        padding: 12px 24px;
        font-size: 1.1rem;
    }
    
    .phone-number {
        font-size: 1.1rem;
    }
    
    .phone-number i {
        font-size: 1.2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .footer-bottom-content p {
        margin: 5px 0;
        font-size: 0.8rem;
    }
}

/* 针对更小屏幕的优化 */
@media (max-width: 480px) {
    .nav-links {
        gap: 5px;
    }
    
    .nav-links li {
        margin: 0 5px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
        padding: 5px 3px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .consult-btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    .phone-number i {
        font-size: 1.1rem;
    }
}