/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #FF8C00;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 语言切换按钮 */
.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid #FF8C00;
    background: transparent;
    color: #666;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 140, 0, 0.1);
}

.lang-btn.active {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 140, 0, 0.3);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #FF8C00;
    cursor: pointer;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, #FFE8CC 0%, #FFDDB3 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* 橙金渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: #555;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn {
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #FF8C00, #FFA500);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #FF8C00;
    border: 2px solid #FF8C00;
}

.btn-secondary:hover {
    background: #FF8C00;
    color: white;
}

/* Hero 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 关于我区域 */
.about {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: #FF8C00;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.about-img-wrapper {
    flex-shrink: 0;
}

/* 关于我头像 - 按比例缩小，不裁切 */
.about-img {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: #f5f5f5;
}

.about-text {
    flex: 1;
}

.about-name {
    font-size: 32px;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 10px;
}

.about-title {
    font-size: 20px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* 关于我区域的联系信息 */
.about-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.about-contact .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #555;
}

.about-contact .contact-item i {
    color: #FF8C00;
    font-size: 18px;
    width: 20px;
}

.about-contact .contact-label {
    font-weight: 600;
    color: #333;
}

/* 服务区域 */
.services {
    padding: 80px 0;
    background: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FF8C00, #FFD700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.service-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 播放图标覆层 */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.9), rgba(255, 215, 0, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    border-radius: 16px;
}

.service-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    font-size: 60px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.play-overlay span {
    font-size: 16px;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* 视频区域 */
.video-section {
    padding: 80px 0;
    background: white;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* 联系表单 */
.contact {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF8C00;
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border: none;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: #555;
}

.contact-info .contact-item i {
    color: #FF8C00;
    font-size: 24px;
}

/* 视频弹窗 */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.video-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    width: 80%;
    max-width: 900px;
    border-radius: 16px;
    animation: slideUp 0.3s ease;
}

.video-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #999;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-modal-close:hover {
    color: #FF8C00;
    transform: rotate(90deg);
}

.video-modal-title {
    font-size: 24px;
    color: #FF8C00;
    margin-bottom: 20px;
    text-align: center;
}

.video-modal-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
}

.video-modal-player iframe,
.video-modal-player video {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* 响应式设计 */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
        height: 52px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* 平板端头像尺寸 */
    .about-img {
        width: 180px;
        height: 180px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 45px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .stat-number {
        font-size: 32px;
    }

    /* 移动端头像尺寸 */
    .about-img {
        width: 150px;
        height: 150px;
    }

    .about-name {
        font-size: 24px;
    }

    .about-title {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }

    .video-modal-content {
        width: 95%;
        padding: 20px;
    }
}
