/* ====================
   基础样式和变量定义
   ==================== */
:root {
    /* 高端商务配色 - 深色系 */
    --primary-color: #8B4513;      /* 深棕色 - 主色调 */
    --secondary-color: #D2691E;    /* 巧克力色 - 辅助色 */
    --accent-color: #FFD700;       /* 金色 - 强调色 */
    --background-dark: #0D0D0D;    /* 深黑色 - 背景 */
    --background-light: #1A1A1A;    /* 浅黑色 - 卡片背景 */
    --text-light: #FFFFFF;         /* 白色 - 主要文字 */
    --text-gray: #B0B0B0;          /* 灰色 - 次要文字 */
    --border-color: #2A2A2A;        /* 深灰 - 边框色 */
    
    /* 间距和尺寸 */
    --section-padding: 80px 20px;
    --card-radius: 12px;
    --button-radius: 6px;
    
    /* 阴影效果 */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 24px rgba(139, 69, 19, 0.2);
    --shadow-glow: 0 0 20px rgba(139, 69, 19, 0.3);
}

/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ====================
   导航栏样式
   ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.logo span {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 2px;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

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

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

/* ====================
   Hero区域样式
   ==================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0D0D0D 0%, #1A1A1A 50%, #0D0D0D 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 69, 19, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
    letter-spacing: 8px;
    text-shadow: 0 0 30px rgba(139, 69, 19, 0.5);
}

.hero-subtitle {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 6px;
    font-weight: 300;
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: var(--button-radius);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
    border-color: var(--accent-color);
}

/* ====================
   品牌介绍区域
   ==================== */
.brand-intro {
    padding: var(--section-padding);
    background: var(--background-light);
}

.intro-container {
    max-width: 900px;
    margin: 0 auto;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 4px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
}

.intro-content {
    background: var(--background-dark);
    padding: 50px;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
}

.intro-content p {
    font-size: 18px;
    line-height: 2;
    color: var(--text-gray);
    margin-bottom: 25px;
    text-align: justify;
}

.intro-content p:last-child {
    margin-bottom: 0;
}

/* ====================
   产品展示区域
   ==================== */
.products {
    padding: var(--section-padding);
    background: var(--background-dark);
}

.product-card {
    max-width: 1100px;
    margin: 0 auto 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px;
    background: var(--background-light);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color);
    transition: all 0.5s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* LivePhoto容器样式 */
.livephoto-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
}

.livephoto-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.livephoto-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.livephoto-container:hover .livephoto-image,
.livephoto-container.active .livephoto-image {
    opacity: 0;
}

.livephoto-container:hover .livephoto-video,
.livephoto-container.active .livephoto-video {
    opacity: 1;
}

.livephoto-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(139, 69, 19, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.play-icon {
    color: var(--text-light);
    font-size: 18px;
    margin-left: 3px;
}

.livephoto-container:hover .livephoto-overlay {
    transform: scale(1.1);
    background: rgba(139, 69, 19, 1);
}

/* 产品信息样式 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-info h3 {
    font-size: 32px;
    color: var(--text-light);
    letter-spacing: 2px;
}

.product-subtitle {
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

.product-tagline {
    font-size: 20px;
    color: var(--accent-color);
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

/* 产品规格 */
.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 10px 0;
}

.spec-item {
    background: var(--background-dark);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.spec-label {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    display: block;
    font-size: 18px;
    color: var(--text-light);
    font-weight: 600;
}

/* 产品价格 */
.product-price {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.price-single, .price-box {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 700;
}

.price-single::before {
    content: '单瓶：';
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
    margin-right: 5px;
}

.price-box::before {
    content: '整箱：';
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 400;
    margin-right: 5px;
}

/* 产品特色标签 */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-tag {
    padding: 8px 16px;
    background: rgba(139, 69, 19, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* ====================
   酿造理念区域
   ==================== */
.philosophy {
    padding: var(--section-padding);
    background: var(--background-light);
}

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

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.philosophy-card {
    background: var(--background-dark);
    padding: 40px 30px;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    box-shadow: var(--shadow-soft);
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.philosophy-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.philosophy-card h3 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.philosophy-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ====================
   联系我们区域
   ==================== */
.contact {
    padding: var(--section-padding);
    background: var(--background-dark);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-info > p {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
}

.contact-details {
    background: var(--background-light);
    padding: 30px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.contact-details strong {
    color: var(--text-light);
    margin-right: 10px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.qr-code-container {
    text-align: center;
    background: var(--background-light);
    padding: 40px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

.qr-code {
    width: 250px;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.scan-tip {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ====================
   页脚样式
   ==================== */
.footer {
    background: var(--background-light);
    padding: 40px 20px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand h3 {
    font-size: 24px;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

.footer-links p {
    font-size: 12px;
    color: var(--text-gray);
    letter-spacing: 1px;
}

/* ====================
   响应式设计
   ==================== */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        letter-spacing: 3px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-menu a {
        font-size: 12px;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .product-price {
        flex-direction: column;
        gap: 15px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
}

/* ====================
   动画效果
   ==================== */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本颜色 */
::selection {
    background: var(--primary-color);
    color: var(--text-light);
}

/* 链接颜色 */
a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
}