/* 
* TRVLFT CO. Website Styles
* Author: TRVLFT CO.
* Version: 1.0
*/

/* 基础重置和常用样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a73e8;
    --secondary-color: #4285f4;
    --accent-color: #34a853;
    --dark-color: #202124;
    --light-color: #f8f9fa;
    --gray-color: #70757a;
    --border-color: #dadce0;
    --error-color: #ea4335;
    --success-color: #34a853;
    --font-main: 'Segoe UI', Roboto, Arial, sans-serif;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #ffffff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-center {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

.text-center {
    text-align: center;
}

/* 导航栏 */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: var(--transition);
}

/* 主页样式 */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    padding: 150px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-content .btn {
    margin: 0 10px;
}

.services-overview {
    background-color: var(--light-color);
}

.services-overview h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.about-preview {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.contact-preview {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

.contact-preview h2 {
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.contact-item {
    margin: 0 20px;
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-item a {
    color: #fff;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 页面标题 */
.page-header {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
}

/* 关于页面样式 */
.about-section {
    padding: 80px 0;
}

.mission-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mission-item {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mission-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 80px 0;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-role {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.industry-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.industry-content {
    max-width: 800px;
    margin: 0 auto;
}

.industry-list {
    margin: 20px 0;
}

.industry-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.industry-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 服务页面样式 */
.services-intro {
    text-align: center;
}

.services-intro-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-services {
    padding: 50px 0;
}

.service-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    padding: 40px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.service-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.service-features {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.service-features li {
    display: flex;
    align-items: center;
}

.service-features i {
    color: var(--primary-color);
    margin-right: 10px;
}

.expertise-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.expertise-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.expertise-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.expertise-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 20px;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-card:hover .expertise-image img {
    transform: scale(1.05);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primary-color);
}

.expertise-card ul li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.expertise-card ul li:last-child {
    border-bottom: none;
}

.process-section {
    padding: 80px 0;
}

.process-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    max-width: 800px;
    margin: 0 auto;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
}

.cta-section {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.cta-section .btn {
    background-color: #fff;
    color: var(--primary-color);
    margin-top: 20px;
}

.cta-section .btn:hover {
    background-color: var(--light-color);
}

/* 联系页面样式 */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card, .contact-form-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    margin-right: 20px;
}

.contact-text a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form-card h2 {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-main);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.btn-submit {
    width: 100%;
}

.map-section {
    padding: 40px 0 80px;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faq-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-contact a,
.footer-links a {
    color: #fff;
    opacity: 0.8;
}

.footer-contact a:hover,
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-contact h4,
.footer-links h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    margin-top: 5px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: -1;
    }
    
    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-icon {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .nav-links {
        position: absolute;
        right: 0;
        height: 92vh;
        top: 8vh;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links li {
        opacity: 0;
        margin: 20px 0;
    }
    
    .burger {
        display: block;
    }
    
    .nav-active {
        transform: translateX(0%);
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-info {
        flex-direction: column;
    }
    
    .contact-item {
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    .hero-content .btn {
        display: block;
        width: 80%;
        margin: 10px auto;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

/* 动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
} 