/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 顶部区域 */
.header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    color: #003366;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin: 0 15px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #0066cc;
}

/* Banner区域优化 */
.banner {
    margin-top: 90px;
    position: relative;
    height: 450px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.banner-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.banner-dot:hover {
    background: rgba(255,255,255,0.8);
}

.banner-dot.active {
    background: #fff;
    border-color: #0066cc;
    transform: scale(1.2);
}

/* 添加左右切换按钮 */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.banner-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}

/* 主要内容区优化 */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* 新闻动态优化 */
.news-section {
    margin-bottom: 50px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.news-wrapper {
    display: flex;
    gap: 40px;
}

.news-left {
    flex: 3;
}

.news-right {
    flex: 2;
}

.section-title {
    font-size: 24px;
    color: #003366;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.news-item {
    display: flex;
    margin-bottom: 25px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 280px;
    height: 180px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
    flex: 1;
}

.news-info h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.news-info p {
    color: #666;
}

.notice-list {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.notice-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list .date {
    color: #0066cc;
    font-weight: bold;
    margin-right: 15px;
}

.notice-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.notice-list a:hover {
    color: #0066cc;
}

/* 教学科研和校园文化优化 */
.academic-section,
.campus-culture {
    margin-bottom: 50px;
    padding: 30px;
    border-radius: 12px;
}

.academic-section {
    background: #f0f5ff;
}

.campus-culture {
    background: #fff5f0;
}

.academic-content,
.culture-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 25px;
}

.academic-item,
.culture-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.academic-item:hover,
.culture-item:hover {
    transform: translateY(-5px);
}

.item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.item-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.item-content p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s;
}

.academic-item:hover .item-content p,
.culture-item:hover .item-content p {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式优化 */
@media screen and (max-width: 992px) {
    .news-wrapper {
        flex-direction: column;
    }
    
    .academic-content,
    .culture-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-item img {
        width: 100%;
        height: 200px;
    }
}

/* 底部区域 */
.footer {
    background: #003366;
    color: #fff;
    padding: 40px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}

.contact-info {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
}
 