/* 页面横幅样式 */
.page-banner {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 茶类介绍样式 */
.tea-intro {
    text-align: center;
    padding: 2rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* 茶类网格布局 */
.tea-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

/* 茶类卡片样式 */
.tea-card {
    position: relative;
    height: 400px;
    perspective: 1000px;
    cursor: pointer;
}

.tea-card-front,
.tea-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
    border-radius: 8px;
    overflow: hidden;
}

.tea-card-front {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tea-card-back {
    background: #fff;
    transform: rotateY(180deg);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tea-card:hover .tea-card-front {
    transform: rotateY(180deg);
}

.tea-card:hover .tea-card-back {
    transform: rotateY(0);
}

.tea-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.tea-card h3 {
    color: #4a6741;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.tea-card .brief {
    color: #666;
    padding: 0 1rem;
}

/* 卡片背面样式 */
.tea-card-back h4 {
    color: #4a6741;
    margin: 1rem 0 0.5rem;
}

.tea-card-back ul {
    list-style: none;
    padding-left: 1rem;
}

.tea-card-back ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.tea-card-back ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a6741;
}

.brewing-tips,
.famous-types {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .tea-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .tea-types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 