/* 全局样式 */
body {
    line-height: 1.6;
    color: #333;
    padding-top: 70px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #333;
}
.history h4{
     color: white; /* 白色文字 */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* 文字阴影，增强对比度 */
    font-weight: bold; /* 加粗文字 */
    letter-spacing: 1px; /* 增加字间距 */
}

/* 导航栏样式 */
.navbar {
    background-color: #222;
    border: none;
    height: 40px;
}


.navbar-inverse .navbar-brand {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.navbar-inverse .navbar-nav>li>a {
    color: #ddd;
    transition: color 0.3s;
}

.navbar-inverse .navbar-nav>li>a:hover {
    color: #fff;
}

.navbar-inverse .navbar-nav>.open>a, 
.navbar-inverse .navbar-nav>.open>a:focus, 
.navbar-inverse .navbar-nav>.open>a:hover {
    background-color: #1E441E;
}

/* 主内容区样式 */
.main-content {
    margin-bottom: 30px;
}

.jumbotron {
    background-image: url('../images/opera-banner.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 0;
}

.jumbotron h1 {
    font-size: 52px;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.section-heading {
    font-size: 38px;
    color: #2C5F2D;
    margin-bottom: 50px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 3px solid #d2e8db;
}

/* 歌剧卡片样式 */
.opera-card {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.opera-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

.opera-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 18px;
    transition: transform 0.5s ease;
}

.opera-card:hover .opera-img {
    transform: scale(1.03);
}

.opera-card h3 {
    color: #2C5F2D;
    font-size: 24px;
    margin-bottom: 12px;
}

/* 剧院卡片样式 */
.juyuan{
    background-color: #d53030;
}

.theater-card {
    background-color: #f8f9fa;
    border-left: 5px solid #2C5F2D;
    padding: 25px;
    margin-bottom: 110px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.theater-card h3 {
    color: #2C5F2D;
    font-size: 28px;
    margin-bottom: 15px;
}

.theater-card p {
    font-size: 18px;
    line-height: 1.8;
}

/* 侧边栏样式 */
.sidebar {
    margin-top: 30px;
}

.sidebar-heading {
    background-color: #d2e8db;
    color: #2C5F2D;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 15px;
    border-radius: 5px 5px 0 0;
}

.tip-title {
    font-size: 19px;
    font-weight: bold;
    color: #2C5F2D;
    margin-bottom: 8px;
}

.tip-content {
    color: #555;
    font-size: 16px;
}

/* 页脚样式 */
#contact {
    background-color: #121212;
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 80px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .jumbotron h1 {
        font-size: 38px;
    }
    
    .jumbotron p {
        font-size: 18px;
    }
    
    .section-heading {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    .opera-card h3 {
        font-size: 22px;
    }
    
    .theater-card h3 {
        font-size: 24px;
    }
    
    .tip-title {
        font-size: 17px;
    }
}

.history{
    background-image: url('../images/opera-banner2.jpg');
    background-size: cover;
    background-position: center;
    height: 400px;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 0;
}
