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

body {
    font-family: 'Inter', sans-serif;
    background-color: #F7FAFC;
    color: #1A202C;
    overflow-x: hidden;
}

/* 自定义工具类 */
.content-auto {
    content-visibility: auto;
}

.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.bg-blur {
    backdrop-filter: blur(8px);
}

.scrollbar-hide {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* 导航栏样式 */
nav#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: all 0.3s ease;
}

nav#navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

nav#navbar a.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav#navbar a.logo i {
    font-size: 24px;
    color: #1E88E5;
}

nav#navbar a.logo span {
    font-size: 20px;
    font-weight: bold;
    color: #1E88E5;
}

nav#navbar .desktop-nav {
    display: none;
}

nav#navbar .desktop-nav a {
    margin: 0 16px;
    color: #1A202C;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav#navbar .desktop-nav a:hover {
    color: #1E88E5;
}

nav#navbar #menuBtn {
    background: none;
    border: none;
    font-size: 20px;
    color: #1A202C;
    cursor: pointer;
    outline: none;
}

nav#navbar #mobileMenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

nav#navbar #mobileMenu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

nav#navbar #mobileMenu a {
    display: block;
    padding: 12px 16px;
    color: #1A202C;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav#navbar #mobileMenu a:hover {
    color: #1E88E5;
}

/* 英雄区域样式 */
section#home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

section#home .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('https://picsum.photos/id/1015/1920/1080');
}

section#home .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 32, 44, 0.5);
}

section#home .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

section#home h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    color: white;
    margin-bottom: 16px;
    line-height: 1.2;
}

section#home h1 span {
    color: #FF9800;
}

section#home p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: white;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section#home .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    section#home .cta-buttons {
        flex-direction: row;
    }
}

section#home .cta-buttons a {
    padding: 12px 32px;
    font-weight: 500;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

section#home .cta-buttons a.primary {
    background-color: #1E88E5;
    color: white;
}

section#home .cta-buttons a.primary:hover {
    background-color: rgba(30, 136, 229, 0.9);
    transform: scale(1.05);
}

section#home .cta-buttons a.secondary {
    background-color: white;
    color: #1E88E5;
}

section#home .cta-buttons a.secondary:hover {
    background-color: #f7fafc;
    transform: scale(1.05);
}

section#home .scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

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

.section-title {
    text-align: center;
    margin-bottom: 64px;
}

.section-title h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: bold;
    color: #1A202C;
    margin-bottom: 16px;
}

.section-title p {
    color: #4A5568;
    max-width: 800px;
    margin: 0 auto;
}

/* 服务特色区域样式 */
section#services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: #F7FAFC;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #1E88E5;
    font-size: 24px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1A202C;
}

.service-card p {
    color: #4A5568;
    line-height: 1.6;
}

/* 热门航线区域样式 */
section#destinations {
    background-color: #F7FAFC;
}

.destinations-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.destination-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.destination-card:hover {
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.destination-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

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

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

.destination-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: #1E88E5;
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 9999px;
}

.destination-badge.family {
    background-color: #FF9800;
}

.destination-badge.nature {
    background-color: #4CAF50;
}

.destination-info {
    padding: 24px;
}

.destination-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1A202C;
}

.destination-meta {
    display: flex;
    align-items: center;
    color: #718096;
    margin-bottom: 16px;
    font-size: 14px;
}

.destination-meta i {
    margin-right: 8px;
}

.destination-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.destination-price {
    font-size: 20px;
    font-weight: bold;
    color: #1E88E5;
}

.destination-details {
    background-color: #1E88E5;
    color: white;
    padding: 8px 16px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.destination-details:hover {
    background-color: rgba(30, 136, 229, 0.9);
}

.view-all-link {
    text-align: center;
    margin-top: 48px;
}

.view-all-link a {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid #1E88E5;
    color: #1E88E5;
    padding: 12px 24px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all-link a:hover {
    background-color: #1E88E5;
    color: white;
}

.view-all-link a i {
    margin-left: 8px;
}

/* 品牌优势区域样式 */
section#brand-advantages {
    background-color: #1E88E5;
    color: white;
}

section#brand-advantages .section-title h2 {
    color: white;
}

section#brand-advantages .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 640px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .advantages-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.advantage-item {
    padding: 24px;
}

.advantage-number {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 8px;
}

.advantage-text {
    opacity: 0.9;
}

/* 客户评价区域样式 */
section#testimonials {
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: #F7FAFC;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-rating {
    color: #FFC107;
    margin-bottom: 16px;
}

.testimonial-rating i {
    margin-right: 4px;
}

.testimonial-text {
    color: #4A5568;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 16px;
}

.testimonial-author h4 {
    font-weight: 600;
    color: #1A202C;
}

.testimonial-author p {
    font-size: 14px;
    color: #718096;
}

/* 常见问题区域样式 */
section#faq {
    background-color: #F7FAFC;
}

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

.faq-item {
    margin-bottom: 16px;
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: left;
    font-weight: 500;
    color: #1A202C;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-btn:hover {
    background-color: #F7FAFC;
}

.faq-btn i {
    color: #1E88E5;
    transition: transform 0.3s ease;
}

.faq-btn.active i {
    transform: rotate(180deg);
}

.faq-content {
    background-color: white;
    padding: 16px;
    transition: all 0.3s ease;
}

.faq-content.hidden {
    display: none;
}

.faq-content p {
    color: #4A5568;
    line-height: 1.6;
}

/* 联系我们区域样式 */
section#contact {
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

.contact-info h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: bold;
    color: #1A202C;
    margin-bottom: 24px;
}

.contact-info p {
    color: #4A5568;
    margin-bottom: 32px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E88E5;
    margin-right: 16px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 4px;
}

.contact-text p {
    color: #4A5568;
    margin-bottom: 0;
}

.contact-social {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(30, 136, 229, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E88E5;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.contact-social a:hover {
    background-color: rgba(30, 136, 229, 0.2);
}

.contact-form {
    background-color: #F7FAFC;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1A202C;
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #4A5568;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #CBD5E0;
    border-radius: 8px;
    font-size: 16px;
    color: #1A202C;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1E88E5;
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background-color: #1E88E5;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: rgba(30, 136, 229, 0.9);
}

/* 底部区域样式 */
footer {
    background-color: #1A202C;
    color: white;
    padding: 48px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.footer-logo i {
    font-size: 24px;
    color: #1E88E5;
}

.footer-logo span {
    font-size: 20px;
    font-weight: bold;
}

.footer-about {
    color: #A0AEC0;
    margin-bottom: 24px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #1E88E5;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

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

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1E88E5;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #A0AEC0;
}

.footer-contact i {
    color: #1E88E5;
    margin-right: 12px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 32px;
    text-align: center;
    color: #A0AEC0;
}

/* 回到顶部按钮样式 */
#backToTop {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background-color: #1E88E5;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(80px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 40;
}

#backToTop.show {
    transform: translateY(0);
    opacity: 1;
}

#backToTop:hover {
    background-color: rgba(30, 136, 229, 0.9);
}

/* 响应式断点 */
@media (max-width: 1023px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 767px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        margin-bottom: 40px;
    }
}

@media (max-width: 479px) {
    .section {
        padding: 40px 0;
    }
    
    section#home h1 {
        font-size: 2.5rem;
    }
    
    section#home p {
        font-size: 1rem;
    }
}