/* 全局变量 */
:root {
    --deep-blue: #1B3A5C;
    --champagne-gold: #D4AF37;
    --warm-white: #F9F7F5;
    --text-light: #666666;
    --text-dark: #333333;
    --accent-color: #E8C07D;
    --light-gray: #F5F5F5;
    --border-color: #E0E0E0;
}

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

/* 容器 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-blue);
}

.logo a {
    text-decoration: none;
    color: var(--deep-blue);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--champagne-gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--champagne-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.language {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: var(--light-gray);
    color: var(--deep-blue);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.language:hover {
    background-color: var(--champagne-gold);
    color: white;
    border-color: var(--champagne-gold);
}

/* 双语文本容器样式 */
.bilingual-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bilingual-text .zh {
    font-family: 'Playfair Display', serif;
}

.bilingual-text .en {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: var(--text-light);
}

/* 移动端菜单 */
.mobile-menu {
    display: none;
    position: relative;
}

.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-icon span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin-top: 10px;
    display: none;
    flex-direction: column;
    gap: 15px;
    min-width: 200px;
}

.mobile-nav-links.active {
    display: flex;
}

/* Hero Banner */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(27, 58, 92, 0.8), rgba(27, 58, 92, 0.9)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=high%20end%20jewelry%20collection%20display%2C%20luxury%20jewelry%20store%20interior%2C%20elegant%20lighting%2C%20professional%20photography&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--champagne-gold);
    color: var(--deep-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #C09A2C;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--deep-blue);
    text-decoration: none;
    border: 2px solid var(--deep-blue);
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--deep-blue);
    color: white;
    transform: translateY(-2px);
}

/* 通用section样式 */
section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* 价值主张 */
.value-proposition {
    background-color: white;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.value-card {
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    width: 80px;
    height: 80px;
    background-color: var(--deep-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
}

/* 产品预览 */
.products-preview {
    background-color: var(--warm-white);
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-blue);
    margin: 20px;
}

.category-card .btn-secondary {
    margin: 0 20px 20px;
}

/* 制造工艺 */
.craftsmanship {
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.step {
    text-align: center;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--champagne-gold);
    margin-bottom: 20px;
}

.step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 15px;
}

.step p {
    color: var(--text-light);
    font-size: 14px;
}

/* 客户评价 */
.testimonials {
    background-color: var(--warm-white);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card p {
    color: var(--text-light);
    margin-bottom: 30px;
    font-style: italic;
    line-height: 1.8;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.customer-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.customer-info h4 {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 5px;
}

.customer-info p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* 合作伙伴 */
.partners {
    background-color: white;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

.partner-logos .logo {
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.partner-logos .logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-logos .logo span {
    font-weight: 600;
    color: var(--text-light);
}

/* 页脚 */
.footer {
    background-color: var(--deep-blue);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--champagne-gold);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--champagne-gold);
    color: var(--deep-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .value-cards,
    .product-categories,
    .process-steps,
    .testimonial-cards,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .value-cards,
    .product-categories,
    .process-steps,
    .testimonial-cards,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        flex-direction: column;
        align-items: center;
    }
    
    .partner-logos .logo {
        width: 200px;
    }
}

/* 产品页面样式 */
.products-page {
    padding: 120px 0 100px;
    background-color: var(--warm-white);
}

.products-header {
    text-align: center;
    margin-bottom: 80px;
}

.products-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.products-header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--deep-blue);
    color: white;
    border-color: var(--deep-blue);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.product-price {
    font-weight: 600;
    color: var(--champagne-gold);
    margin-bottom: 15px;
}

/* 定制服务页面样式 */
.custom-page {
    padding: 120px 0 100px;
    background-color: var(--warm-white);
}

.custom-header {
    text-align: center;
    margin-bottom: 80px;
}

.custom-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.custom-header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.custom-process {
    background-color: white;
    padding: 80px 0;
    margin-bottom: 80px;
}

.process-steps-custom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.process-step::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--champagne-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--deep-blue);
}

.process-step:nth-child(1)::before {
    content: '1';
}

.process-step:nth-child(2)::before {
    content: '2';
}

.process-step:nth-child(3)::before {
    content: '3';
}

.process-step:nth-child(4)::before {
    content: '4';
}

.process-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.process-step p {
    color: var(--text-light);
}

.custom-form {
    background-color: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--deep-blue);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--champagne-gold);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* 联系页面样式 */
.contact-page {
    padding: 120px 0 100px;
    background-color: var(--warm-white);
}

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 20px;
}

.contact-header p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--deep-blue);
    flex-shrink: 0;
}

.contact-item h3 {
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--deep-blue);
    margin-bottom: 30px;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--champagne-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C09A2C;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top: 5px solid var(--champagne-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
