/* Trip Info Bar */
.trip-info {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: -122px;
    position: relative;
    z-index: 10;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.info-item i {
    font-size: 1.4rem;
}

.info-divider {
    width: 1px;
    height: 30px;
    background: #ddd;
    margin: 0 20px;
}

/* Itinerary List */
.itinerary-list {
    background: white;
    padding: 30px;
    border-radius: 15px;
}

.trip-details-day-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.trip-details-day-title-list {
    padding: 15px 0;
    display: flex;
    align-items: start;
    gap: 10px;
    transition: all 0.3s;
}

.trip-details-day-title-list:last-child {
    border-bottom: none;
}

.trip-details-day-title-list svg {
    min-width: 16px;
    fill: #333;
    flex-shrink: 0;
    padding-top: 5px;
}

.trip-details-day-title-list > strong {
    color: #42a1ce !important;
    font-family: Roboto, sans-serif;
    font-weight: 700 !important;
    white-space: nowrap;
    margin-right: 8px;
    display: flex;
}

.trip-details-day-title-list > span,
.trip-details-day-title-list > strong {
    color: #000;
    font-family: "Inter", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    line-height: 30px;
}

/* Map Container */
.map-container {
    background: white;
    height: 600px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.map-container iframe,
.map-container img {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

/* Ensure picture element images fill container */
.map-container picture {
    display: block;
    width: 100%;
    height: 100%;
}

.map-container picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 50px;
    color: var(--section-header);
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
}

/* Custom Tab Styling */
.useful-information-container {
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, .25);
    background-color: #f2f2f2;
}

.custom-tabs {
    display: flex;
    gap: 2px;
    background-color: #f2f2f2;
    flex-wrap: wrap;
    border-radius: 20px 20px 0 0;
    overflow-x: auto;
}

.custom-tab {
    flex: 1 1 auto;
    min-width: 350px;
    padding: 15px 40px;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 17px;
    white-space: nowrap;
    line-height: 75px;
    text-align: center;
}

.custom-tab:last-child {
    border-right: none;
}

.custom-tab:first-child {
    border-left: none;
}

.custom-tab.active {
    background: #155176;
    color: white;
    border-bottom-color: #155176;
}

.tab-content-custom {
    display: none;
    animation: fadeIn 0.3s;
    padding: 30px;
    background-color: #f2f2f2;
}

.tab-content-custom.active {
    display: block;
    -webkit-animation-name: moveUp;
    animation-name: moveUp;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-timing-function: cubic-bezier(.26,.69,.37,.96);
    animation-timing-function: cubic-bezier(.26,.69,.37,.96);
    -webkit-animation-play-state: running;
    animation-play-state: running;
}

@keyframes moveUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Also add the webkit prefix version for older browsers */
@-webkit-keyframes moveUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

.tab-content-custom.active u {
    text-decoration: none;
}

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

.highlights-list {
    list-style: none;
    padding-left: 20px;
}

.highlights-list li {
    padding: 8px 0;
    position: relative;
}

.highlights-list li:before {
    content: "•";
    color: #333;
    font-weight: bold;
    position: absolute;
    left: -20px;
}

/* Detailed Itinerary */
.detailed-itinerary-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.day-image-container {
    flex-shrink: 0;
    width: 275px;
    position: relative;
}

.day-image {
    width: 100%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

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

.day-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.location-pin {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.location-pin i {
    color: #155176;
    font-size: 1.2rem;
}

.day-content {
    flex: 1;
    gap: 20px;
}

.day-content h3 {
    color: #42a1ce;
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 20px;
}

.day-content p {
    font-family: "Inter", sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 23px;
    color: #333;
}
/* Read More/Less functionality for day descriptions */
.day-description-wrapper {
    position: relative;
}

.day-description-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.day-description-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.day-description-content.clamped::after {
    opacity: 1;
}

.day-toggle-container {
    margin-top: 10px;
    text-align: left;
}

.expand-day-text, .collapse-day-text {
    color: #6EC1E4;
    text-decoration: underline;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    display: inline-block;
    transition: color 0.2s ease;
}

.collapse-day-text {
    display: none;
}

/* CTA Section */
.plane-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #155176;
    border-radius: 50px;
    height: 100px;
    width: 100px;
    margin-bottom: -50px;
}

.bi-airplane-fill {
    color: white;
    font-size: 50px;
}

.cta-section {
    background: #155176;
    padding: 80px 0;
    text-align: center;
}

.cta-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cta-section h2 {
    font-size: 40px;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.cta-section h3 {
    color: var(--primary-color);
    font-family: Inter, sans-serif;
    font-size: 18px;
    margin: 0;
}

.cta-section > .container > a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: bold;
    padding: 12px 40px;
    background-color: #ffffff;
    color: black;
    border-radius: 15px;
    box-shadow: 6px 6px 0 0 #000000;
    /* Add transition for smooth animation */
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cta-section > .container > a:hover {
    /* Reduce shadow to create pressed effect */
    box-shadow: 2px 2px 0 0 #000000;
    /* Move button to fill the space where shadow was */
    transform: translate(4px, 4px);
}

.cta-section > .container > a:active {
    color: black;
    background-color: white;
}

main:last-child {
    padding-top: 80px !important;
    padding-bottom: 80px !important;
}

/* Trip Cards - these are in the main CSS but included here for reference */
.trip-card {
    border: 1px solid #eee;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    min-height: 366px;
    box-shadow: 4px 4px 12px 0px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 4px 8px 20px 0px rgba(0, 0, 0, 0.15);
}

.trip-card .card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.trip-card .card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.trip-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trip-card .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.trip-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: #666;
    font-size: 1.1rem;
}

.trip-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trip-meta-item svg {
    width: 18px;
    height: 18px;
}

.trip-meta .divider {
    width: 4px;
    height: 4px;
    background: #999;
    border-radius: 50%;
}

.trip-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.3;
    flex-grow: 1;
}

.trip-card .stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.related-header {
    margin-top: 32px;
    margin-bottom: 40px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-header h2 {
    color: #41a1ce;
    font-family: "Inter", sans-serif;
    font-size: 40px;
    font-weight: 600;
    margin: 0;
}

.related-header h3 {
    color: #484848;
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

main {
    margin-bottom: 32px;
}
/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 0;
        padding: 60px 0 165px 0;
    }

    .custom-tabs {
        flex-direction: column;
    }

    .custom-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .detailed-itinerary-item {
        flex-direction: column;
    }

    .day-image-container {
        width: 100%;
    }
}

@media (max-width: 425px) {
    .info-divider {
        display: none;
    }

    .trip-info > div {
        gap: 10px;
        flex-direction: column;
    }

    .number-trip-days {
        flex-direction: row-reverse;
    }
}

/* Inclusions Section Styles */
.inclusions-container {
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.inclusion-column {
    padding: 50px 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.included-column {
    background: #f5f5f5;
}

.not-included-column {
    background: #e8e8e8;
}

.inclusion-header {
    font-family: "Montserrat", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 45px;
    font-weight: 700;
    color: #155176;
    text-align: center;
    margin-bottom: 50px;
}

.inclusion-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inclusion-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    transition: all 0.2s ease;
}

.inclusion-item:hover {
    transform: translateX(5px);
}

.inclusion-icon {
    font-size: 32px;
    color: #000;
    flex-shrink: 0;
    margin-top: 0;
}

.inclusion-text {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: #333;
    flex: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .inclusions-container {
        border-radius: 20px;
    }

    .inclusion-column {
        padding: 40px 30px;
    }

    .inclusion-header {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .inclusion-icon {
        font-size: 28px;
    }

    .inclusion-text {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (max-width: 768px) {
    .inclusions-container {
        border-radius: 15px;
    }

    .inclusion-column {
        padding: 30px 25px;
    }

    .inclusion-header {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .inclusion-item {
        gap: 15px;
        padding: 15px 0;
    }

    .inclusion-icon {
        font-size: 24px;
    }

    .inclusion-text {
        font-size: 16px;
        line-height: 24px;
    }
}
