/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
header {
    background-color: #1a202c;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #4299e1;
}

/* 语言切换按钮样式 - 参考提供的代码优化 */
.language-selector {
    display: flex;
    gap: 0.8px;
    align-items: center;
}

.language-selector button {
   display: flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border: none;
            border-radius: 1px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
            background-color: #1a202c;
            color:#ffffff;
}

.language-selector button.active {
    background-color: #4299e1;
    color: white;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(66, 153, 225, 0.3);
}

.language-selector button:hover:not(.active) {
      background-color: rgba(255, 255, 255, 0.18); 
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 3px;
    object-fit: cover;
}

/* 英雄区样式 */
.hero {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
     background-image: url("https://mediaim.expedia.com/destination/1/9687dc1f470ac6ffa39078c4974c6cc4.jpg");
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-primary {
    background-color: #4299e1;
    color: white;
}

.btn-secondary {
    background-color: transparent;
     background-color: #4299e1;
    color: white;
    border: 1px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* section 通用样式 */
.section {
    padding: 8rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    color: #1a202c;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: #666;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 关于我们样式 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-text {
    gap: 1rem;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.value-card {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 服务样式 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: #1a202c;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-list {
    list-style-position: inside;
    margin-bottom: 1rem;
    color: #666;
}

/* 优势样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.advantage-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.advantage-card h3 {
    color: #1a202c;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.advantage-card h3::before {
    content: "✓";
    color: #48bb78;
    font-weight: bold;
}

/* 案例样式 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.case-card h3 {
    color: #1a202c;
    margin-bottom: 0.8rem;
}

.case-card p {
    color: #666;
    margin-bottom: 1rem;
}

.case-meta {
    color: #888;
    font-size: 0.9rem;
}

/* 合伙人招募广告样式 */
.partner-recruitment-banner {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 50%, #dd6b20 100%);
    color: white;
    padding: 3rem 0;
    margin: 2rem 0;
    box-shadow: 0 8px 16px rgba(237, 137, 54, 0.3);
}

.partner-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

.partner-text h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: bold;
}

.partner-text > p:nth-of-type(1) {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.partner-text > p:nth-of-type(2) {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    opacity: 0.95;
}

.partner-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

.benefit-icon {
    font-size: 1.5rem;
}

.partner-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
}

.partner-contact-info {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-item i {
    color: #4299e1;
    margin-top: 0.3rem;
}

.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* 页脚样式 */
footer {
    background-color: #1a202c;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #4299e1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #4299e1;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #aaa;
    font-size: 0.9rem;
}

.footer-policies {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .services-grid,
    .cases-grid,
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-content,
    .advantages-grid,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .services-grid,
    .cases-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .partner-content {
        grid-template-columns: 1fr;
    }

    .partner-text h2 {
        font-size: 1.8rem;
    }

    .partner-benefits {
        grid-template-columns: 1fr;
    }

    /* 移动端语言切换按钮调整 */
    .language-selector {
        gap: 0.5rem;
    }

    .language-selector button {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .flag-icon {
        width: 18px;
        height: 18px;
    }
}