.i-top-item {
    margin-right: 20px;
    color: #ebebeb;
    cursor: pointer;
}
.nav {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.float-nav{
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    background-color: white;
    box-shadow: 0 5px 8px 1px rgba(135, 135, 135, 0.12);
    animation: bounce 0.5s;
    padding: 15px 10px;
}

.float-nav .nav-btn{
    color: #4c4c4c;
}
.float-nav .nav-btn-active{
    color: var(--bs-primary);
    font-weight: 600;
}

.i-logo-title {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
    color: var(--bs-primary);
    font-weight: 700;
    transition: transform 0.2s;
}

.i-logo-title:hover {
    transform: scale(1.02);
}

.i-logo-title>img {
    height: 70px;
    margin-right: 12px;
    transition: transform 0.3s;
}

.i-logo-title>img:hover {
    transform: rotate(-5deg);
}

.i-logo-title>div {
    font-size: 1.4rem;
    letter-spacing: 1px;
}
.nav-btn {
    position: relative;
    border: none;
    background: transparent;
    padding: 0.75rem 0;
    font-size: 1.3rem;
    font-weight: 500;
    transition: all 0.3s ease;
    color: var(--bs-white);
}
.nav-btn-active {
    color: var(--bs-primary);
    font-weight: 600;
}
.nav-root {
    display: flex;
    gap: 20px;
}
.nav-btn:hover{
    color: var(--bs-primary);
}

.nav-btn::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bs-primary);
    transition: width 0.3s;
}

.nav-btn:hover::after,
.nav-btn-active::after {
    width: 100%;
}
.mobile-nav {
    position: relative;
    width: 100%;
}

.mobile-nav>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0 0 12px 12px;
}

.mobile-nav-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    text-align: left;
    transition: all 0.2s;
}

.mobile-nav-btn:hover {
    background: rgba(var(--bs-primary), 0.08);
    padding-left: 2rem;
}

.mobile-nav-btn:active {
    background: rgba(var(--bs-primary), 0.15);
}
.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 关键属性：保持比例并填?*/
    object-position: center;
    /* 居中裁剪 */
}

.i-background {
    background-color: rgba(0, 0, 0, 0.35);
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.i-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.i-description {
    color: white;
    font-size:18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-transform: uppercase;
}



.book-btn {
    background-color: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 30px;
    border: solid 2px white;
    color: white;
    cursor: pointer;
    font-size: 20px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.book-btn:hover {
    background-color: var(--bs-primary);
    border: solid 2px var(--bs-primary);
}

.book-btn:active {
    opacity: 0.8;
}

.custom-dots {
    display: flex;
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: 20px;
    right: 20px;
}

.custom-dots li {
    display: inline-block;
    width: 30px;
    height: 6px;
    margin: 0 3px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    transition:
            width 0.3s,
            background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.custom-dots li.is-active {
    width: 40px;
    background: #fff;
}
.i-up {
    position: fixed;
    right: 10%;
    bottom: 10%;
    z-index: 9999;
}