/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e74c3c;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e74c3c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-language {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.lang-btn.active,
.lang-btn:hover {
    background: #e74c3c;
    color: white;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?w=1920') center/cover;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background: #e74c3c;
    color: white;
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #e74c3c;
    border-radius: 2px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.8;
}

.advantages {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.advantage-item i {
    font-size: 1.5rem;
    color: #e74c3c;
    margin-top: 5px;
}

.advantage-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.advantage-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Routes Section */
.routes {
    padding: 100px 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid #e74c3c;
    background: transparent;
    color: #e74c3c;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #e74c3c;
    color: white;
}

.routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.route-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.route-image {
    height: 250px;
    overflow: hidden;
}

.route-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.route-card:hover .route-image img {
    transform: scale(1.1);
}

.route-content {
    padding: 25px;
}

.route-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.route-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.route-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.route-details span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
}

.reviews-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: none;
}

.review-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars i {
    color: #f39c12;
    font-size: 1.2rem;
    margin: 0 2px;
}

.review-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.review-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
}

.review-author h4 {
    color: #333;
    margin-bottom: 5px;
}

.review-author span {
    color: #666;
    font-size: 0.9rem;
}

.reviews-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.review-nav-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.review-nav-btn.active {
    background: #e74c3c;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    height: 100%;
    min-height: 340px;
    padding-top: 18px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 38px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    font-size: 2rem;
    color: #e74c3c;
    width: 50px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.contact-info .social-links {
    margin-top: 80px;
    gap: 32px;
}

.social-links {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
}

.social-link {
    width: 55px;
    height: 55px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.social-link:hover {
    background: #c0392b;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 32px 24px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 340px;
    width: 100%;
    height: fit-content;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    color: #e74c3c;
    background: white;
    padding: 0 5px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-logo i {
    margin-right: 10px;
    font-size: 2rem;
    color: #e74c3c;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: #e74c3c;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e74c3c;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: none;
}

/* Tour Routes Modal */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #fff;
    padding: 30px 20px;
    max-width: 600px;
    width: 90vw;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.modal-content #closeModal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

.modal-content #closeModal:hover {
    color: #e74c3c;
}

.modal-content #routeDetailText {
    line-height: 1.8;
    color: #333;
    font-size: 1rem;
}

.modal-content #routeDetailText b {
    color: #e74c3c;
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 18px 30px;
        font-size: 1.1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .advantage-item {
        gap: 12px;
    }

    .advantage-item h4 {
        font-size: 1rem;
    }

    .advantage-item p {
        font-size: 0.85rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery-item img {
        height: 250px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px;
        gap: 24px;
    }

    .contact-form {
        max-width: 100%;
        padding: 24px 10px;
    }

    .contact-item {
        gap: 12px;
        margin-bottom: 20px;
    }

    .contact-item i {
        font-size: 1.5rem;
        width: 40px;
    }

    .contact-item h4 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.95rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .routes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .route-card {
        margin: 0;
    }

    .route-content h3 {
        font-size: 1.3rem;
    }

    .route-content p {
        font-size: 0.95rem;
    }

    .route-details {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 30px 25px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .service-card p {
        font-size: 0.95rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .footer-logo i {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
        height: 60px;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-logo i {
        font-size: 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .about {
        padding: 60px 0;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .advantage-item {
        gap: 10px;
    }

    .advantage-item i {
        font-size: 1.2rem;
    }

    .advantage-item h4 {
        font-size: 0.95rem;
    }

    .advantage-item p {
        font-size: 0.8rem;
    }

    .gallery-item img {
        height: 200px;
    }

    .route-card {
        margin: 0 5px;
    }

    .route-content {
        padding: 20px 15px;
    }

    .route-content h3 {
        font-size: 1.2rem;
    }

    .route-content p {
        font-size: 0.9rem;
    }

    .service-card {
        padding: 25px 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 15px 12px;
        font-size: 0.95rem;
    }

    .btn {
        padding: 15px 25px;
        font-size: 1rem;
    }

    .review-card {
        padding: 25px 15px;
    }

    .review-text {
        font-size: 0.95rem;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-logo i {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        right: 10px;
        font-size: 1.1rem;
    }

    .modal-content {
        padding: 15px 10px;
        width: 98vw;
        max-height: 90vh;
    }

    .modal-content #closeModal {
        top: 5px;
        right: 10px;
        font-size: 1.3rem;
    }

    .modal-content #routeDetailText {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .route-content h3 {
        font-size: 1.1rem;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .contact-form {
        padding: 20px 10px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-logo {
        font-size: 1.3rem;
    }

    .footer-logo i {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        width: 45px;
        height: 45px;
        right: 10px;
        font-size: 1.1rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .route-card:hover {
        transform: none;
    }

    .service-card:hover {
        transform: none;
    }

    .social-link:hover {
        transform: none;
    }

    .whatsapp-float:hover {
        transform: none;
    }

    .nav-link:hover::after {
        width: 0;
    }

    .nav-link:hover {
        color: #333;
    }

    .lang-btn:hover {
        background: none;
        color: #e74c3c;
    }

    .lang-btn.active:hover {
        background: #e74c3c;
        color: white;
    }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .about {
        padding: 40px 0;
    }

    .contact {
        padding: 40px 0;
    }
}

.whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
}

.modal-content {
    padding: 20px 15px;
    width: 95vw;
    max-height: 85vh;
}

.modal-content #closeModal {
    top: 5px;
    right: 15px;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 0 10px;
        gap: 24px;
    }
    .contact-info {
        min-height: unset;
        height: auto;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .social-links {
        margin-top: 28px;
    }
} 