.glide__slide h1,
.glide__slide p {
    opacity: 0;
    transform: translateY(150px);
    transition: opacity 3s ease, transform 3s ease;
}

.glide__slide.glide__slide--active h1,
.glide__slide.glide__slide--active p {
    opacity: 1;
    transform: translateY(0);
}

.hot-destination-card {
    transition: transform 0.9s ease, box-shadow 0.9s ease;
}

.hot-destination-card:hover {
    transform: translateY(0px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.theme-icon {
    transition: transform 0.3s ease;
}

.theme-icon:hover {
    transform: rotate(15deg);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.map-marker {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.map-marker {
    animation: bounce 2s infinite;
}

.contact-item {
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: scale(1.1);
}

}

.fa-chevron-down.rotate-180 {
    transform: rotate(180deg);
}

.glide__bullet--active {
    background-color: #3B82F6 !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-width: 320px;
    overflow-x: hidden;
}

.contact-fixed {
    position: fixed;
    right: 20px;
    top: 70%;
    transform: translateY(-50%);
    z-index: 40;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    position: relative;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-item:hover .contact-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.contact-info {
    position: absolute;
    right: 48px;
    background: white;
    padding: 8px 16px;
    border-radius: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.contact-info::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 6px solid white;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

nav.scrolled {
    background-color: #1f2937 !important;
    backdrop-filter: blur(4px);
}

#backToTop {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#backToTop.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1440px) {
    .max-w-7xl {
        justify-content: space-between
        max-width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }

}

@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .contact-fixed {
        /* display: none; */
    }

    nav .flex.items-center.space-x-8 {
        display: none;
    }

    nav .flex.justify-between {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .glide {
        height: 400px !important;
    }

    .text-5xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    .text-xl {
        font-size: 1rem !important;
    }

    .py-16 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .mb-12 {
        margin-bottom: 16px !important;
    }

    footer .grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .max-w-7xl {
        padding-left: 16px;
        padding-right: 16px;
    }

    footer .grid {
        grid-template-columns: 1fr !important;
    }

    nav {
        height: auto !important;
        padding: 12px 0;

    }

    nav .flex.flex-col.items-end {
        display: none;
    }

    #mobile-menu::-webkit-scrollbar {
        display: none;
    }

    #mobile-menu {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    nav .shouji {
        display: flex;
        justify-content: space-between !important;
        height: 2rem !important;
        align-items: center;
    }


    .grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .glide {
        height: 400px !important;
    }

    .text-5xl {
        font-size: 2rem !important;
    }

    .text-3xl {
        font-size: 1.5rem !important;
    }

    .text-xl {
        font-size: 1rem !important;
    }

    .py-16 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }

    .mb-12 {
        margin-bottom: 16px !important;
    }


    footer .grid {
        grid-template-columns: 1fr !important;
    }

    /* 调整固定联系按钮的样式 */
    .contact-fixed {
        right: 10px;
        /* 调整位置 */
        gap: 8px;
        /* 调整间距 */
    }

    .contact-item {
        width: 36px;
        /* 调整大小 */
        height: 36px;
    }

    .contact-info {
        right: 40px;
        /* 调整位置 */
        padding: 6px 12px;
        /* 调整内边距 */
    }
}


/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

/* Disable background scrolling */
body.modal-open {
    overflow: hidden;
}

.glide__bullet--active {
    background: white !important;
}

.hero-text-shadow {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 40%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
}

.hero {
    background-size: cover;
    background-position: center;
}

.hero-section {

    background-size: cover;
    background-position: center;

}

.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.values-icon {
    font-size: 2rem;
    color: #ff5d00;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.search_box {

    /* padding: 4px 10px; */

    border-radius: 30px;
}

.search-button {
    padding: 6px 10px;
    background-color: #ff5d00;
    border-radius: 0 20px 20px 0;
    font-size: 0.8rem;
}

.box-text {
    background-color: #fff;
    display: flex;
    align-items: center;
    border-radius: 20px 0 0 20px;
    padding: 0 16px 0 10px;
    color: #cccc;
    font-size: 0.7rem;
}

.text-sm {
    font-size: 0.8rem;
}

/* 自定义分页样式 */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a,
.pagination li span {
    display: block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination li.active span {
    background-color: #ec2900;
    color: #fff;
    border-color: #ec2900;
}

.pagination li a:hover {
    background-color: #f8f9fa;
}