/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f7f4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #1B3A5C;
    margin: 0;
}

.logo span {
    font-size: 14px;
    color: #C8A96E;
    margin-top: 2px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: #C8A96E;
}

.language {
    border-left: 1px solid #ddd;
    padding-left: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1B3A5C;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Hero Banner */
.hero {
    background-image: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=luxury%20handmade%20jewelry%20banner%20with%20elegant%20design&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: #fff;
    position: relative;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(27, 58, 92, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h2 {
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 400;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: #C8A96E;
    color: #fff;
}

.btn-primary:hover {
    background-color: #b8955a;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1B3A5C;
    transform: translateY(-2px);
}

/* 品牌价值主张 */
.value-proposition {
    padding: 80px 0;
    background-color: #fff;
}

.value-cards {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.value-card {
    flex: 1;
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f7f4;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    margin-bottom: 15px;
    color: #1B3A5C;
}

.value-card p {
    color: #666;
}

/* 数字统计区域 */
.stats-section {
    display: flex;
    justify-content: space-around;
    margin-bottom: 60px;
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #C8A96E;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.stat-label {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* 核心产品分类展示 */
.product-categories {
    padding: 80px 0;
    background-color: #f9f7f4;
}

.product-categories h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #1B3A5C;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 20px;
    color: #1B3A5C;
}

.category-card p {
    margin: 0 20px 20px;
    color: #666;
    font-size: 14px;
}

/* 制造工艺展示 */
.manufacturing-process {
    padding: 80px 0;
    background-color: #fff;
}

.manufacturing-process h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #1B3A5C;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f7f4;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.step-number {
    font-size: 36px;
    font-weight: 700;
    color: #C8A96E;
    margin-bottom: 15px;
}

.process-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px 0;
    width: 100%;
    height: 120px;
    background-color: #f9f7f4;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.process-icon svg {
    width: 64px;
    height: 64px;
    transition: transform 0.3s ease;
}

.process-step:hover .process-icon svg {
    transform: scale(1.1) rotate(5deg);
}

.process-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 10px;
    color: #1B3A5C;
}

.process-step p {
    color: #666;
    font-size: 14px;
}

/* 关于我们 */
.about-us {
    padding: 80px 0;
    background-color: #f9f7f4;
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
    color: #1B3A5C;
}

.about-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin: 25px 0 15px;
    color: #1B3A5C;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
}

.about-text ul {
    margin: 20px 0;
    padding-left: 20px;
}

.about-text ul li {
    margin-bottom: 10px;
    color: #666;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 产品中心 */
.products {
    padding: 80px 0;
    background-color: #fff;
}

.products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #1B3A5C;
}

.product-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #C8A96E;
    color: #fff;
    border-color: #C8A96E;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f9f7f4;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin: 20px;
    color: #1B3A5C;
}

.product-material {
    margin: 0 20px 15px;
    color: #C8A96E;
    font-size: 14px;
}

.inquire-btn {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px;
    background-color: #1B3A5C;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.inquire-btn:hover {
    background-color: #0f2a44;
}

/* 定制服务 */
.custom-service {
    padding: 80px 0;
    background-color: #f9f7f4;
}

.custom-service h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #1B3A5C;
}

.custom-content {
    display: flex;
    gap: 60px;
}

.custom-process {
    flex: 1;
}

.custom-process h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: #1B3A5C;
}

.custom-form {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.custom-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: #1B3A5C;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #C8A96E;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: #fff;
}

.contact h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: #1B3A5C;
}

.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 30px;
    color: #1B3A5C;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 40px;
}

.contact-info ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    color: #666;
}

.contact-info ul li .icon {
    margin-right: 15px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #C8A96E;
    border-color: #C8A96E;
}

.social-link:hover svg path {
    stroke: #fff;
}

.contact-map {
    flex: 1;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

/* 页脚 */
.footer {
    background-color: #1B3A5C;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
}

.footer-logo h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 5px;
}

.footer-logo span {
    font-size: 14px;
    color: #C8A96E;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-links,
.footer-contact {
    flex: 1;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: #C8A96E;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #C8A96E;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact ul li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        padding: 15px 20px;
    }

    nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        display: none;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 36px;
    }

    .value-cards {
        flex-direction: column;
    }

    .stats-section {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-item {
        flex: 1 1 40%;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-content,
    .custom-content,
    .contact-content {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .product-filters {
        flex-wrap: wrap;
    }

    .process-steps {
        flex-direction: column;
    }

    .process-step {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero h2 {
        font-size: 16px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .custom-form {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

/* 滚动动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #C8A96E;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(200, 169, 110, 0.4);
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #b8955a;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(200, 169, 110, 0.5);
}

/* 导航栏滚动状态 */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* 涟漪效果 */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 通知提示 */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #4CAF50;
}

.notification-error {
    border-left: 4px solid #f44336;
}

.notification-icon {
    font-size: 18px;
    font-weight: bold;
}

.notification-success .notification-icon {
    color: #4CAF50;
}

.notification-error .notification-icon {
    color: #f44336;
}

.notification-message {
    font-size: 14px;
    color: #333;
}

/* 图片放大查看 (Lightbox) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #C8A96E;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
    margin-top: 20px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

/* 产品卡片3D效果 */
.product-card {
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 品牌价值卡片图标动画 */
.value-card .icon {
    transition: transform 0.3s ease;
}

/* 按钮涟漪位置 */
.btn-primary,
.btn-secondary,
.inquire-btn,
.filter-btn {
    position: relative;
    overflow: hidden;
}

/* 图片放大光标 */
.product-card img,
.category-card img {
    cursor: zoom-in;
}

/* 页面加载完成状态 */
body.loaded {
    overflow-x: hidden;
}

/* 增强的导航链接效果 */
nav ul li a {
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #C8A96E;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 数字动画样式 */
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #C8A96E;
    font-family: 'Playfair Display', serif;
}

/* 进度条动画 */
.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #C8A96E;
    width: 0;
    transition: width 1s ease;
}

/* 卡片翻转效果 */
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

/* 打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #C8A96E;
    white-space: nowrap;
    animation: typing 3s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink-caret {
    from,
    to {
        border-color: transparent;
    }
    50% {
        border-color: #C8A96E;
    }
}

/* 鼠标跟随效果 */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #C8A96E;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease;
    transform: translate(-50%, -50%);
}

/* 滚动进度条 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8A96E, #1B3A5C);
    z-index: 10001;
    transition: width 0.1s ease;
}