/* ===================================================================
   Trang chủ — Phú Quý Sea Travel
   (Khung section, nút, kicker... khai báo ở site.css)
   =================================================================== */

/* ------------------------------------------------- Hero ----------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    min-height: 700px;
}

/* Video YouTube phủ kín hero (tự phát, tắt tiếng, lặp) */
.hero-video { position: absolute; inset: 0; overflow: hidden; }
.hero-video iframe {
    position: absolute; top: 50%; left: 50%;
    width: 100vw; height: 56.25vw;          /* 16:9 theo bề ngang */
    min-width: 177.78vh; min-height: 100%;  /* phủ kín theo chiều cao */
    transform: translate(-50%, -50%);
    border: 0; pointer-events: none;
}

/* Dải trắng mờ ở cạnh trên -> header nổi rõ */
.hero-fade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 190px;
    z-index: 3;
    background: linear-gradient(to bottom, rgb(255 255 255 / 52%) 0%, rgba(255, 255, 255, .8) 42%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.hero-swiper { width: 100%; height: 100%; }
.hero-slide { width: 100%; height: 100%; object-fit: cover; }
.hero .swiper-pagination { bottom: 22px; }
.hero .swiper-pagination-bullet { background: #fff; opacity: .55; width: 9px; height: 9px; }
.hero .swiper-pagination-bullet-active { background: var(--c-accent); opacity: 1; width: 26px; border-radius: 6px; }
.hero-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 5;
    width: 82px; height: 82px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .92); color: var(--c-primary); font-size: 1.5rem;
    box-shadow: 0 12px 34px rgba(0, 38, 63, .35);
    transition: transform .2s ease, background .2s ease;
}
.hero-play i { margin-left: 4px; }
.hero-play::before {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55); animation: heroPulse 2s ease-out infinite;
}
.hero-play:hover { background: #fff; transform: translate(-50%, -50%) scale(1.06); }
@keyframes heroPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.32); opacity: 0; } }

/* ---------------------------------------------- Giới thiệu -------- */
.bg-gt{background: url(../images/bg-gt.png) left top;background-repeat: repeat-x;}
.about-title {
    color: var(--c-primary);
    font-size: 48px;
    line-height: 55px;
    margin-bottom: 20px;
    font-weight: 700;
}
.about-title span { display: block; text-transform: uppercase; letter-spacing: 1px; }
.about-title span:last-child{color: #16C3FF;}
.about-desc {color: var(--c-muted);margin-bottom: 26px;text-align: justify;font-size: 15px;}
.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-intro .btn-link{color: #035B8F;font-weight: 500;font-style: italic;}
.about-features {margin-top: 30px;}
.feature-card {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    padding: 15px 10px;
    border: 1px solid var(--c-primary);
    border-radius: var(--radius);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {transform: translateY(-5px);box-shadow: var(--shadow);/* border-color: transparent; */background-color: #fff;}
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: transparent;
    color: #fff;
    font-size: 1.4rem;
}
.feature-icon img {width: 60px;height: 60px;object-fit: contain;/* filter: brightness(0) invert(1); */}
.feature-title {font-size: 16px;margin: 0 0 4px;color: var(--c-primary);}
.feature-desc { font-size: .875rem; color: var(--c-muted); margin: 0; line-height: 1.5; }

/* Mô tả soạn bằng CKEditor (bọc trong <p>) -> bỏ khoảng cách thừa ở dòng cuối */
.about-desc > :last-child,
.feature-desc > :last-child,
.service-desc > :last-child,
.testimonial-text > :last-child { margin-bottom: 0; }

/* Thẻ Tour & Dịch vụ (.tour-card*, .service-card*) đã chuyển sang site.css
   vì dùng chung cho trang chủ lẫn trang danh mục. Slider .service-swiper cũng nằm ở đó. */

/* ---------------------------------------------- Điểm đến --------- */
.destinations {
    color: #fff;
    position: relative;
    padding-bottom: 0;
}
.destinations:before{content:"";position: absolute;top: 0;left: 0;height: 60%;width: 100%;background: url(../images/bg-diemden.png) no-repeat center;background-size: cover;}
/* Slider phẳng (không 3D): các ảnh cùng kích thước + cách đều,
   riêng ảnh active ở giữa được phóng to và nằm đè lên. */
.destination-swiper {
    /* chừa chỗ trên/dưới để ảnh active phóng to không bị cắt */
    padding: 85px 0 85px;
}
.destination-swiper .swiper-slide {
    width: 400px;
    transition: transform .5s ease;
}
.destination-swiper .swiper-slide-active {
    transform: scale(1.5);
    z-index: 3;
}
.destination-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    /* box-shadow: 0 16px 40px rgba(0,27,46,.45); */
}
.destination-link { display: block; width: 100%; height: 100%; }
.destination-card img {width: 100%;height: 100%;object-fit: cover;transition: transform .5s ease;border-radius: 15px;}
.destination-card:hover img { transform: scale(1.07); }
.destination-cap {
    position: absolute;
    inset: auto 0 0 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,27,46,.92), transparent);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    opacity: 0;
    transition: opacity .4s ease;      /* chỉ hiện tên ở ảnh active (theo thiết kế) */
    text-align: center;
    padding-bottom: 20px;
    padding-top: 70px;
}
.destination-swiper .swiper-slide-active .destination-cap { opacity: 1; }
/* Tiêu đề bài viết dài -> giới hạn 2 dòng cho gọn thẻ */
.destination-cap span {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; text-overflow: ellipsis; line-height: 1.35;
}

@media (max-width: 575.98px) {
    .destination-swiper .swiper-slide { width: 200px; }
    .destination-swiper .swiper-slide-active { transform: scale(1.2); }
}
.destinations .swiper-button-prev, .destinations .swiper-button-next { color: #fff; }

/* "Xem tất cả điểm đến" đặt dưới slider, căn giữa */
.destinations-more { text-align: center; margin-top: 6px; }
.destinations-more .section-more {/* color: #fff; */}
.destinations-more .section-more:hover { color: var(--c-accent); }
.destinations .swiper-pagination-bullet { background: #fff; opacity: .5; }
.destinations .swiper-pagination-bullet-active { background: var(--c-accent); opacity: 1; width: 24px; border-radius: 5px; }

@media (max-width: 575.98px) {
    .destination-swiper .swiper-slide { width: 220px; }
}

/* ------------------------------------- Đánh giá khách hàng ------- */
.testimonial-card {
    height: 100%;
    background: var(--c-bg);
    border-radius: var(--radius-lg);
    padding: 30px 26px 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    margin: 10px;
}
.testimonial-quote { font-size: 2.1rem; line-height: 1; }
.testimonial-quote i { color: #d7e7f2; }
.testimonial-stars {margin: 0;color: var(--c-star);font-size: .95rem;letter-spacing: 3px;position: absolute;right: 40px;}
.testimonial-stars .is-off { color: var(--c-border); }
.testimonial-text { color: var(--c-muted); font-size: .9375rem; margin: 0; }
.testimonial-head { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--c-border); }
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: 0 0 50px; }
.testimonial-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--c-primary); color: #fff; font-weight: 700; font-size: 1.2rem; }
.testimonial-name { margin: 0; font-size: 1rem; color: var(--c-primary); }
.testimonial-place { margin: 0; font-size: .8125rem; color: var(--c-muted); }

/* --------------------------------- Tư vấn & đặt tour nhanh ------- */
.booking { position: relative; color: #fff; overflow: hidden; }
.booking-bg {position: absolute;inset: 0;background: url("../images/br-booking.jpg") center / cover no-repeat;}
.booking-overlay {position: absolute;inset: 0;/* background: linear-gradient(90deg, rgba(0,38,63,.86), rgba(0,38,63,.55)); */}
.booking .container { position: relative; z-index: 1; }
.booking-promo-title {color: var(--c-primary);font-size: clamp(2rem, 4.4vw, 3rem);margin-bottom: 14px;font-weight: 700;}
.booking-promo-sub {color: var(--c-muted);font-size: 1.0625rem;margin-bottom: 10px;max-width: 440px;font-weight: 500;}
.booking-tags {display: flex;flex-wrap: wrap;gap: 10px;margin-top: 10px;margin-bottom: 28px;}
.booking-tags li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--c-primary);
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(4px);
}
.booking-tags i {color: var(--c-primary);}
.booking-card {
    background: #00263fe0;
    border: 2px solid var(--c-accent);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    box-shadow: var(--shadow-lg);
}
.booking-card-title { color: #fff; font-size: 1.3rem; margin-bottom: 20px; }
.booking-card .form-label {color: rgba(255,255,255,.82);font-size: 14px;font-weight: 600;margin-bottom: 6px;}
.booking-card .form-label i {color: var(--c-primary);margin-right: 4px;position: absolute;top: 42px;left: 19px;font-size: 18px;}
.booking-card .form-control, .booking-card .form-select {
    background: #fff;
    border: 1px solid rgba(255,255,255,.16);
    color: #000;
    border-radius: 30px;
    padding: 10px 14px;
    font-size: 14px;
    padding-left: 36px;
    font-weight: 500;
}
.booking-form .row div{position: relative;}
.booking-card .form-control::placeholder { color: #333333; }
.booking-card .form-control:focus, .booking-card .form-select:focus {
    /* background: rgba(255,255,255,.12); */
    border-color: var(--c-accent);
    box-shadow: none;
    /* color: #fff; */
}
.booking-card .form-select option { color: #1f2733; }
.booking-card .req { color: #ff9d9d; }
.booking-card .booking-submit {width: 300px;justify-content: center;margin: 0px auto;display: block;border: 1px solid;margin-top: 10px;}
.booking-msg { margin: 14px 0 0; font-size: .875rem; font-weight: 600; }
.booking-msg:empty { margin: 0; }
.booking-msg.is-success { color: #7ee0a3; }
.booking-msg.is-error { color: #ff9d9d; }
.booking-msg.is-info { color: rgba(255,255,255,.75); }

/* --------------------------------------------- Thư viện ảnh ------ */
.gallery-album {
    position: relative; display: block; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 3 / 4; box-shadow: var(--shadow);
}
.gallery-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-album:hover img { transform: scale(1.07); }
.gallery-album-cap {
    position: absolute; inset: auto 0 0 0; padding: 36px 14px 16px;
    background: linear-gradient(to top, rgba(0,38,63,.9), transparent);
    color: #fff; font-weight: 600; font-size: 1rem; text-align: center;
}
.gallery .swiper-button-prev, .gallery .swiper-button-next { color: var(--c-primary); }

/* ------------------------------------------------- Tin tức -------
   Thẻ bài viết dùng chung (.post-card*) khai báo ở site.css.
   ------------------------------------------------------------------ */
.news-swiper { padding-bottom: 42px; }
.news-swiper .swiper-slide { height: auto; }
.news-swiper .swiper-pagination-bullet { background: var(--c-primary); opacity: .3; }
.news-swiper .swiper-pagination-bullet-active { background: var(--c-primary); opacity: 1; width: 26px; border-radius: 5px; }

/* ---------------------------------------------- Responsive ------- */
@media (max-width: 991.98px) {
    .booking-promo { text-align: center; margin-bottom: 8px; }
    .booking-promo-sub { margin-inline: auto; }
}
@media (max-width: 575.98px) {
    .tour-includes ul { grid-template-columns: 1fr; }
}
