/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    overflow-x: hidden;
}

/* 水晶效果动画 */
@keyframes sparkle {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.sparkle {
    animation: sparkle 2s infinite;
}

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

/* 导航栏 */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #d4af37;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.logo a:hover {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:hover {
    color: #d4af37;
}

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

.language-switch {
    margin-left: 20px;
}

.language-switch a {
    margin: 0 5px;
    font-size: 14px;
}

.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
}

/* 首屏英雄区 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=luxury%20jewelry%20background%2C%20swarovski%20style%2C%20golden%20and%20silver%20crystals&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* 水晶装饰元素 */
.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.crystal {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    animation: sparkle 3s infinite;
}

.crystal-1 {
    top: 20%;
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.crystal-2 {
    top: 60%;
    right: 15%;
    width: 15px;
    height: 15px;
    animation-delay: 1s;
}

.crystal-3 {
    bottom: 20%;
    left: 20%;
    width: 10px;
    height: 10px;
    animation-delay: 2s;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #d4af37;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.2));
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.btn:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.5);
}

/* 产品亮点 */
.features {
    padding: 100px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-item p {
    color: #666;
}

/* 产品预览 */
.products-preview {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.products-preview h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.product-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
    position: relative;
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-color: #d4af37;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.product-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.product-item h3 {
    padding: 20px;
    font-size: 18px;
    color: #333;
}

.product-item p {
    padding: 0 20px 20px;
    color: #666;
}

.view-more {
    text-align: center;
    margin-top: 40px;
}

/* 公司简介预览 */
.about-preview {
    padding: 100px 0;
    background-color: white;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

.about-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

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

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 页脚 */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    color: #d4af37;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #999;
}

.footer-links h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d4af37;
}

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

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

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #d4af37;
}

.footer-contact p {
    color: #999;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #999;
}

/* 页面标题 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=luxury%20jewelry%20background%2C%20swarovski%20style%2C%20golden%20and%20silver%20crystals&image_size=landscape_16_9');
    background-size: cover;
    background-position: center;
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #d4af37;
}

.page-header p {
    font-size: 20px;
}

/* 产品分类 */
.product-categories {
    padding: 40px 0;
    background-color: white;
    border-bottom: 1px solid #eee;
}

.categories-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.categories-nav a {
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.categories-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.3s ease;
}

.categories-nav a:hover::before {
    left: 100%;
}

.categories-nav a:hover {
    background-color: #f9f9f9;
    color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.categories-nav .category-active {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: white;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 产品页面 */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

/* 公司历史 */
.company-history {
    padding: 80px 0;
    background-color: white;
}

.company-history h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.company-history h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 2px;
}

.history-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.history-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

/* 企业文化 */
.company-culture {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.company-culture h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.company-culture h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 2px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.culture-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.culture-icon {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.culture-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.culture-item p {
    color: #666;
}

/* 核心优势 */
.company-advantages {
    padding: 80px 0;
    background-color: white;
}

.company-advantages h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.company-advantages h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 2px;
}

.advantages-content {
    max-width: 800px;
    margin: 0 auto;
}

.advantage-item {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #d4af37;
}

.advantage-item p {
    color: #666;
    line-height: 1.8;
}

/* 联系信息 */
.contact-info {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 48px;
    color: #d4af37;
    margin-bottom: 20px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.contact-item p {
    color: #666;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background-color: white;
}

.contact-form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f, #d4af37);
    border-radius: 2px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        padding: 15px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        margin: 10px 0;
    }

    .language-switch {
        margin-left: 0;
        margin-top: 10px;
    }

    .mobile-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .features h2,
    .products-preview h2,
    .about-content h2,
    .page-header h1,
    .company-history h2,
    .company-culture h2,
    .company-advantages h2,
    .contact-form h2 {
        font-size: 28px;
    }

    .about-preview .container {
        flex-direction: column;
    }

    .about-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .contact-form-content {
        grid-template-columns: 1fr;
    }

    .map img {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .features h2,
    .products-preview h2,
    .about-content h2,
    .page-header h1,
    .company-history h2,
    .company-culture h2,
    .company-advantages h2,
    .contact-form h2 {
        font-size: 24px;
    }

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

    .feature-grid,
    .products-grid,
    .culture-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}