/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
    background: linear-gradient(to bottom, #f5f5dc 0%, #faf8f3 100%);
    color: #333;
    line-height: 1.8;
}

/* 导航栏样式 */
.a1 {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    padding: 18px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #daa520;
}

.a2 {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.a3 {
    color: #daa520;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.a3:hover {
    transform: scale(1.05);
    color: #ffd700;
}

.a4 {
    list-style: none;
    display: flex;
    gap: 35px;
}

.a4 a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    padding: 10px 18px;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 2px solid transparent;
}

.a4 a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #daa520;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.a4 a:hover {
    color: #daa520;
    transform: translateY(-3px);
}

.a4 a:hover::before {
    width: 100%;
}

/* 主横幅样式 */
.b1 {
    background-image: url('../images/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.b1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 69, 19, 0.6);
    z-index: 1;
}

.b1::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: b2 3s infinite;
    z-index: 2;
}

@keyframes b2 {
    0% { left: -100%; }
    100% { left: 200%; }
}

.b1 h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    animation: b3 1s ease-out;
    position: relative;
    z-index: 3;
}

@keyframes b3 {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.b1 p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: b3 1s ease-out 0.3s backwards;
    position: relative;
    z-index: 3;
}

/* 主内容区域 */
.c1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.c2 {
    background: linear-gradient(to bottom, #fff 0%, #fffbf5 100%);
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.12);
    border-left: 5px solid #daa520;
    transition: all 0.3s ease;
    position: relative;
}

.c2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background: linear-gradient(to bottom, #daa520, #cd853f);
    transition: height 0.5s ease;
}

.c2:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    transform: translateY(-5px);
}

.c2:hover::before {
    height: 100%;
}

.c2 h2 {
    color: #8b4513;
    font-size: 36px;
    margin-bottom: 25px;
    border-left: 6px solid #daa520;
    padding-left: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    position: relative;
}

.c2 h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #daa520, transparent);
}

.c2 h3 {
    color: #a0522d;
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 18px;
    padding-left: 15px;
    border-left: 4px solid #cd853f;
}

.c2 h4 {
    color: #8b4513;
    font-size: 22px;
    margin-bottom: 12px;
}

.c2 p {
    text-indent: 2em;
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 2;
    color: #444;
}

/* 图片样式 */
.d1 {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 25px auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    border: 3px solid #daa520;
}

.d1:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

/* 图片网格 */
.d2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 35px 0;
}

.d3 {
    width: 100%;
    height: 280px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
    border: 2px solid #cd853f;
}

.d3:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    border-color: #daa520;
}

/* 特色列表 */
.e1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 35px 0;
}

.e2 {
    background: linear-gradient(135deg, #fffaf0 0%, #fff8e7 100%);
    padding: 25px;
    border-left: 5px solid #8b4513;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.e2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(218, 165, 32, 0.05);
    transition: width 0.3s ease;
}

.e2:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    border-left-color: #daa520;
}

.e2:hover::before {
    width: 100%;
}

.e2 h4 {
    color: #8b4513;
    font-size: 22px;
    margin-bottom: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.e2 p {
    text-indent: 0;
    color: #555;
    line-height: 1.9;
}

/* 表单样式 */
.f1 {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #fff 0%, #fffbf5 100%);
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.f2 {
    margin-bottom: 25px;
    position: relative;
}

.f2 label {
    display: block;
    margin-bottom: 10px;
    color: #8b4513;
    font-weight: bold;
    font-size: 16px;
}

.f2 input,
.f2 textarea,
.f2 select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
}

.f2 input:focus,
.f2 textarea:focus,
.f2 select:focus {
    outline: none;
    border-color: #daa520;
    box-shadow: 0 0 10px rgba(218, 165, 32, 0.2);
    background: #fffef9;
}

.f2 textarea {
    min-height: 140px;
    resize: vertical;
}

.f3 {
    background: linear-gradient(135deg, #8b4513 0%, #a0522d 100%);
    color: #fff;
    padding: 15px 40px;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    font-weight: bold;
    letter-spacing: 1px;
}

.f3:hover {
    background: linear-gradient(135deg, #a0522d 0%, #8b4513 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}

.f3:active {
    transform: translateY(0);
}

/* 页脚样式 */
.g1 {
    background: linear-gradient(135deg, #6d3710 0%, #8b4513 50%, #6d3710 100%);
    color: #fff;
    text-align: center;
    padding: 35px 25px;
    margin-top: 50px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
    border-top: 3px solid #daa520;
}

.g1 p {
    margin-bottom: 10px;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* 轮播图容器 */
.h1 {
    position: relative;
    max-width: 850px;
    margin: 35px auto;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border: 3px solid #daa520;
}

.h2 {
    display: none;
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.h2:hover {
    transform: scale(1.05);
}

.h3 {
    display: block;
}

.h4 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.85), rgba(160, 82, 45, 0.85));
    color: #fff;
    border: 2px solid #daa520;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.h4:hover {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.95), rgba(205, 133, 63, 0.95));
    transform: translateY(-50%) scale(1.1);
}

.h5 {
    left: 15px;
}

.h6 {
    right: 15px;
}

/* 时间显示 */
.i1 {
    text-align: center;
    background: linear-gradient(135deg, #fffaf0 0%, #fff8e7 100%);
    padding: 20px;
    margin: 25px 0;
    border: 3px solid #daa520;
    font-size: 20px;
    color: #8b4513;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .a2 {
        flex-direction: column;
        gap: 15px;
    }
    
    .a3 {
        font-size: 26px;
    }
    
    .a4 {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .b1 h1 {
        font-size: 36px;
    }
    
    .b1 p {
        font-size: 16px;
    }
    
    .c2 {
        padding: 25px;
    }
    
    .c2 h2 {
        font-size: 28px;
    }
    
    .d2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .d3 {
        height: 200px;
    }
    
    .e1 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .h2 {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .d2 {
        grid-template-columns: 1fr;
    }
}

/* 视频容器样式 */
.video-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.video-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-item h4 {
    color: #8b4513;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.video-item video {
    transition: transform 0.3s ease;
}

.video-item video:hover {
    transform: scale(1.02);
}
