/* 霸王茶姬页面特定样式 */
.chagee-main {
    margin-top: 120px; /* 与首页保持一致的顶部间距 */
    min-height: calc(100vh - 120px - 60px); /* 减去头部和底部的高度 */
}

/* 当前页面导航项高亮 */
.nav-links .active {
    color: #ff9800;
    background: rgba(255, 255, 255, 0.1);
}

/* 轮播图容器 */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-wrapper {
    position: relative;
}

/* 轮播图片容器 */
.carousel-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 500%; /* 5张图片 * 100% */
}

.carousel-slide {
    width: 20%; /* 100% / 5张图片 */
    flex-shrink: 0;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* 指示器样式 */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #fff;
}

/* 品牌介绍区域样式 */
.brand-intro {
    padding: 80px 20px;
    background-color: #f3ecda;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

.intro-title {
    font-size: 36px;
    color: #333;
    font-family: 'SimSun', serif;
    font-weight: bold;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 100%;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    font-family: 'SimSun', serif;
}

/* 最后一段文字没有下边距 */
.intro-text:last-child {
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .brand-intro {
        padding: 40px 20px;
        gap: 30px; /* 在移动端减小间距 */
    }

    .intro-title {
        font-size: 28px;
        margin-bottom: 30px;
        font-weight: bold;
    }

    .intro-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 社交媒体图标样式 */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px;
    position: fixed;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.social-icon {
    color: #1a2b3c;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 32px;
    height: 32px;
    border: 1px solid #1a2b3c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #ff0000;
    border-color: #ff0000;
}

/* 小红书文字大小调整 */
.social-icon span {
    font-size: 8px !important;
    letter-spacing: -0.5px;
    transform: scale(0.9);
    display: inline-block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .social-icons {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin: 20px 0;
        padding: 0;
        transform: none;
        left: auto;
    }

    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* 品牌故事板块样式 */
.brand-story {
    padding: 30px 20px;
    text-align: center;
    background-color: #f3ecda;
}

.story-container {
    max-width: 1000px; /* 减小最大宽度，使内容更居中 */
    margin: 0 auto;
    display: flex;
    justify-content: center; /* 改为居中对齐 */
    align-items: center;
    gap: 30px; /* 保持文字和图片之间的间距为30px */
    padding: 0 40px; /* 两侧添加相等的内边距 */
}

.story-text {
    flex: 0 1 500px; /* 固定文字区域的基准宽度 */
    text-align: left;
    font-family: 'SimSun', serif;
    color: #666;
    line-height: 2;
}

.story-text p {
    margin: 0;
    font-size: 16px;
}

.text-spacing {
    margin-top: 30px !important;
}

.story-image {
    flex: 0 1 500px; /* 固定图片区域的基准宽度 */
    max-width: 500px;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }
}

/* 品牌故事标题样式 */
.story-title {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 58px;
    font-weight: bold;
    color: #14213D;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .story-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

/* 霸王茶姬板块样式 */
.chagee-section {
    padding: 70px 20px;
    text-align: center;
    background-color: #f3ecda;
}

/* 霸王茶姬标题样式 */
.chagee-title {
    font-family: 'Microsoft YaHei', sans-serif;
    font-size: 58px;
    font-weight: bold;
    color: #14213D;
    text-align: center;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .chagee-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

/* 茶品展示容器 */
.tea-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    padding: 0 40px;
}

/* 图片样式 */
.tea-image {
    flex: 0 1 500px;
    text-align: center;
}

.tea-image img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 文字内容样式 */
.tea-content {
    flex: 0 1 500px;
    text-align: left;
}

/* 茶名标题 */
.tea-name {
    font-family: 'SimSun', serif;
    font-size: 36px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: bold;
}

/* 分隔线 */
.divider {
    width: 40px;
    height: 2px;
    background-color: #333;
    margin-bottom: 30px;
    margin-left: 0;
}

/* 茶品描述 */
.tea-description {
    font-family: 'SimSun', serif;
    color: #666;
    line-height: 2;
}

.tea-description p {
    margin: 0;
    font-size: 16px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tea-container {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .tea-name {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .tea-description {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* 调整茶品展示容器的上边距 */
.chagee-section + .chagee-section {
    padding-top: 0; /* 移除原有的内边距 */
    margin-top: -30px; /* 使用负边距向上移动30px */
}

/* 当没有图片时的文字样式 */
.tea-content-full {
    flex: 0 1 800px; /* 让文字区域更宽一些 */
    margin: 0 auto; /* 居中显示 */
}

/* 空白图片区域 */
.empty-image {
    flex: 0 1 500px; /* 保持与有图片时相同的宽度 */
}

/* 添加标题图片样式 */
.tea-title-image {
    text-align: center;
    margin-bottom: 40px;
}

.tea-title-image img {
    max-width: 250px; /* 与茉莉雪芽图片大小一致（50%的500px） */
    height: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .tea-title-image {
        margin-bottom: 30px;
    }
    
    .tea-title-image img {
        max-width: 200px;
    }
} 