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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
}

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

/* 导航栏 */
.navbar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 215, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 140px;  /* 加大LOGO */
    width: auto;
    /* 透明PNG不需要混合模式，直接显示 */
    /* 金色光晕 - 让LOGO更突出 */
    filter: drop-shadow(0 3px 20px rgba(255, 215, 0, 0.8)) brightness(1.1) contrast(1.1);
    /* 让图片更清晰 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* 动画效果 */
    animation: logoGlow 3s ease-in-out infinite, logoFloat 4s ease-in-out infinite;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* LOGO金色呼吸灯动画 */
@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 15px rgba(255, 215, 0, 0.6)) brightness(1.1);
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 5px 30px rgba(255, 215, 0, 1)) brightness(1.2) saturate(1.3);
        transform: scale(1.03);
    }
}

/* LOGO悬浮动画 */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 悬停时增强效果 */
.logo:hover .logo-img {
    animation-play-state: paused;  /* 暂停默认动画 */
    transform: scale(1.08) rotate(2deg);  /* 轻微旋转放大 */
    filter: drop-shadow(0 8px 40px rgba(255, 215, 0, 1)) brightness(1.3) saturate(1.5);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

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

/* 首页横幅 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    color: #ffd700;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.tagline {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 50px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

/* 产品展示区 */
.products-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
    border-color: #ffd700;
}

.product-card.featured {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffd700;
    color: #1a1a1a;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-desc {
    color: #cccccc;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.product-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.product-features li {
    color: #ffffff;
    padding: 5px 0;
    padding-left: 25px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.product-price {
    font-size: 1.8rem;
    color: #ffd700;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.buy-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* 产品画廊 */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 固定3列 */
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 215, 0, 0.2);
    aspect-ratio: 1 / 1;  /* 统一正方形比例 */
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: #ffd700;
}

.gallery-item.large {
    /* 移除大图的特殊样式，统一尺寸 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.gallery-overlay p {
    color: #ffffff;
    font-size: 0.85rem;
}

/* 响应式设计 - 画廊 */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);  /* 手机端2列 */
    }
    
    .gallery-item {
        aspect-ratio: 1 / 1;  /* 保持正方形 */
    }
}

/* 灯箱/模态框 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}
\[object Object]

/* 品牌故事 */
.about-section {
    padding: 100px 0;
    background: #1a1a1a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: #cccccc;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 联系我们 */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info,
.contact-form {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.contact-info h3,
.contact-form h3 {
    color: #ffd700;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-info strong {
    color: #ffd700;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 1rem;
    background: #0a0a0a;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #666666;
}

.submit-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
}

/* 页脚 */
.footer {
    background: #0a0a0a;
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-content {
    color: #cccccc;
}

.footer-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 140px;  /* 加大页脚LOGO */
    width: auto;
    /* 透明PNG直接显示 */
    /* 金色光晕 + 动画 */
    filter: drop-shadow(0 3px 20px rgba(255, 215, 0, 0.7)) brightness(1.1) contrast(1.1);
    /* 让图片更清晰 */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    animation: footerLogoGlow 3s ease-in-out infinite;
}

/* 页脚LOGO呼吸灯动画 */
@keyframes footerLogoGlow {
    0%, 100% {
        filter: drop-shadow(0 3px 20px rgba(255, 215, 0, 0.6)) brightness(1.1);
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 6px 35px rgba(255, 215, 0, 0.9)) brightness(1.2);
        transform: scale(1.02);
    }
}

.copyright {
    margin-top: 2rem;
    color: #666666;
    font-size: 0.9rem;
}

/* 灯箱/模态框 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #ffd700;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #ffffff;
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    text-align: center;
    font-size: 1.2rem;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 215, 0, 0.7);
    color: #1a1a1a;
    border: none;
    padding: 20px 25px;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 5px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}
