/* /skin/css/css.css */
/* 腾龙游戏设计有限公司 - 主样式文件 */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 通用样式类 */
.tl-bg-blue {
    background-color: #1a4d8f;
    color: #fff;
}

.tl-bg-green {
    background-color: #2a8c4a;
    color: #fff;
}

.tl-bg-orange {
    background-color: #e67e22;
    color: #fff;
}

.tl-bg-dark {
    background-color: #2c3e50;
    color: #fff;
}

.tl-text-orange {
    color: #e67e22;
}

/* 按钮样式 */
.tl-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.tl-btn-call {
    background-color: #e67e22;
    color: white;
}

.tl-btn-call:hover {
    background-color: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

.tl-btn-register {
    background-color: #3498db;
    color: white;
}

.tl-btn-register:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.tl-btn-outline {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.tl-btn-outline:hover {
    background-color: #fff;
    color: #333;
}

.tl-btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
}

/* 头部导航 */
.tl-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(26, 77, 143, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.tl-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.tl-logo img {
    height: 80px;
    width: auto;
}

.tl-nav-menu {
    display: flex;
    list-style: none;
}

.tl-nav-menu li {
    margin-left: 30px;
}

.tl-nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.tl-nav-link:hover {
    color: #e67e22;
}

.tl-nav-link.active {
    color: #e67e22;
}

.tl-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #e67e22;
}

.tl-phone-btn {
    background-color: #e67e22;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.tl-phone-btn:hover {
    background-color: #d35400;
}

.tl-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.tl-nav-toggle-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    position: relative;
    transition: background-color 0.3s ease;
}

.tl-nav-toggle-icon::before,
.tl-nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    left: 0;
    transition: transform 0.3s ease;
}

.tl-nav-toggle-icon::before {
    top: -8px;
}

.tl-nav-toggle-icon::after {
    bottom: -8px;
}

/* 英雄区域 */
.tl-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tl-hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tl-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.tl-hero-slide.active {
    opacity: 1;
}

.tl-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.tl-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

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

.tl-hero-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
}

.tl-hero-desc {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.tl-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tl-hero-slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    transform: translateY(-50%);
}

.tl-slider-prev,
.tl-slider-next {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tl-slider-prev:hover,
.tl-slider-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.tl-hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.tl-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tl-slider-dot.active {
    background-color: #e67e22;
}

/* 通用区块样式 */
.tl-section {
    padding: 80px 0;
}

.tl-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tl-section-title {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: 700;
}

.tl-section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* 服务总览 */
.tl-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tl-service-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tl-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.tl-service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.tl-service-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.tl-service-desc {
    color: #666;
    line-height: 1.6;
}

/* 双栏布局 */
.tl-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.tl-column-content .tl-section-title {
    text-align: left;
}

.tl-column-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tl-reverse {
    direction: rtl;
}

.tl-reverse .tl-column-content {
    direction: ltr;
}

/* 服务特色 */
.tl-service-features {
    margin: 25px 0;
}

.tl-feature {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.tl-feature i {
    margin-right: 10px;
    font-size: 18px;
}

/* 服务列表 */
.tl-service-list {
    margin: 25px 0;
}

.tl-service-item {
    margin-bottom: 20px;
}

.tl-service-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* 设计特色 */
.tl-design-features {
    margin: 25px 0;
}

.tl-design-feature {
    margin-bottom: 20px;
}

.tl-design-feature h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* 测试流程 */
.tl-testing-process {
    margin: 25px 0;
}

.tl-process-step {
    display: flex;
    margin-bottom: 25px;
}

.tl-step-number {
    width: 40px;
    height: 40px;
    background-color: #e67e22;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.tl-step-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* 图片网格 */
.tl-screenshots,
.tl-artworks,
.tl-testing-images {
    margin-top: 60px;
}

.tl-screenshots-title,
.tl-artworks-title,
.tl-testing-title {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

.tl-screenshot-grid,
.tl-artwork-grid,
.tl-testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.tl-screenshot-grid img,
.tl-artwork-grid img,
.tl-testing-grid img {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.tl-screenshot-grid img:hover,
.tl-artwork-grid img:hover,
.tl-testing-grid img:hover {
    transform: scale(1.05);
}

/* 合作流程 */
.tl-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tl-process-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tl-process-card:hover {
    transform: translateY(-10px);
}

.tl-process-number {
    font-size: 40px;
    font-weight: 700;
    color: #e67e22;
    margin-bottom: 15px;
}

.tl-process-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.tl-process-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.tl-process-list {
    list-style-type: none;
}

.tl-process-list li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.tl-process-list li::before {
    content: '•';
    color: #e67e22;
    font-size: 20px;
    position: absolute;
    left: 0;
}

/* 优势说明 */
.tl-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tl-advantage-card {
    text-align: center;
    padding: 30px 20px;
}

.tl-advantage-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.tl-advantage-title {
    font-size: 22px;
    margin-bottom: 15px;
}

.tl-advantage-desc {
    line-height: 1.6;
    opacity: 0.9;
}

/* 项目展示 */
.tl-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tl-project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.tl-project-card:hover {
    transform: translateY(-10px);
}

.tl-project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tl-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tl-project-card:hover .tl-project-image img {
    transform: scale(1.1);
}

.tl-project-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(230, 126, 34, 0.9);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.tl-project-content {
    padding: 25px;
    background-color: white;
}

.tl-project-title {
    font-size: 22px;
    margin-bottom: 10px;
}

.tl-project-desc {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tl-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tl-project-tag {
    background-color: #f1f8ff;
    color: #1a4d8f;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
}

/* 页脚 */
.tl-footer {
    background-color: #1a2c42;
    color: #fff;
    padding: 70px 0 20px;
}

.tl-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.tl-footer-logo img {
    height: 100px;
    width: auto;
    margin-bottom: 20px;
}

.tl-footer-desc {
    margin-bottom: 20px;
    opacity: 0.8;
    line-height: 1.6;
}

.tl-social-links {
    display: flex;
    gap: 15px;
}

.tl-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tl-social-links a:hover {
    background-color: #e67e22;
}

.tl-footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.tl-footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e67e22;
}

.tl-footer-links {
    list-style: none;
}

.tl-footer-links li {
    margin-bottom: 10px;
}

.tl-footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tl-footer-links a:hover {
    color: #e67e22;
    padding-left: 5px;
}

.tl-footer-contact {
    list-style: none;
}

.tl-footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tl-footer-contact i {
    width: 20px;
    margin-right: 10px;
    color: #e67e22;
}

.tl-footer-contact a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tl-footer-contact a:hover {
    color: #e67e22;
}

.tl-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tl-copyright {
    opacity: 0.7;
}

.tl-registration a {
    color: #e67e22;
    text-decoration: none;
}

.tl-registration a:hover {
    text-decoration: underline;
}

/* 回到顶部按钮 */
.tl-back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e67e22;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

.tl-back-to-top:hover {
    background-color: #d35400;
}

/* 懒加载图片样式 */
.tl-lazy-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.tl-lazy-image.loaded {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .tl-hero-title {
        font-size: 40px;
    }
    
    .tl-two-column {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .tl-column-image {
        order: -1;
    }
    
    .tl-reverse .tl-column-image {
        order: 1;
    }
    
    .tl-section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .tl-nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #1a4d8f;
        flex-direction: column;
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .tl-nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .tl-nav-menu li {
        margin: 0 0 15px 0;
    }
    
    .tl-nav-toggle {
        display: block;
    }
    
    .tl-nav-toggle.active .tl-nav-toggle-icon {
        background-color: transparent;
    }
    
    .tl-nav-toggle.active .tl-nav-toggle-icon::before {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .tl-nav-toggle.active .tl-nav-toggle-icon::after {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .tl-phone-btn {
        display: none;
    }
    
    .tl-hero-title {
        font-size: 32px;
    }
    
    .tl-hero-subtitle {
        font-size: 18px;
    }
    
    .tl-hero {
        min-height: 600px;
    }
    
    .tl-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tl-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .tl-section {
        padding: 60px 0;
    }
    
    .tl-section-title {
        font-size: 28px;
    }
    
    .tl-process-grid,
    .tl-advantages-grid,
    .tl-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tl-footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tl-hero-title {
        font-size: 28px;
    }
    
    .tl-hero-subtitle {
        font-size: 16px;
    }
    
    .tl-section-title {
        font-size: 24px;
    }
    
    .tl-services-grid {
        grid-template-columns: 1fr;
    }
}