/* 页面横幅样式 */
.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);
}

/* 茶道礼仪部分样式 */
.ceremony-section,
.brewing-section {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 2rem;
    color: #666;
}

.ceremony-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.ceremony-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ceremony-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.ceremony-content {
    padding: 1.5rem;
}

.ceremony-content h3 {
    color: #4a6741;
    margin-bottom: 1rem;
}

.ceremony-content ul {
    list-style: none;
    padding-left: 1rem;
}

.ceremony-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.ceremony-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4a6741;
}

/* 冲泡方法部分样式 */
.brewing-tabs {
    margin-top: 2rem;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid #4a6741;
    background: none;
    color: #4a6741;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: #4a6741;
    color: #fff;
}

.brewing-guide {
    display: none;
}

.brewing-guide.active {
    display: block;
}

.guide-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.guide-header img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.basic-info {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.basic-info h3 {
    color: #4a6741;
    margin-bottom: 1rem;
}

.basic-info ul {
    list-style: none;
    padding-left: 1rem;
}

.basic-info li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.brewing-steps {
    margin-top: 2rem;
}

.brewing-steps h4 {
    color: #4a6741;
    margin-bottom: 1.5rem;
    text-align: center;
}

.brewing-steps ol {
    list-style: none;
    padding: 0;
}

.brewing-steps li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 30px;
    height: 30px;
    background: #4a6741;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.step-content h5 {
    color: #4a6741;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
}

/* 响应式设计 */
@media (min-width: 768px) {
    .ceremony-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .guide-header {
        flex-direction: row;
    }

    .guide-header img {
        width: 50%;
    }
}

@media (min-width: 1024px) {
    .ceremony-grid {
        grid-template-columns: repeat(3, 1fr);
    }
} 