/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

a {
    text-decoration: none;
    color: #d32f2f;
}

.btn, .more-btn, .footer-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #d32f2f;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover, .more-btn:hover, .footer-btn:hover {
    background-color: #b71c1c;
}

.more-btn {
    font-size: 0.9em;
    padding: 8px 16px;
    margin-top: 15px;
}

/* 头部样式 */
header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    padding: 15px 0;
    text-align: center;
}

.logo h1 {
    color: #d32f2f;
    font-size: 2em;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0 20px 15px;
}

nav li {
    margin: 0 15px;
}

nav a {
    color: #333;
    font-weight: bold;
    padding: 5px 0;
    position: relative;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #d32f2f;
    transition: width 0.3s;
}

nav a:hover:after, nav .active a:after {
    width: 100%;
}

nav .active a {
    color: #d32f2f;
}

/* 主要内容样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 轮播图样式 */
.banner {
    position: relative;
    margin-bottom: 30px;
}

.slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.booking-btn {
    position: absolute;
    bottom: 30px;
    right: 30px;
}

/* 场馆介绍样式 */
.venue-intro {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.venue-intro h2 {
    color: #d32f2f;
    margin-bottom: 15px;
    font-size: 1.8em;
}

/* 节目单预览样式 */
.program-preview {
    margin-bottom: 30px;
}

.program-preview h2 {
    color: #d32f2f;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.program-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.program-item:hover {
    transform: translateY(-5px);
}

.program-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.program-item h3 {
    padding: 15px;
    text-align: center;
    font-size: 1.2em;
}

/* 座位图预览样式 */
.seating-preview {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.seating-preview h2 {
    color: #d32f2f;
    margin-bottom: 20px;
    font-size: 1.8em;
}

.seating-image {
    width: 100%;
    overflow-x: auto; /* 添加水平滚动功能 */
    margin-bottom: 15px;
}

.seating-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block; /* 确保图片正确显示 */
}

/* 响应式设计 */
@media (max-width: 768px) {
    .seating-image {
        overflow-x: auto; /* 在小屏幕上允许水平滚动 */
        -webkit-overflow-scrolling: touch; /* 提升移动设备上的滚动体验 */
    }
    
    .seating-preview {
        padding: 15px; /* 减小内边距以获得更多空间 */
    }
}

.seating-img img {
    width: 100%;
    border-radius: 4px;
}

/* 页脚样式 */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-btn {
    text-align: center;
    background-color: #d32f2f;
}

.qrcode {
    text-align: center;
}

.qrcode img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #555;
}

/* 添加footer的响应式设计 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-links, .qrcode, .contact-info {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .qrcode img {
        width: 120px;
        height: 120px;
    }
    
    footer {
        padding: 30px 15px 15px;
    }
    
    .copyright {
        margin-top: 20px;
        font-size: 14px;
    }
}

/* 导航栏样式调整 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5px;
}

/* 导航栏样式调整 */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 0; /* 减小上下内边距 */
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    color: #e60012;
    font-size: 28px;
    margin: 0;
    font-weight: normal;
    font-family: 'YeGenYouXingShu', 'Microsoft YaHei', sans-serif; /* 应用叶根友行书繁字体 */
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0 12px; /* 减小菜单项间距 */
}

nav a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding: 3px 0; /* 减小上下内边距 */
    font-size: 15px; /* 稍微减小字体大小 */
}

/* 其他导航栏样式保持不变 */
nav a:hover, nav .active a {
    color: #e60012;
}

nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e60012;
    transition: width 0.3s;
}

nav a:hover:after, nav .active a:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    nav {
        order: 3;
        width: 100%;
        display: none;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        padding: 10px 0;
    }
    
    nav li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* 首页海报和简介区域 */
.hero-section {
    padding: 30px 0;
    background-color: #fff;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-poster {
    flex: 0 0 40%;
}

.hero-poster img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-intro {
    flex: 0 0 60%;
}

.hero-intro h2 {
    color: #e60012;
    font-size: 24px;
    margin-bottom: 15px;
}

.hero-intro p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 20px;
}

.hero-actions .btn {
    margin-right: 15px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-poster, .hero-intro {
        flex: 0 0 100%;
    }
}

/* 节目单预览部分 - 修改后的样式 */
.program-preview-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.program-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.program-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 25px;
}

.program-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.program-details {
    display: flex;
    flex-direction: column;
}

.program-title {
    color: #e60012;
    font-size: 22px;
    margin: 0 0 15px;
    position: relative;
    padding-bottom: 10px;
}

.program-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #e60012;
}

.program-desc {
    color: #666;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.program-more {
    text-align: center;
    margin-top: 20px;
}

.btn-outline {
    background: none;
    border: 2px solid #e60012;
    color: #e60012;
    padding: 10px 25px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background-color: #e60012;
    color: white;
}

/* 精彩瞬间图片展示 - 列式布局 */
.performance-gallery {
    padding: 60px 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .program-preview {
        grid-template-columns: 1fr;
    }
}

/* 微信购票部分 */
.wechat-booking {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.wechat-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.wechat-text {
    flex: 0 0 60%;
}

.wechat-text h2 {
	color: #333;
	font-size: 24px;
	margin: 0 0 15px;
	text-align: left;
}

.wechat-text p {
	color: #666;
	margin-bottom: 20px;
}

.wechat-benefits {
    padding-left: 20px;
    margin: 0;
}

.wechat-benefits li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.5;
}

.wechat-qrcode {
	flex: 0 0 30%;
	text-align: center;
}

.wechat-qrcode img {
	max-width: 180px;
	border: 1px solid #eee;
	padding: 10px;
	background-color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	text-align: right;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .wechat-content {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .wechat-text, .wechat-qrcode {
        flex: 0 0 100%;
    }
    
    .wechat-qrcode {
        margin-top: 30px;
    }
}


.news-image {
  margin: 20px 0;
  text-align: center;
}

.news-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .seating-image {
        overflow: hidden;
    }
}

.news-modal-body h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: #d9534f;
  font-size: 1.3em;
}

.news-modal-body h4 {
  font-style: italic;
  color: #555;
  margin: 20px 0;
  line-height: 1.6;
}
