@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    width: 100%;
    background-color: #dffbf3; /* Fallback color */
    font-family: Arial,SimSun,sans-serif;
    overflow-x: hidden;
}

.content-wrapper {
    width: 100%;
    background-image: url('../images/2026exploresjs_bg.jpg');
    background-repeat: no-repeat;
    background-position: center top;
}

.header {
    width: 100%;
    height: 1000px;
    background: url('../images/2026exploresjs_TopBanner.jpg') no-repeat center top;
}

.main-container {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

/* Decorative lines */
.decor-line {
    position: absolute;
    z-index: -1;
    pointer-events: none;
}
.line-1 {
    top: -200px;
    left: -300px;
}
.line-2 {
    top: 1000px;
    right: -300px;
}
.line-3 {
    top: 2500px;
    left: -300px;
}
.line-4 {
    top: 4000px;
    right: -300px;
}

/* Tabs Section */
.tabs-container {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 35px;
    position: relative;
    z-index: 20;
}
.tab-item {
    width: 240px;
    height: 158px;
    background: url('../images/2026exploresjs_line_tab_bg.png') no-repeat center center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    text-align: center;
    line-height: 1.2;
}
.tab-item:hover {
    transform: translateY(-5px);
}
.tab-item.active {
    color: #ccff82;
}

/* Title */
.section-title {
    text-align: center;
    margin-bottom: 55px;
}
.section-title img {
    max-width: 100%;
}

/* Content Columns */
.content-columns {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: center;
}

.column-box {
    width: 1184px;
    height: 540px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.col-bg-1 { 
    width: 1086px;
    height: 501px;
    background: url('../images/2026exploresjs_column_01_bg.png') no-repeat center center; 
    background-size: cover;
    margin: -135px auto 0 auto;
}
.col-bg-2 { background: url('../images/2026exploresjs_column_02_bg.png') no-repeat center center; }
.col-bg-3 { background: url('../images/2026exploresjs_column_03_bg.png') no-repeat center center; }
.col-bg-4 { background: url('../images/2026exploresjs_column_04_bg.png') no-repeat center center; }
.col-bg-5 { background: url('../images/2026exploresjs_column_05_bg.png') no-repeat center center; } /* Reuse since we only have 4 bg images */

.content-inner {
    width: 90%;
    height: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content-img-wrapper {
    width: 45%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.content-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.content-text {
    width: 50%;
    color: #fff;
    padding: 20px;
}

.content-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #f1c40f;
}

.content-text p {
    font-size: 16px;
    line-height: 1.8;
    text-indent: 2em;
}

/* Column 1 Exact Match PSD Styles */
.part01-inner {
    width: 1086px;
    height: 501px;
    justify-content: flex-start;
    padding-left: 53px;
    padding-top: 43px;
    align-items: flex-start;
    gap: 35px;
    margin: 0;
}
.part01-img {
    width: 603px;
    height: 393px;
    flex-shrink: 0;
}
.part01-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
}
.part01-img-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.part01-text {
    width: 311px;
    color: #222;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.part01-text p {
    font-size: 19px;
    line-height: 1.6;
    text-indent: 0;
    margin-bottom: 10px;
    text-align: left;
    transition: color 0.3s ease;
}
.part01-text-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.part01-text-link:hover p {
    color: #ff5e3a;
}

/* Column 2 Exact Match PSD Styles */
.part02-inner {
    width: 1069px;
    height: 334px;
    position: absolute;
    left: 56px;
    top: 136px;
    display: grid;
    grid-template-columns: 519px 520px;
    grid-template-rows: 153px 154px;
    gap: 27px 30px;
}

.part02-title-wrapper {
    position: absolute;
    top: 3px;
    left: 106px;
    width: 973px;
    height: 83px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part02-more {
    position: absolute;
    top: 105px;
    right: 59px; /* Aligning with right edge of the grid */
    font-size: 16px;
    color: #ed883f;
    text-decoration: none;
}
.part02-more:hover {
    color: #666;
}

.part02-item {
    display: flex;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.part02-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.part02-img {
    width: 267px;
    height: 150px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 8px 0 0 8px;
}

.part02-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.part02-item:hover .part02-img img {
    transform: scale(1.05);
}

.part02-text {
    width: 252px;
    height: 152px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px ;
    background-color: #fff;
    box-sizing: border-box;
}

.part02-text p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: left;
    transition: color 0.3s ease;
}

.part02-item:hover .part02-text p {
    color: #ff5e3a; /* Text highlights on hover */
}

/* Original Generic Column Styles */
.col-1-inner {
    width: 100%;
    justify-content: flex-start;
    padding-left: 55px; /* Adjust left margin to match the rounded box */
    gap: 45px;
}
.col-1-img {
    width: 603px;
    height: 393px;
    flex-shrink: 0;
}
.col-1-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 34px;
}
.col-1-text {
    width: 420px;
    color: #222; /* Dark text for the light background */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.col-1-text p {
    font-size: 21px; /* Slightly larger text as per attachment */
    line-height: 1.8;
    text-indent: 0; /* Left aligned, no indent */
    margin-bottom: 20px;
    text-align: left;
}
.more-link {
    display: block;
    text-align: right;
    font-size: 20px;
    color: #222;
    text-decoration: none;
    margin-top: -12px;
}
.more-link:hover {
    color: #666;
}

/* Grid Section (Columns 2-5) Styles */
.grid-section-box {
    margin-top: 80px; /* Space for overlapping title */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.grid-title-wrapper {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.orange-ribbon-title {
    background: linear-gradient(to bottom, #ff9a66, #ff5e3a);
    color: #fff;
    font-size: 34px;
    font-weight: bold;
    font-style: italic;
    padding: 10px 50px;
    border-radius: 40px;
    box-shadow: 0 4px 10px rgba(255, 94, 58, 0.4);
    border: 2px solid #ffccb3;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.grid-content-inner {
    width: 92%;
    height: 100%;
    padding-top: 50px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.grid-header-right {
    text-align: right;
    margin-bottom: 10px;
}

.more-link-orange {
    color: #ff8c42;
    text-decoration: none;
    font-size: 16px;
}

.more-link-orange:hover {
    color: #e67329;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    flex-grow: 1;
}

.grid-item {
    background: #fff;
    display: flex;
    padding: 0;
}

.grid-item-img {
    width: 48%;
    flex-shrink: 0;
}

.grid-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item-text {
    padding: 20px;
    display: flex;
    align-items: center;
}

.grid-item-text p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    text-indent: 0;
    text-align: left;
}

/* Routes Section (Column 6) Styles */
.routes-section {
    height: auto; /* Override fixed height of column-box */
    padding-bottom: 50px;
}

.routes-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
}

.route-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.route-tab {
    padding: 12px 30px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.route-tab.active, .route-tab:hover {
    background-color: #ff8c42;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(255, 140, 66, 0.4);
}

.route-contents {
    flex-grow: 1;
    position: relative;
    overflow: visible;
    min-height: 1200px;
}

.route-content {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.route-content.active {
    display: flex;
    justify-content: center;
}

#route-0 {
    /* Background moved to .map-container so it scales synchronously with the cards */
}
#route-0 .map-container {
    background: url('../images/2026exploresjs_line_01_bg.png') no-repeat center 235px; /* 259px matches PSD Y-offset */
    background-size: 1560px auto;
}
#route-0.active {
    display: block;
}
#route-1 {
    /* Background moved to .map-container */
}
#route-1 .map-container {
    background: url('../images/2026exploresjs_line_02_bg.png') no-repeat 26px 158px; /* Exact PSD offset (26, 158) */
    background-size: 1534px auto; /* Exact PSD size */
}
#route-1.active {
    display: block;
}
#route-2 {
    /* Background moved to .map-container */
}
#route-2 .map-container {
    background: url('../images/2026exploresjs_line_03_bg.png') no-repeat 489px 126px; /* Exact PSD offset */
    background-size: 1071px auto; /* Exact PSD size */
}
#route-2.active {
    display: block;
}
#route-3 {
    /* Background moved to .map-container */
}
#route-3 .map-container {
    background: url('../images/2026exploresjs_line_04_bg.png') no-repeat 20px 68px; /* Exact PSD offset */
    background-size: 1409px auto; /* Exact PSD size */
}
#route-3.active {
    display: block;
}

.map-container {
    position: relative;
    width: 1560px;
    height: 1599px;
    left: 50%;
    margin-left: -780px;
}

.map-card {
    display: block;
    text-decoration: none;
    position: absolute;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 21px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.map-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.map-card-img {
    width: 100%;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.map-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-card:hover .map-card-img img {
    transform: scale(1.05);
}

.map-card-text {
    text-align: left;
    line-height: 1.3;
    margin-top: 20px;
    transition: opacity 0.3s ease;
}

.map-card-title {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 5px;
}

.map-card-subtitle {
    font-size: 24px;
    font-weight: normal;
}

.map-card:hover .map-card-text {
    opacity: 0.8;
}

.route-img {
    width: 55%;
    height: 100%;
}

.route-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.route-text {
    width: 45%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fcfcfc;
}

.route-text h3 {
    font-size: 26px;
    color: #ff5e3a;
    margin-bottom: 20px;
}

.route-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

