/* =====================================================
   🚌 BUS TOUR - THE EDITORIAL COLLECTION
   A high-end, curated discovery experience.
   ===================================================== */

html {
    scroll-behavior: smooth;
}

:root {
    --km-blue: #095f70;
    --km-gold: #ffc11c;
    --km-gold-dark: #e5ad19;
    --km-text: #2d3436;
    --km-gray: #636e72;
    --km-bg: #ffffff;
    --km-border: #edf2f4;

}

body {
    background-color: var(--km-bg);
    color: var(--km-text);
    line-height: 1.6;
}



/* 🌟 Hero - The Gateway */
/* 🌟 Hero - The Gateway */
.bus-hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    background: url('/img/bus/banner2.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Fix: Keep nav at top */
}

.bus-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    /* Balanced top/bottom gradient */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 25%),
        linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 45%);
    z-index: 1;
}

.hero-info {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 0 20px;
    margin-top: auto;
    /* Center in remaining height */
    margin-bottom: auto;
}

.hero-info h1 {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 25px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

/* 🏷️ Feature Tags (Like Home Page sub3) */
.hero-features-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 8px 18px;
    border-radius: 4px;
    /* More professional than round for this theme */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.h-icon {
    color: #ffc11c;
    /* Gold accent for features */
    flex-shrink: 0;
    margin-top: -4px;
    /* Lift up for optical alignment */
}

/* 🖱️ Simplified Button - White Glass with Icon */
.btn-wow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 40px;
    background: #ffc11c;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-wow svg {
    margin-top: -4px;
}

.btn-wow:hover {
    background: #ffffff;
    color: #444;
    /* Softer than pure black */
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 🏗️ Tour Collection Section - Reference Design */
.bus-collection-section {
    background: #f8f9fa;
    padding: 100px 0;
}

.container-inner {
    max-width: 1200px;
    /* Adjusted for 3-column layout */
    margin: 0 auto;
    padding: 0 20px;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-intro h2 {
    font-size: 34px;
    color: #0f294d;
    /* Site Heading Blue */
    margin-bottom: 20px;
    font-weight: 800;
}

.section-intro p {
    font-size: 16px;
    color: #444;
    /* Darker gray for readability */
    line-height: 1.8;
}

/* --- Tours Grid --- */
.tours-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* --- Tour Card Design --- */
.tour-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    color: inherit !important;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Card Image Part */
.card-image-part {
    position: relative;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
}

.card-image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Badges on Image */
.badge-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.badge-discount {
    background: #ff4b5c;
}

.badge-limited {
    background: #ff4b5c;
}

/* 🏁 Editorial "Manseki Orei" Label - Luxury Edition */
.badge-full {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(15, 41, 77, 0.4);
    /* Elegant Navy Tint */
    backdrop-filter: blur(2px);
    z-index: 10;
    pointer-events: none;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

/* The Main Honor Card */
.badge-full::before {
    content: '満 席 御 礼';
    width: 200px;
    background: #ffffff;
    padding: 5px 0;
    color: #FA0C12;
    opacity: 1;
    font-family: "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0em;
    border: 1px solid #ffba00;
    /* box-shadow: 10px 10px 0 rgba(15, 41, 77, 0.85); */
    position: relative;
    /* padding-left: 0.4em; */
    z-index: 2;
}

/* Stylish Red Corner Sash - 45 Degree Angle */
.badge-full::after {
    content: '完 売';
    position: absolute;
    top: 15px;
    right: -40px;
    width: 160px;
    background: #FA0C12;
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 0;
    letter-spacing: 0.12em;
    transform: rotate(45deg);
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

/* 🌑 Artistic Filter for Sold Out Image */
.tour-card.is-full .card-image-part img {
    filter: brightness(1) contrast(1.2) grayscale(0.2);
    transform: scale(1.03);
    transition: all 0.7s ease;
}

.tour-card.is-full:hover .card-image-part img {
    filter: brightness(0.7) contrast(1.3) grayscale(0);
}

.tour-card.is-full .tour-title,
.tour-card.is-full .price-final {
    opacity: 0.5;
}

.tour-card.is-full:hover .tour-title,
.tour-card.is-full:hover .price-final {
    opacity: 0.9;
}

.image-overlay-badges {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge-text-tag {
    background: #1962EB;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.badge-text-tag.duration {
    background: #ffffff;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Card Content Part */
.card-content-part {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tour-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: none;
    /* 暂时隐藏 */
}

/* Location and Season Row */
.tour-details-row {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 13.5px;
    color: #444;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-item svg {
    flex-shrink: 0;
    margin-top: -4px;
    color: #1962EB;
}

/* Feature Tags - REMOVED */
.tour-feature-tags {
    display: none;
}

/* 💎 Merged Price & Info Box */
.price-section {
    margin-top: auto;
    background: #f8faff;
    padding: 10px 15px 15px;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    margin-bottom: 0;
}

.included-items {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    /* 微调行高 */
    max-height: 2.8em;
    /* 1.4 * 2 */
    min-height: 2.8em;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(25, 98, 235, 0.08);
}

.included-items span {
    display: inline;
    font-size: 11px;
    color: #636e72;
    font-weight: 600;
    margin-right: 8px;
    white-space: normal;
    /* 允许换行，特别是为了长英文 */
    word-break: break-word;
    /* 强制长单词换行 */
}

/* 针对英文版的特殊微调 */
.lang-en .included-items span {
    font-size: 10.5px;
    /* 英文稍细一点点，腾出空间 */
    line-height: 1.3;
}

.lang-en .included-items {
    max-height: 2.6em;
    min-height: 2.6em;
}

.included-items span::first-letter {
    color: #1962EB;
    font-weight: 800;
}

.price-display-part {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-original {
    font-size: 13px;
    color: #a4b0be;
    text-decoration: line-through;
    font-weight: 500;
}

.price-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.price-label {
    font-size: 12px;
    color: #636e72;
    font-weight: 500;
}

.promotion-badge {
    background: #FF4757;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1;
    margin-bottom: 2px;
    box-shadow: 0 2px 4px rgba(255, 71, 87, 0.2);
}

.price-final {
    font-size: 24px;
    font-weight: 800;
    color: #1962EB;
    line-height: 1;
}

.price-final span {
    font-size: 12px;
    color: #636e72;
    font-weight: 400;
}

.promotion-deadline {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF4757;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 10;
}

.promotion-deadline svg {
    flex-shrink: 0;
}

.badge-execution {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 132px;
    height: 30px;
    padding: 0 16px;
    border-radius: 6px;
    background: #ffffff;
    color: #ff5b3a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    overflow: hidden;
    pointer-events: none;
}

.badge-execution::before {
    content: "";
    position: absolute;
    top: -9px;
    left: -12px;
    width: calc(100% + 24px);
    height: calc(100% + 18px);
    background: #fff;
    border-radius: 6px;
    z-index: -2;
}

.badge-execution::after {
    content: "";
    position: absolute;
    top: -9px;
    left: -12px;
    width: 10px;
    height: calc(100% + 18px);
    background: #ff6b4a;
    z-index: -1;
}

/* Action Button - REMOVED */
.btn-detail-book {
    display: none;
}

/* 📍 Meeting Points Guidance Section */
.bus-meeting-points {
    background: #f8f9fa;
    padding: 100px 0;
}

.meeting-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.meeting-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #edf2f7;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.meeting-card:hover {
    transform: translateY(-5px);
}

.m-card-head {
    background: #0f294d;
    padding: 20px 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
}

.m-card-head h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.m-card-body {
    padding: 30px;
}

.m-google-map {
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-right: -30px;
    height: 300px;
    border: none;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
    margin-top: 25px;
    margin-bottom: -30px;
    /* Flush with card bottom */
}

.m-google-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.info-row {
    margin-bottom: 20px;
}

.info-row .label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #1962EB;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-row .value {
    display: block;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.lang-en .info-row .value {
    font-size: 13px;
}

.m-note {
    font-size: 14px;
    color: #666;
    background: #fdf2f2;
    padding: 12px 20px;
    border-radius: 4px;
    border-left: 4px solid #ff4b5c;
    margin: 40px auto 0;
    text-align: center;
}

.btn-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #1962EB;
    color: #1962EB;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-map:hover {
    background: #1962EB;
    color: #fff;
    box-shadow: 0 5px 15px rgba(25, 98, 235, 0.2);
}

@media (max-width: 768px) {
    .meeting-grid {
        grid-template-columns: 1fr;
    }

    .hero-info h1 {
        min-height: 94px;
        font-size: 36px;
    }
}

/* 📣 High-Impact Promotional Split Section */
.bus-promo-split {
    position: relative;
    padding: 80px 0;
    background-image: url('../img/bus/fg_bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.bus-promo-split::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 41, 77, 0.92) 0%, rgba(25, 98, 235, 0.85) 100%);
    z-index: 1;
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.promo-badge {
    display: inline-block;
    background: #ffc11c;
    color: #000;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.promo-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.promo-title span {
    color: #ffc11c;
}

.promo-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* 🎯 Nested Features Grid */
.promo-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.p-feature-item .f-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffc11c;
    transition: transform 0.3s ease;
}

.p-feature-item:hover .f-icon-box {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.p-feature-item h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #ffffff;
}

.p-feature-item p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* 🛡️ Safety & Security Section */
.bus-safety-section {
    padding: 100px 0;
    background: #ffffff;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.safety-card {
    background: #fcfdfe;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: transform 0.3s ease;
}

.safety-card:hover {
    transform: translateY(-5px);
}

.safety-img-box {
    height: 350px;
    overflow: hidden;
}

.safety-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.safety-content {
    padding: 30px;
}

.safety-card h3 {
    font-size: 20px;
    color: #0f294d;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.safety-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safety-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.safety-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1962EB;
    font-weight: 800;
}

/* Customer Request Full Width Box */
.safety-customer-box {
    grid-column: span 2;
    background: #fff9f0;
    border: 1px solid #feebc8;
    border-radius: 12px;
    padding: 24px 40px;
    /* Reduced vertical padding */
    display: flex;
    gap: 50px;
    align-items: center;
}

.customer-title-area {
    flex-shrink: 0;
    text-align: center;
}

.customer-title-area .icon-circle {
    width: 48px;
    /* Slightly smaller icon */
    height: 48px;
    background: #ffc11c;
    /* Brand Gold */
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
}

.customer-title-area .icon-circle svg {
    width: 24px;
    height: 24px;
}

.customer-title-area h3 {
    font-size: 16px;
    /* Slightly smaller title */
    color: #744210;
    /* Warm Brown */
    margin: 0;
    font-weight: 800;
}

.customer-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 40px;
    flex-grow: 1;
}

.customer-items span {
    font-size: 14px;
    /* Slightly smaller text */
    color: #444;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.customer-items span::before {
    content: '●';
    color: #ffc11c;
    /* Brand Gold */
    font-size: 10px;
}

@media (max-width: 992px) {
    .safety-grid {
        grid-template-columns: 1fr;
    }

    .safety-customer-box {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
    }

    .customer-items {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .promo-features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .tours-grid-container {
        grid-template-columns: 1fr;
    }

    .region-buttons {
        flex-direction: column;
        padding: 0 40px;
    }
}
