/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.header {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-badge {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.school-badge::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.badge-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    z-index: 1;
}

.logo h1 {
    font-size: 24px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: block;
}

.nav-item a:hover,
.nav-item.active a {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FF6B00;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    color: #333;
    padding: 12px 20px;
    border-radius: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: #FF6B00;
    color: white;
}

/* 主要内容区域 */
.main {
    min-height: calc(100vh - 140px);
}

/* 轮播图 */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 飘动的校训图片 */
.floating-motto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.motto-image {
    position: absolute;
    width: 120px;
    height: auto;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* 飘动动画关键帧 */
@keyframes float {
    0% {
        transform: translate(20px, 50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    25% {
        transform: translate(80px, 30px) rotate(5deg);
    }
    50% {
        transform: translate(150px, 60px) rotate(-3deg);
    }
    75% {
        transform: translate(220px, 40px) rotate(2deg);
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translate(280px, 50px) rotate(0deg);
        opacity: 0;
    }
}

/* 第二个飘动校训图片 */
.floating-motto::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: url('./images/xiaoxun.png') no-repeat center center;
    background-size: contain;
    opacity: 0.6;
    animation: float2 8s ease-in-out infinite 2s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes float2 {
    0% {
        transform: translate(300px, 80px) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.6;
    }
    30% {
        transform: translate(250px, 50px) rotate(-5deg);
    }
    50% {
        transform: translate(200px, 70px) rotate(3deg);
    }
    70% {
        transform: translate(150px, 45px) rotate(-2deg);
    }
    85% {
        opacity: 0.6;
    }
    100% {
        transform: translate(100px, 80px) rotate(0deg);
        opacity: 0;
    }
}

/* 第三个飘动校训图片 */
.floating-motto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: url('./images/xiaoxun.png') no-repeat center center;
    background-size: contain;
    opacity: 0.7;
    animation: float3 7s ease-in-out infinite 4s;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes float3 {
    0% {
        transform: translate(50px, 100px) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.7;
    }
    40% {
        transform: translate(120px, 70px) rotate(4deg);
    }
    60% {
        transform: translate(180px, 90px) rotate(-2deg);
    }
    80% {
        transform: translate(240px, 60px) rotate(1deg);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translate(320px, 100px) rotate(0deg);
        opacity: 0;
    }
}

.slider-container {
    position: relative;
    height: 100%;
    
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("./images/伏虎山下的美丽校园.jpeg") no-repeat;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 40px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 20px;
    opacity: 0.9;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #FF6B00;
}

/* 核心信息模块 */
.core-info {
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.card-header {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #FF6B00;
}

.card-header h3 {
    color: #003366;
    font-size: 24px;
    font-weight: 600;
}

/* 校训样式 */
.motto-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.motto-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #FF6B00;
}

.motto-word {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: #FF6B00;
    margin-bottom: 10px;
}

.motto-item p {
    color: #666;
    font-size: 14px;
}

/* 特色专业样式 */
.specialty-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.specialty-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #003366;
}

.specialty-item h4 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 18px;
}

.badge {
    display: inline-block;
    background: #FF6B00;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 10px;
}

.specialty-item p {
    color: #666;
    line-height: 1.6;
}

/* 最新动态样式 */
.news-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    border-radius: 10px;
    color: white;
}

.news-number {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* 登录页面样式 */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 140px);
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    color: #003366;
    font-size: 28px;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 表单分区 */
.form-section {
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    padding: 20px;
    background: #f8f9fa;
}

.form-section h3 {
    color: #003366;
    font-size: 18px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #FF6B00;
}

/* 表单行 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.form-group label {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B00;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 单选框样式 */
.radio-group {
    display: flex;
    gap: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-mark {
    border-color: #FF6B00;
}

.radio-label input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #FF6B00;
    border-radius: 50%;
}

/* 复选框组 */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #FF6B00;
    border-color: #FF6B00;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
}

/* 文件上传 */
.file-upload {
    position: relative;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: #FF6B00;
    background: #f8f9fa;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
}

.upload-icon {
    font-size: 32px;
}

/* 按钮组 */
.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.submit-btn, .reset-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.submit-btn {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    color: white;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
}

.reset-btn {
    background: #6c757d;
    color: white;
}

.reset-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.help-text {
    color: #666;
    font-size: 14px;
}

/* 财经旅游学院页面样式 */
.college-intro {
    padding: 60px 0;
    background: white;
}

.intro-header {
    text-align: center;
    margin-bottom: 50px;
}

.intro-header h1 {
    color: #003366;
    font-size: 36px;
    margin-bottom: 15px;
}

.subtitle {
    color: #666;
    font-size: 18px;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.intro-text h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B00;
}

.intro-text ul {
    list-style: none;
    padding: 0;
}

.intro-text li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.intro-text li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #FF6B00;
}

.cooperation-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #003366;
}

.cooperation-item h4 {
    color: #003366;
    margin-bottom: 10px;
}

.cooperation-item p {
    color: #666;
}

/* 专业列表样式 */
.major-list {
    padding: 60px 0;
    background: #f8f9fa;
}

.major-list h2 {
    text-align: center;
    color: #003366;
    font-size: 32px;
    margin-bottom: 40px;
}

.major-table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.major-table table {
    width: 100%;
    border-collapse: collapse;
}

.major-table th {
    background: #003366;
    color: white;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.major-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.major-table tr:hover {
    background: #f8f9fa;
}

.highlight {
    color: #FF6B00;
    font-weight: 600;
}

/* 成果展示样式 */
.achievements {
    padding: 60px 0;
    background: white;
}

.achievements h2 {
    text-align: center;
    color: #003366;
    font-size: 32px;
    margin-bottom: 40px;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    border-left: 4px solid #FF6B00;
}

.achievement-card h3 {
    color: #003366;
    font-size: 24px;
    margin-bottom: 25px;
    text-align: center;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.award-icon {
    font-size: 24px;
}

.award-info h4 {
    color: #003366;
    margin-bottom: 5px;
}

.award-info p {
    color: #666;
    font-size: 14px;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.partner-item {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.logo-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8533 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin: 0 auto 10px;
}

.partner-item p {
    color: #333;
    font-weight: 500;
}

/* 底部版权 */
.footer {
    background: #003366;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .motto-content {
        grid-template-columns: 1fr;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .achievement-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-logos {
        grid-template-columns: 1fr;
    }
    
    .major-table {
        overflow-x: auto;
    }
    
    .major-table table {
        min-width: 600px;
    }
} 