/* 奢奢家官网样式表 */

/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

/* ===== 容器 ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== 按钮 ===== */
.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #c9a961 0%, #b8942e 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4b875 0%, #c9a961 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #c9a961;
    color: #fff;
}

.btn-outline {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    color: #c9a961;
    border: 2px solid #c9a961;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #c9a961;
    color: #fff;
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #c9a961;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    position: relative;
}

.nav a:hover {
    color: #c9a961;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #c9a961;
    transition: width 0.3s ease;
}

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

.header-contact .btn-primary {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== Hero区域 ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
    color: #fff;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #c9a961 0%, #f0d890 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #c9a961;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ===== 核心服务 ===== */
.services {
    padding: 80px 0;
    background: #fff;
}

.services h2, .why-us h2, .standards h2, .home-faq h2, .contact h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 48px;
    font-size: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #c9a961;
}

.service-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.service-card > p {
    color: #888;
    margin-bottom: 20px;
    font-size: 15px;
}

.service-list {
    text-align: left;
    margin-bottom: 24px;
}

.service-list li {
    padding: 8px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px dashed #eee;
}

.service-list li:last-child {
    border-bottom: none;
}

/* ===== 为什么选择我们 ===== */
.why-us {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-us h2 {
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #c9a961 0%, #b8942e 100%);
    color: #fff;
    font-size: 24px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.feature-item p {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
}

/* ===== 成色鉴定标准 ===== */
.standards {
    padding: 80px 0;
    background: #fff;
}

.standard-table {
    max-width: 900px;
    margin: 0 auto 40px;
    overflow-x: auto;
}

.standard-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.standard-table th,
.standard-table td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.standard-table th {
    background: #1a1a2e;
    color: #fff;
    font-weight: 600;
}

.standard-table tr:hover {
    background: #fafafa;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.badge-excellent {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-good {
    background: #e3f2fd;
    color: #1565c0;
}

.badge-normal {
    background: #fff3e0;
    color: #ef6c00;
}

.badge-fair {
    background: #fce4ec;
    color: #c2185b;
}

.badge-poor {
    background: #fafafa;
    color: #666;
}

/* ===== FAQ ===== */
.home-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: #1a1a2e;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #fafafa;
}

.faq-toggle {
    font-size: 24px;
    color: #c9a961;
    font-weight: 300;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 0 0 20px;
    color: #666;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* ===== 联系我们 ===== */
.contact {
    padding: 80px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    padding: 20px 0;
}

.contact-item {
    margin-bottom: 32px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 15px;
    color: #666;
}

.contact-note {
    font-size: 13px !important;
    color: #aaa !important;
    margin-top: 4px;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 16px;
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 28px;
    color: #1a1a2e;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #c9a961;
    box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

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

/* ===== 页脚 ===== */
.footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-about h4,
.footer-links h4,
.footer-contact h4 {
    color: #c9a961;
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-links a {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c9a961;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== 页面通用样式 ===== */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.page-content {
    padding: 60px 0;
    background: #fff;
}

/* ===== 响应式设计 ===== */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .service-grid,
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-form {
        padding: 24px;
    }
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== 服务页面特殊样式 ===== */
.service-detail {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.service-detail h3 {
    font-size: 20px;
    color: #333;
    margin: 24px 0 12px;
}

.service-detail p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 16px;
}

.service-detail ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.service-detail ul li {
    list-style: disc;
    color: #666;
    margin-bottom: 8px;
}

/* ===== FAQ页面样式 ===== */
.faq-page {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h3 {
    font-size: 22px;
    color: #c9a961;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c9a961;
}

/* ===== 关于我们页面样式 ===== */
.about-section {
    padding: 40px 0;
}

.about-section h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin-bottom: 24px;
}

.about-section p {
    color: #666;
    line-height: 2;
    margin-bottom: 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.about-stat .number {
    font-size: 36px;
    font-weight: 700;
    color: #c9a961;
}

.about-stat .label {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #c9a961 0%, #b8942e 100%);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 32px;
}

.team-card h4 {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.team-card .title {
    font-size: 14px;
    color: #c9a961;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 14px;
    color: #888;
}

/* ===== 移动端导航按钮 ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}