﻿:root {
    /* Professional Aviation Colors */
    --primary-blue: #0056b3;
    --secondary-blue: #0071ce;
    --dark-blue: #003d82;
    --light-blue: #e6f2ff;
    --bg: #f8f9fa;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 86, 179, 0.08);
    --shadow-hover: 0 4px 16px rgba(0, 86, 179, 0.15);
    --nav-height: 80px;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    margin: 0;
    font-family: 'Montserrat', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--nav-height);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
    line-height: 1.3;
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-area:hover {
    color: var(--dark-blue);
}

.logo-placeholder {
    height: 50px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-area:hover .logo-placeholder {
    transform: scale(1.05);
}

.logo-placeholder img {
    height: 100%;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: 12px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-contact-btn {
    margin-left: 12px;
    padding: 10px 20px !important;
    border-radius: 6px;
    background: var(--primary-blue);
    color: #ffffff !important;
    font-weight: 600;
}

.nav-contact-btn:hover {
    background: var(--dark-blue);
    color: #ffffff !important;
}

.nav-contact-btn.active {
    background: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Language Switch */
.lang-switch {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: 16px;
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.lang-switch a {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);  /* 修改为深色文本 */
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.lang-switch a:hover {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.lang-switch a.active {
    background: var(--primary-blue);
    color: #ffffff;  /* 激活状态为白色文字，蓝色背景 */
    font-weight: 600;
}

/* Language-specific typography adjustments */
html[lang="en"] .company-name-short {
    font-size: 0.85em;
}

html[lang="ja"] .company-name-short {
    font-size: 0.9em;
    letter-spacing: 0.02em;
}

/* Responsive language adjustments */
@media (max-width: 1024px) {
    .lang-switch {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 12px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .lang-switch {
        margin-left: 0;
        margin-top: 8px;
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }
    
    .lang-switch a {
        padding: 8px 14px;
        font-size: 14px;
    }
    
    html[lang="en"] .company-name-short,
    html[lang="ja"] .company-name-short {
        font-size: 0.9em;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 61, 130, 0.85), rgba(0, 113, 206, 0.75));
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
}

.slide-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    width: fit-content;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.slide-actions {
    display: flex;
    gap: 16px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #ffffff;
    color: var(--primary-blue);
}

.btn-primary:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
}

.slider-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.slider-nav button:hover {
    background: rgba(0, 0, 0, 0.5);
    border-color: #ffffff;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ffffff;
    width: 32px;
    border-radius: 6px;
}

/* Quick Stats */
.quick-stats {
    background: var(--bg-secondary);
    padding: 40px 0;
    box-shadow: var(--shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Section Common Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../pic/bg1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.feature-text {
    color: var(--text-secondary);
    font-weight: 500;
}

.about-image {
    display: none;
}

/* Services Section */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-blue);
}

.service-card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, #ffffff, var(--light-blue));
}

.service-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.service-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--dark-blue);
}

/* Capability Section */
.capability-section {
    background: var(--bg-secondary);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.capability-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.capability-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-blue);
}

.capability-content p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 8px;
}

.aircraft-type {
    margin-bottom: 16px;
}

.aircraft-type strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.type-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin: 4px 4px 0 0;
}

.highlight {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Network Section */
.network-section {
    background: var(--bg);
}

.map-container {
    margin-bottom: 40px;
}

.map {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 600px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    overflow: visible;
    box-shadow: var(--shadow);
}

.map::before {
    display: none;
}

.map-canvas {
    display: none;
}

.marker {
    position: absolute;
    width: 10px; 
    height: 10px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 0 6px rgba(0, 86, 179, 0.2);
    transform: translate(-50%, -50%);
    cursor: pointer;
    animation: pulse 2s infinite;
    z-index: 10;
}

@keyframes pulse {
    0%, 100% { 
        box-shadow: 0 0 0 6px rgba(0, 86, 179, 0.2);
    }
    50% { 
        box-shadow: 0 0 0 10px rgba(0, 86, 179, 0.3);
    }
}

.marker::after {
    content: attr(data-name);
    white-space: nowrap;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--text-primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
    z-index: 20;
    box-shadow: var(--shadow);
}

.marker:hover::after { 
    opacity: 1; 
}

.network-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.network-region h4 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.airport-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.airport-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.airport-tag:hover {
    background: var(--light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.airport-tag.overseas {
    background: var(--light-blue);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 600;
}

.airport-tag.preparing {
    background: #fff3cd;
    border-color: #ffc107;
    color: #856404;
    font-weight: 600;
    position: relative;
}

.airport-tag.preparing small {
    font-size: 11px;
    font-weight: 500;
    opacity: 0.85;
    margin-left: 4px;
}

/* News Section */
.news-section {
    background: var(--bg-secondary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.news-card {
    background: var(--bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.news-category {
    padding: 4px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.news-date {
    font-size: 13px;
    color: var(--text-muted);
}

.news-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.news-link:hover {
    color: var(--dark-blue);
}

/* Clients Section */
.clients-section {
    background: var(--bg);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.client-card {
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.client-card:hover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.contact-card {
    background: var(--bg);
    padding: 32px;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.contact-card.urgent {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, #ffffff, var(--light-blue));
}

.contact-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.contact-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-info .phone {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 12px 0;
}

.text-muted {
    color: var(--text-muted);
    font-size: 14px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
}

.footer-links {
    margin-top: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 8px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--dark-blue);
    transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-menu { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: var(--nav-height); 
        left: 0; 
        right: 0; 
        background: var(--bg-secondary);
        padding: 20px; 
        gap: 8px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    .nav-menu.active { 
        display: flex; 
    }
    .mobile-menu-toggle { 
        display: flex; 
    }
    .lang-switch { 
        border-left: none; 
        margin-left: 0; 
        margin-top: 12px; 
    }
    .about-content {
        grid-template-columns: 1fr;
    }
    .slide-content h1 {
        font-size: 36px;
    }
    .slide-content p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }
    .hero-slider {
        height: 500px;
    }
    .slide-content h1 {
        font-size: 28px;
    }
    .slide-content p {
        font-size: 14px;
    }
    .network-list,
    .about-features {
        grid-template-columns: 1fr;
    }
    /* Hide company name text on mobile, keep only logo */
    .logo-area {
        font-size: 0;
        gap: 0;
    }
    .logo-placeholder {
        height: 45px;
    }
    /* About section responsive */
    .about-text p {
        font-size: 15px;
    }
    .about-content {
        padding: 0 16px;
    }
}
