/* ========================================
   上海品茶 - 高端茶空间网站样式
   站点：www.qiyue111.cn
   配色：深绿 + 米白
   ======================================== */

/* CSS变量定义 */
:root {
    --primary-color: #2d5016;
    --primary-dark: #1a3d0f;
    --primary-light: #4a7c2e;
    --secondary-color: #f5f1e8;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0d8c8;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --radius: 8px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ========================================
   头部导航
   ======================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
}

.nav ul {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

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

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

.nav a:hover::after,
.nav .active a::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   首屏Banner
   ======================================== */
.banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.3;
}

.banner-content {
    position: relative;
    z-index: 1;
    padding: 40px;
}

.banner-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 8px;
}

.banner-desc {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 4px;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
}

.btn-link:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* ========================================
   通用区块样式
   ======================================== */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
    font-size: 1rem;
}

.section-more {
    text-align: center;
    margin-top: 40px;
}

/* ========================================
   服务区块
   ======================================== */
.services {
    background: var(--white);
}

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

.service-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--secondary-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   茶室推荐
   ======================================== */
.tea-rooms {
    background: var(--secondary-color);
}

.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.room-img {
    height: 220px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.room-card:hover .room-img img {
    transform: scale(1.05);
}

.room-info {
    padding: 25px;
}

.room-info h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.room-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* ========================================
   茶叶精选
   ======================================== */
.tea-products {
    background: var(--white);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--secondary-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-origin {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-color);
    font-size: 0.9rem;
}

.product-specs {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ========================================
   茶事活动
   ======================================== */
.tea-events {
    background: var(--secondary-color);
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.event-item {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.event-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.event-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ========================================
   品牌优势
   ======================================== */
.advantages {
    background: var(--primary-color);
    color: var(--white);
}

.advantages .section-title {
    color: var(--white);
}

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

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-num {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.advantage-item p {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ========================================
   文章列表
   ======================================== */
.articles {
    background: var(--white);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.article-card {
    background: var(--secondary-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-img {
    height: 180px;
    overflow: hidden;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-img img {
    transform: scale(1.05);
}

.article-info {
    padding: 20px;
}

.article-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-info h3 a {
    color: var(--primary-color);
}

.article-info h3 a:hover {
    color: var(--primary-dark);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========================================
   页面Banner（栏目页）
   ======================================== */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    text-align: center;
    color: var(--white);
}

.page-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.page-banner p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   面包屑导航
   ======================================== */
.breadcrumb {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--primary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-light);
}

/* ========================================
   茶室列表页
   ======================================== */
.room-list .room-card {
    display: flex;
    margin-bottom: 30px;
}

.room-list .room-img {
    width: 350px;
    height: auto;
    flex-shrink: 0;
}

.room-list .room-info {
    flex: 1;
    padding: 30px;
}

.room-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.room-features li {
    background: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* ========================================
   茶叶选页
   ======================================== */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* ========================================
   茶事活动页
   ======================================== */
.event-types .event-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.event-types .event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.event-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.event-desc {
    color: var(--text-light);
    margin-bottom: 20px;
}

.event-features {
    text-align: left;
    margin: 20px 0;
}

.event-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 0.9rem;
}

.event-features li:last-child {
    border-bottom: none;
}

.event-suitable {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 15px;
}

/* ========================================
   文章列表（茶事页）
   ======================================== */
.tea-articles {
    background: var(--secondary-color);
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-item {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}

.article-item:hover {
    box-shadow: var(--shadow-hover);
}

.article-item .article-img {
    width: 250px;
    flex-shrink: 0;
}

.article-item .article-content {
    flex: 1;
    padding: 25px;
}

.article-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.article-item h3 a {
    color: var(--primary-color);
}

.article-item h3 a:hover {
    color: var(--primary-dark);
}

.article-item .article-excerpt {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* ========================================
   预约页
   ======================================== */
.booking-process {
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.step-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p,
.address-info p {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-info p:last-child,
.address-info p:last-child {
    border-bottom: none;
}

.booking-notice {
    background: var(--secondary-color);
}

.notice-content {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
}

.notice-content li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    padding-left: 25px;
    position: relative;
}

.notice-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.notice-content li:last-child {
    border-bottom: none;
}

.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   文章详情页
   ======================================== */
.article-detail {
    background: var(--white);
    padding: 60px 0;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.5;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
}

.article-body p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 40px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.article-body strong {
    color: var(--primary-color);
}

.related-articles {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.related-articles h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background: var(--secondary-color);
    padding: 20px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.related-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.related-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.related-item p {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ========================================
   底部内链
   ======================================== */
.internal-link {
    background: var(--secondary-color);
    padding: 30px 0;
    text-align: center;
}

.internal-link a {
    color: var(--primary-color);
    font-weight: 500;
}

.internal-link a:hover {
    text-decoration: underline;
}

/* ========================================
   底部页脚
   ======================================== */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-light);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    opacity: 1;
    color: var(--primary-light);
}

.footer-link {
    color: var(--primary-light);
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ========================================
   悬浮联系方式按钮
   ======================================== */
.contact-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.contact-float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    transition: var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-float-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.5);
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-float-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 280px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.contact-float-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.contact-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.contact-panel-header h4 {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
}

.contact-close {
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.contact-close:hover {
    color: var(--primary-color);
}

.contact-panel-body {
    padding: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--secondary-color);
    border-radius: var(--radius);
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

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

.contact-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.contact-item:hover .contact-item-label,
.contact-item:hover .contact-item-copy {
    color: var(--white);
    opacity: 0.9;
}

.contact-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-info {
    flex: 1;
}

.contact-item-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 2px;
    transition: var(--transition);
}

.contact-item-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.contact-item:hover .contact-item-value {
    color: var(--white);
}

.contact-item-copy {
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.contact-panel-tip {
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
}

.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border-radius: 30px;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99999;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .contact-float {
        bottom: 20px;
        right: 15px;
    }
    
    .contact-float-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .contact-text {
        display: none;
    }
    
    .contact-float-btn {
        padding: 12px;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        justify-content: center;
    }
    
    .contact-icon {
        font-size: 1.4rem;
    }
    
    .contact-float-panel {
        width: 260px;
        bottom: 60px;
        right: -10px;
    }
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .service-grid,
    .product-grid,
    .event-grid,
    .advantage-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .room-grid,
    .article-grid,
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .header .container {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    
    .nav.active {
        display: block;
    }
    
    .nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .banner {
        min-height: 350px;
    }
    
    .banner-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .banner-desc {
        font-size: 1rem;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-grid,
    .product-grid,
    .event-grid,
    .advantage-grid,
    .room-grid,
    .article-grid,
    .process-steps,
    .info-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .room-list .room-card {
        flex-direction: column;
    }
    
    .room-list .room-img {
        width: 100%;
        height: 200px;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-item .article-img {
        width: 100%;
        height: 180px;
    }
    
    .page-banner h1 {
        font-size: 1.8rem;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-tabs {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
    
    .btn-primary {
        padding: 12px 30px;
    }
    
    .service-item,
    .event-item,
    .advantage-item {
        padding: 25px 15px;
    }
}
