/* 统一美化样式 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --light-color: #f8f9fa;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #1a2530 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    padding: 0.8rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    position: relative;
    margin: 0 8px;
    transition: color 0.3s;
    padding: 8px 16px !important;
    border-radius: 4px;
    color: var(--primary-color);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-color);
    background: rgba(243, 156, 18, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* 顶部图片区域 */
.top-banner-section {
    margin-top: 8vh;
    height: 90vh;
    min-height: 500px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #f5f5f5;
}

/* 新人研修バナー */
.banner-orientation {
    background: var(--gradient-secondary);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.banner-content-orientation {
    position: relative;
    z-index: 1;
}

.banner-title-orientation {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.banner-sentence-orientation {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.bold {
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 按钮样式 */
.trial-lesson-btn,
.hero-section .btn {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.4s;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.trial-lesson-btn {
    background: var(--gradient-accent);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.trial-lesson-btn::before,
.hero-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s;
    z-index: -1;
}

.trial-lesson-btn:hover,
.hero-section .btn:hover {
    transform: translateY(-5px);
    color: white;
}

.trial-lesson-btn:hover {
    box-shadow: 0 10px 25px rgba(243, 156, 18, 0.5);
}

.hero-section .btn:hover {
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

.trial-lesson-btn:hover::before,
.hero-section .btn:hover::before {
    width: 100%;
}

/* 英雄区域 */
.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-section p.lead {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* 关于内容区域 */
.about-section {
    padding: 80px 0;
    background-color: white;
}

#about,
#about2 {
    padding: 5rem 0;
    background-color: var(--light-color);
    position: relative;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.03;
    z-index: 0;
}

#about .container {
    position: relative;
    z-index: 1;
}

#about h4 {
    color: var(--primary-color);
    margin-bottom: 1.8rem;
    font-weight: 700;
    font-size: 1.5rem;
}

#about p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

#about ul {
    padding-left: 1.5rem;
}

#about ul li {
    margin-bottom: 1rem;
    position: relative;
    font-size: 1.1rem;
}

#about ul li::before {
    content: '✓';
    color: var(--success-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

/* 使命卡片 */
.mission-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0.03;
    z-index: 0;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.mission-card p {
    position: relative;
    z-index: 1;
}

/* 问题陈述 */
.problem-statement {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.problem-statement h4 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.problem-statement ul {
    padding-left: 1.2rem;
}

.problem-statement ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.problem-statement ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
    font-size: 1.2rem;
}

/* 数据表格 */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    font-size: 1rem;
}

.stats-table th {
    background: var(--gradient-secondary);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.stats-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: center;
    transition: all 0.3s;
}

.stats-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.stats-table tr:hover td {
    background-color: rgba(52, 152, 219, 0.05);
}

/* 高亮框 */
.highlight-box {
    background: var(--gradient-accent);
    color: white;
    padding: 2rem;
    margin: 30px 0;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: cover;
    z-index: 0;
}

.highlight-box h4 {
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.highlight-box ul {
    padding-left: 1.2rem;
    position: relative;
    z-index: 1;
}

.highlight-box ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.highlight-box ul li::before {
    content: '✓';
    color: white;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

/* 使命宣言区域 */
.mission-statement-section {
    background: var(--gradient-primary);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-statement-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.mission-statement-section .container {
    position: relative;
    z-index: 1;
}

.mission-statement-section h2 {
    color: white;
    margin-bottom: 2rem;
    font-weight: 700;
}

.mission-statement {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 统计数据区域 */
.stats-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stats-section p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* 课程介绍区域 */
.section-title {
    font-weight: 800;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
    color: var(--primary-color);
    font-size: 2.2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.course-highlight {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s;
    border-left: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.course-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-secondary);
    transition: all 0.4s;
}

.course-highlight:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.course-highlight:hover::before {
    width: 8px;
}

.course-highlight h3 {
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.course-feature {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
}

.course-feature i {
    color: var(--success-color);
    margin-right: 12px;
    margin-top: 5px;
    font-size: 1.1rem;
}

.card-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    transition: all 0.4s;
}

.course-highlight:hover .card-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

/* 课程级别标签 */
.course-level {
    font-size: 1rem;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}

.level-beginner {
    background: linear-gradient(135deg, #e8f4fd 0%, #d4e9fa 100%);
    color: var(--secondary-color);
}

.level-intermediate {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #ff9800;
}

.level-advanced {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
    color: #e91e63;
}

/* 特色课程卡片 */
.course-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s;
    overflow: hidden;
    height: 100%;
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-secondary);
}

.course-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.course-card .card-body {
    padding: 2.5rem 2rem;
}

.course-card .card-icon {
    font-size: 3rem;
    margin-bottom: 1.8rem;
}

.course-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

/* 页脚 */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1552664730-d307ca884978?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer a {
    transition: all 0.3s;
}

.footer a:hover {
    color: var(--accent-color) !important;
    padding-left: 5px;
}

.footer .fab {
    font-size: 1.5rem;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.footer .fab:hover {
    transform: translateY(-5px);
    background: var(--accent-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
    transition: all 0.4s;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.5);
}

/* Google Map样式 */
.google-map-container {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.map-wrapper {
    overflow: hidden;
    flex-grow: 1;
    border: 1px solid #e0e0e0;
}

.map-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 3px solid var(--secondary-color);
}

.map-info h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent-color);
}

/* 车站信息 */
.station-group {
    margin-bottom: 1rem;
}

.station-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--accent-color);
}

.station-list {
    margin: 0;
}

.station-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.station-item:last-child {
    border-bottom: none;
}

.station-item i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

/* 地址卡片 */
.address-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    background: white;
    transition: all 0.3s;
}

.address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.address-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.address-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.address-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.address-info p {
    color: #555;
    line-height: 1.5;
}

.phone-group {
    margin-top: 0.5rem;
}

.phone-label {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
}

.icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    font-size: 1rem;
}

.contact-actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .banner-title-orientation {
        font-size: 2.2rem;
    }

    .hero-section h1 {
        font-size: 2.4rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .course-highlight {
        padding: 2rem;
    }

    .top-banner-section {
        height: 50vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
    }

    .mission-statement {
        font-size: 1.2rem;
    }

    .stats-table {
        font-size: 0.9rem;
    }

    .mission-card, .highlight-box {
        padding: 1.5rem;
    }

    .top-banner-section {
        height: 40vh;
        min-height: 300px;
    }

    .banner-title-orientation {
        font-size: 1.8rem;
    }

    .banner-sentence-orientation {
        font-size: 1.1rem;
    }

    .hero-section {
        padding: 4rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
        max-width: 100%;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .course-highlight {
        padding: 1.5rem;
    }

    .course-card .card-body {
        padding: 2rem 1.5rem;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .address-card {
        margin-top: 1.5rem;
    }

    .station-group {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .banner-title-orientation {
        font-size: 1.6rem;
    }

    .hero-section h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .top-banner-section {
        height: 35vh;
        min-height: 250px;
    }
}