/* 继承原有样式并添加新样式 */
.body {
    font-size: 18px;
    color: #666666;
    background: #D2E9FF;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-family: "Times New Roman", Times, serif;
}

.nav-bar {
    background-color: #1e90ff;
    padding: 10px;
    margin-top: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-bar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.nav-bar li {
    display: inline-block;
    margin: 0 20px;
}

.nav-bar a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-bar a:hover {
    background-color: #0056b3;
}

.bgDiv {
    width: 100%;
    height: auto;
    min-height: 120px;
    border: 1px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #7BC1FF;
    margin-top: 5px;
    padding: 20px 0;
}

.p1 {
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 20px;
    font-size: 30pt;
    font-family: "Times New Roman", Times, serif;
    color: #000000;
}

.p2 {
    width: 100%;
    height: auto;
    padding-top: 10px;
    text-align: center;
    padding-bottom: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 24pt;
    color: #000000;
}

.p3 {
    width: 100%;
    height: auto;
    text-align: center;
    padding-top: 10px;
    font-size: 20pt;
    font-family: "Times New Roman", Times, serif;
    color: #F8F8FF;
}

.p4 {
    width: 100%;
    height: auto;
    padding-top: 10px;
    text-align: center;
    padding-bottom: 10px;
    font-family: "Times New Roman", Times, serif;
    font-size: 16pt;
}

.footer {
    width: 100%;
    height: auto;
    min-height: 80px;
    margin-top: 40px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    background-color: #00488f;
    padding: 20px 0;
}

.enabled1, .enabled2 {
    border: none;
    padding: 15px 30px;
    font-size: 20px;
    line-height: 1.5;
    background-color: #1e90ff;
    color: white;
    border-bottom: 3px solid #0056b3;
    outline: none;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-family: "Times New Roman", Times, serif;
}

.enabled1:hover, .enabled2:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

fieldset {
    padding: 20px;
    margin-top: 20px;
    background: #f0f0f0;
    border: 2px solid #1e90ff;
    border-radius: 8px;
}

fieldset legend {
    color: #0000FF;
    font-weight: bold;
    font-size: 24px;
    padding: 0 20px;
    border: 1px solid black;
    background: Snow;
    text-align: center;
    font-family: "Times New Roman", Times, serif;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .p1 {
        font-size: 24pt;
    }
    
    .p2 {
        font-size: 20pt;
    }
    
    .p3 {
        font-size: 16pt;
    }
    
    .p4 {
        font-size: 14pt;
    }
    
    .enabled1, .enabled2 {
        padding: 12px 24px;
        font-size: 18px;
    }
    
    .nav-bar li {
        margin: 0 10px;
    }
    
    .nav-bar a {
        font-size: 16px;
    }
}

/* 图片样式优化 */
img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* 图片容器 */
.image-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.image-title {
    color: #0056b3;
    margin-bottom: 15px;
    font-size: 20px;
    text-align: center;
}

.image-caption {
    margin-top: 10px;
    color: #666;
    font-size: 15px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* 增强EnDeep4mC标题样式 */
em {
    font-style: italic !important;
    font-weight: bold !important;
}

/* 图片放大和悬停效果 */
.image-container {
    transition: all 0.3s ease;
}

.image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (min-width: 1200px) {
    .image-container {
        max-width: 1200px !important;
    }
}

/* 导航栏按钮悬停效果 */
.nav-bar a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}