/* 伊誓珠宝 YIRSIY - 全局样式 */
/* 主色调：深海蓝(#0A2540) + 珍珠白(#F8F6F0) + 流沙金(#C9A961) */

:root {
    --primary-blue: #0A2540;
    --pearl-white: #F8F6F0;
    --sand-gold: #C9A961;
    --pearl-pink: #E8D5D0;
    --dark-green: #1B3A2F;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E5E5E5;
}

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

body {
    font-family: 'Source Han Sans SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--pearl-white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Han Serif SC', 'Noto Serif SC', Georgia, serif;
    font-weight: 600;
    color: var(--primary-blue);
}

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

/* 头部导航 */
.header {
    background: var(--pearl-white);
    box-shadow: 0 2px 10px rgba(10, 37, 64, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    font-family: 'Source Han Serif SC', serif;
}

.logo span {
    color: var(--sand-gold);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 15px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--sand-gold);
}

.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    top: 100%;
    left: 0;
    padding: 10px 0;
}

.nav-menu .dropdown:hover .dropdown-content {
    display: block;
}

.nav-menu .dropdown-content a {
    display: block;
    padding: 8px 20px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-blue);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-green) 100%);
    color: white;
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    color: white;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero .btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--sand-gold);
    color: white;
}

.btn-primary:hover {
    background: #b89850;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-blue);
}

.btn-secondary {
    background: var(--primary-blue);
    color: white;
}

.btn-secondary:hover {
    background: #0d3052;
}

/* 区块 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    margin-bottom: 60px;
}

/* 卡片 */
.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: var(--pearl-pink);
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-text {
    color: var(--text-light);
    margin-bottom: 16px;
}

/* 网格布局 */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 数据徽章 */
.badge-group {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.badge {
    text-align: center;
}

.badge-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--sand-gold);
    font-family: 'Source Han Serif SC', serif;
}

.badge-text {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 8px;
}

/* 页脚 */
.footer {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--sand-gold);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--sand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* 面包屑 */
.breadcrumb {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb-list a {
    color: var(--text-light);
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: var(--sand-gold);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumb-list li:last-child {
    color: var(--primary-blue);
}

/* 产品卡片 */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--pearl-pink);
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.product-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--sand-gold);
}

/* 筛选标签 */
.filter-tabs {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

/* 时间轴 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--sand-gold);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    width: 45%;
    padding: 24px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.timeline-year {
    font-size: 24px;
    font-weight: 700;
    color: var(--sand-gold);
    margin-bottom: 10px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 16px;
    height: 16px;
    background: var(--sand-gold);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 3px solid var(--pearl-white);
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--primary-blue);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--sand-gold);
    transition: transform 0.3s;
}

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

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--sand-gold);
}

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

/* 响应式 */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(odd) {
        flex-direction: row;
        padding-left: 50px;
    }
    
    .timeline-content {
        width: 100%;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .badge-group {
        gap: 20px;
    }
    
    .badge-number {
        font-size: 32px;
    }
}

@media (max-width: 375px) {
    .hero {
        padding: 80px 0;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
