/* ===============================
   页面容器
   =============================== */
   .yacht-charter-page {
    padding: 50px 20px;
    max-width: 1140px;  /* 页面最大宽度 */
    margin: 0 auto;
    text-align: center;
    font-family: sans-serif;
    color: #333;
}

/* ===============================
   Banner 区
   =============================== */
.yacht-charter-banner {
    position: relative;
    margin-bottom: 50px;
}
.yacht-charter-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.yacht-charter-banner .banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    text-align: center;
}
.yacht-charter-banner .banner-text h1 {
    font-size: 48px;
    margin-bottom: 15px;
}
.yacht-charter-banner .banner-text p {
    font-size: 20px;
    margin-bottom: 25px;
}
.banner-cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: #E64A19;
    color: #fff;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
}
.banner-cta-btn:hover {
    background-color: #bf3b14;
    transform: translateY(-2px);
}

/* ===============================
   Intro 区块
   =============================== */
.intro {
    max-width: 1140px;
    margin: 0 auto 60px;
    padding: 0 20px;
}
.intro-item {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    gap: 30px;
}
.intro-item.reverse {
    flex-direction: row-reverse;
}
.intro-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
}
.intro-text h2 {
    font-size: 28px;
    color: #E64A19;
    margin-bottom: 20px;
}
.intro-image {
    flex: 1;
}
.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ===============================
   Features / 特色
   =============================== */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}
.features .feature {
    width: 280px;
    text-align: center;
}
.features .feature img {
    width: 100px;
    margin-bottom: 15px;
}
.features .feature h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #E64A19;
}
.features .feature p {
    font-size: 16px;
    line-height: 1.5;
}

/* ===============================
   Popular Destinations / 热门目的地
   =============================== */
.popular-destinations {
    max-width: 1140px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
}
.popular-destinations h2 {
    font-size: 32px;
    color: #E64A19;
    margin-bottom: 40px;
}
.destinations-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}
/* 第一排一大两小，第二排两小一大 */
.destinations-row.first-row .destination.large { flex: 2; }
.destinations-row.first-row .destination.small { flex: 1; }
.destinations-row.second-row .destination.large { flex: 2; }
.destinations-row.second-row .destination.small { flex: 1; }
/* 每个 destination 统一样式 */
.destination {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}
.destination img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}
.destination-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #fff;
    text-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.destination-info .tag {
    display: inline-block;
    background-color: #E64A19;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 5px;
}
.destination-info h3 { margin: 0; font-size: 20px; }
.destination-info p { margin: 2px 0 0; font-size: 14px; }

/* ===============================
   Testimonial / 专业船员
   =============================== */
.testimonial-section {
    max-width: 1140px;
    margin: 60px auto;
    text-align: center;
    padding: 0 20px;
}
.testimonial-section h2 {
    font-size: 32px;
    color: #E64A19;
    margin-bottom: 40px;
}
/* 滑块容器：单行显示4个卡片 */
.testimonial-slider {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
}
/* 单个评价卡片 */
.review-card {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 25px;
    width: calc(25% - 15px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 0 auto;
}
.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.review-card__avatar {
    width: 50px;
    height: 50px;
    background-color: #E64A19;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}
.review-card__initials { text-transform: uppercase; }
.review-card__name { font-weight: bold; margin-bottom: 5px; font-size: 16px; }
.review-card__country { font-size: 14px; color: #666; margin-bottom: 15px; }
.review-card__text { font-size: 14px; line-height: 1.6; color: #333; }

/* ===============================
   宽幅单图轮播
   =============================== */
.gallery {
    max-width: 1140px;
    width: 100%;
    margin: 60px auto;
    position: relative;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}
.gallery h2 { color: #E64A19; }
/* 轮播容器 */
.gallery-wrapper {
    position: relative;
    width: 100%;
    height: 420px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #000;
}
/* 遮罩层 */
.gallery-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
    pointer-events: none;
}
/* 图片滚动部分 */
.gallery-container { width: 100%; height: 100%; overflow: hidden; position: relative; }
.gallery-images { display: flex; height: 100%; transition: transform 0.6s ease-in-out; }
.gallery-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}
/* 左右按钮 */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(230,74,25,0.8);
    border: none;
    color: #fff;
    font-size: 32px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s;
}
.gallery-btn:hover { background-color: rgba(191,59,20,0.9); }
.gallery-btn.prev { left: 12px; }
.gallery-btn.next { right: 12px; }

/* ===============================
   图片漂浮标题 + 说明 + 按钮
   =============================== */
.gallery-item h3,
.gallery-item p,
.gallery-item .info-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 1; /* 默认显示 */
}
.gallery-item h3 { bottom: 260px; font-size: 22px; font-weight: 600; text-shadow: 0 2px 6px rgba(0,0,0,0.7); }
.gallery-item p { bottom: 150px; font-size: 16px; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
.gallery-item .info-btn { bottom: 110px; background: rgba(255,255,255,0.25); border: 1px solid #fff; color: #fff; padding: 8px 16px; border-radius: 6px; cursor: pointer; backdrop-filter: blur(4px); transition: background 0.3s, color 0.3s; }
.gallery-item:hover h3,
.gallery-item:hover p,
.gallery-item:hover .info-btn { transform: translateX(-50%) translateY(-5px); }
.gallery-item .info-btn:hover { background: #fff; color: #000; }

/* ===============================
   响应式布局优化
   =============================== */
@media (max-width: 992px) { /* 平板 */
    .intro-item { flex-direction: column; text-align: center; }
    .intro-item.reverse { flex-direction: column; }
    .intro-image, .intro-text { width: 100%; }
    .features { justify-content: center; }
    .features .feature { width: 45%; }
    .destination img { height: 200px; }
    .testimonial-slider { flex-wrap: wrap; justify-content: center; }
    .review-card { width: calc(50% - 20px); margin-bottom: 20px; }
}
@media (max-width: 768px) { /* 手机 */
    .yacht-charter-page { padding: 30px 15px; }
    .yacht-charter-banner .banner-text h1 { font-size: 28px; }
    .yacht-charter-banner .banner-text p { font-size: 16px; }
    .banner-cta-btn { padding: 10px 25px; font-size: 16px; }
    .intro-item { flex-direction: column; gap: 20px; text-align: center; }
    .intro-text h2 { font-size: 22px; }
    .features { flex-direction: column; align-items: center; }
    .features .feature { width: 100%; max-width: 300px; }
    .destinations-row { flex-direction: column; }
    .destination img { height: 200px; }
    .testimonial-slider { flex-direction: column; align-items: center; }
    .review-card { width: 100%; max-width: 320px; }
    .gallery-wrapper { height: 200px; }
    .gallery-btn { display: none; }
}
@media (max-width: 480px) { /* 超小屏 */
    .yacht-charter-banner .banner-text h1 { font-size: 22px; }
    .yacht-charter-banner .banner-text p { font-size: 14px; }
    .intro-text { font-size: 14px; }
    .features .feature h3 { font-size: 18px; }
    .popular-destinations h2,
    .testimonial-section h2 { font-size: 24px; }
    .review-card { padding: 15px; }
    .gallery-wrapper { height: 160px; }
}

/* ===============================
   行动按钮 CTA 样式
   =============================== */
.cta {
    text-align: center;
    margin: 60px 0;
}
.cta .btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #E64A19;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.3s;
}
.cta .btn-primary:hover { background-color: #bf3b14; transform: translateY(-2px); }

/* ===============================
   FAQ 样式
   =============================== */
.faq {
    max-width: 1140px;
    margin: 60px auto;
    padding: 0 20px;
}
.faq h2 {
    font-size: 32px;
    color: #E64A19;
    text-align: center;
    margin-bottom: 40px;
}
.faq dl { border-top: 1px solid #ddd; }
.faq dt {
    font-weight: 600;
    font-size: 18px;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    border-bottom: 1px solid #ddd;
}
.faq dt::after { content: "+"; position: absolute; right: 0; font-size: 20px; transition: transform 0.3s; }
.faq dd {
    font-size: 16px;
    line-height: 1.6;
    padding: 10px 0 20px 0;
    color: #333;
    display: none;
}
.faq dt.active::after { content: "-"; }
.faq dt.active + dd { display: block; }
/* 响应式 FAQ */
@media (max-width: 768px) {
    .faq h2 { font-size: 26px; }
    .faq dt { font-size: 16px; }
    .faq dd { font-size: 14px; }
}
