/* 道教文化页面专用样式 - 固定宽度1200px版（完全移除响应式换行） */
/* ========== 重置 & 基础 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.page-culture {
    font-family: 'Microsoft YaHei', 'SimHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    width: 100%;
    overflow-x: hidden;
}

/* ========== 固定宽度容器（1200px）========== */
.container,
.header-content,
.footer-content,
.copyright {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== 头部导航（fixed，100%宽，背景铺满）========== */
.page-culture .header {
    background: linear-gradient(135deg, #263544 0%, #1a2530 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-culture .header.scrolled {
    background: rgba(38, 53, 68, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    height: 60px;
}

.page-culture .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-culture .logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.page-culture .logo:hover {
    color: #4da6ff;
    transform: translateY(-2px);
}

.page-culture .logo i {
    margin-right: 15px;
    font-size: 30px;
}

/* ========== 导航菜单（水平排列，永不换行）========== */
.page-culture .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.page-culture .nav-menu li {
    margin-left: 25px;
    position: relative;
}

.page-culture .nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.page-culture .nav-menu a:hover {
    color: white;
}

.page-culture .nav-menu a.active {
    color: white;
    position: relative;
}

.page-culture .nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4da6ff;
    transition: width 0.3s ease;
}

.page-culture .nav-menu a:hover::after {
    width: 100%;
}

.page-culture .nav-menu a.active::after {
    width: 100%;
}
/* 下拉菜单箭头 */
.dropdown-icon {
    font-size: 12px;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* 下拉菜单容器 */
.page-culture .nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(38, 53, 68, 0.98);
    backdrop-filter: blur(10px);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-culture .nav-menu .dropdown-menu li {
    margin: 0;
    width: 100%;
}

.page-culture .nav-menu .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    border-left: 3px solid transparent;
    white-space: nowrap;
    font-weight: 400;
    transition: all 0.3s ease;
    text-align: left;
}

.page-culture .nav-menu .dropdown-menu a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-left: 3px solid #4da6ff;
    padding-left: 17px;
}

.page-culture .nav-menu .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 移动端菜单按钮 - 永远隐藏 */
.page-culture .mobile-menu-btn {
    display: none !important;
}

/* ========== 英雄区域（添加上边距，避免被fixed导航遮挡）========== */
.page-culture .hero-section {
    margin-top: 70px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/daojiaowenhua.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
    margin-bottom: 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
    width: 100%;
}

.page-culture .hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.page-culture .hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 主要内容区域 ========== */
.main-content {
    padding-bottom: 60px;
}

.culture-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

/* ========== 引言部分 ========== */
.culture-intro {
    margin-bottom: 50px;
    text-align: center;
}

.culture-intro h2 {
    color: #2c6e91;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.culture-intro h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #2c6e91;
}

.culture-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.intro-image-box {
    margin: 30px auto;
    max-width: 700px;
}

/* ========== 通用部分样式 ========== */
.culture-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.culture-section:last-child {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #2c6e91;
    font-size: 32px;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 18px;
    color: #777;
    font-style: italic;
}

/* ========== 艺术网格（固定三列）========== */
.art-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.art-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.art-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.art-image-box {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.art-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-card:hover .art-image-box img {
    transform: scale(1.05);
}

.art-content {
    padding: 25px;
}

.art-content h3 {
    color: #2c6e91;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.art-content p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.art-details {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 5px;
    max-height: 200px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.art-details h4 {
    color: #2c6e91;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.art-details ul {
    margin: 0;
    padding-left: 20px;
}

.art-details li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
    font-size: 14px;
}

/* ========== 文学内容 ========== */
.literature-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 30px;
}

.literature-image-box {
    width: 40%;
}

.literature-text-box {
    flex: 1;
}

.literature-text-box h3 {
    color: #2c6e91;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f2ff;
}

.classics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.classic-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #2c6e91;
    transition: all 0.3s ease;
}

.classic-item:hover {
    transform: translateX(5px);
    border-left-color: #4da6ff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.classic-item h4 {
    color: #2c6e91;
    margin: 0 0 10px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.classic-item h4 i {
    margin-right: 10px;
}

.classic-item p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* ========== 诗词部分 ========== */
.poetry-section {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    margin-top: 30px;
}

.poetry-section h3 {
    color: #2c6e91;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.poetry-examples {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.poetry-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #2c6e91;
    transition: all 0.3s ease;
}

.poetry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.poetry-content {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: #2c6e91;
    margin-bottom: 10px;
}

.poetry-author {
    text-align: right;
    color: #777;
    font-size: 14px;
}

/* ========== 音乐内容 ========== */
.music-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.music-text-box {
    flex: 1;
}

.music-text-box h3 {
    color: #2c6e91;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f2ff;
}

.music-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.feature-item {
    text-align: center;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 36px;
    color: #2c6e91;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: #2c6e91;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.feature-item p {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin: 0;
}

.music-image-box {
    width: 40%;
}

/* ========== 养生内容 ========== */
.health-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.health-image-box {
    width: 40%;
}

.health-text-box {
    flex: 1;
}

.health-text-box h3 {
    color: #2c6e91;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f2ff;
}

.health-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.method-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border-top: 3px solid #2c6e91;
    transition: all 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top-color: #4da6ff;
}

.method-card h4 {
    color: #2c6e91;
    margin: 0 0 15px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.method-card h4 i {
    margin-right: 10px;
}

.method-card p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* ========== 节日内容 ========== */
.festival-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 30px 0;
}

.festival-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.festival-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.festival-icon {
    font-size: 40px;
    color: #2c6e91;
    margin-bottom: 20px;
}

.festival-card h3 {
    color: #2c6e91;
    margin: 0 0 15px 0;
    font-size: 22px;
}

.festival-card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.festival-details {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 5px;
    text-align: left;
    max-height: 200px;
    overflow: hidden;
}

.festival-details h4 {
    color: #2c6e91;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.festival-details ul {
    margin: 0;
    padding-left: 20px;
}

.festival-details li {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 5px;
}

.festival-image-box {
    text-align: center;
    margin-top: 40px;
}

/* ========== 现代内容 ========== */
.modern-content {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.modern-text-box {
    flex: 1;
}

.modern-text-box h3 {
    color: #2c6e91;
    font-size: 26px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e6f2ff;
}

.modern-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.area-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid #2c6e91;
    transition: all 0.3s ease;
}

.area-item:hover {
    transform: translateX(5px);
    background: #f0f7ff;
    border-left-color: #4da6ff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.area-item h4 {
    color: #2c6e91;
    margin: 0 0 10px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.area-item h4 i {
    margin-right: 10px;
}

.area-item p {
    color: #555;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

.modern-image-box {
    width: 40%;
}

/* ========== 注释样式 ========== */
.culture-note {
    background: #f0f7ff;
    border-left: 4px solid #4da6ff;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.culture-note p {
    font-size: 17px;
    line-height: 1.7;
    color: #444;
    margin: 0;
    display: flex;
    align-items: flex-start;
}

.culture-note i {
    color: #4da6ff;
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ========== 总结部分 ========== */
.culture-summary {
    background: #f0f7ff;
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    text-align: center;
}

.culture-summary h2 {
    color: #2c6e91;
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.culture-summary h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #2c6e91;
}

.summary-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* ========== 图片样式 ========== */
.culture-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.culture-image:hover {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: #777;
    font-size: 14px;
    margin-top: 8px;
}

/* 左浮动和右浮动类 */
.left {
    float: left;
    margin-right: 30px;
    margin-left: 0;
}

.right {
    float: right;
    margin-left: 30px;
    margin-right: 0;
}

/* 清除浮动 */
.culture-content::after,
.literature-content::after,
.music-content::after,
.health-content::after,
.modern-content::after {
    content: "";
    display: table;
    clear: both;
}

/* ========== 页脚（宽度100%，背景铺满）========== */
.footer {
    background: linear-gradient(135deg, #263544 0%, #1a2530 100%);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
    border-top: 5px solid #2c6e91;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #4da6ff;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: #4da6ff;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #4da6ff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    width: 1200px;
    margin: 0 auto;
    padding: 30px 20px 0;
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2c6e91 0%, #4da6ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
    box-shadow: 0 5px 15px rgba(44, 110, 145, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(44, 110, 145, 0.4);
}

/* ========== 动画效果 ========== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.culture-content {
    animation: fadeIn 0.8s ease-out;
}

.art-card, .festival-card, .method-card {
    animation: fadeIn 0.6s ease-out;
}

/* ========== 所有响应式媒体查询已彻底删除，手机端仅通过viewport缩放 ========== */
