/* ===== Tour List Styles ===== */
.tour-list-header {
    text-align: center;
    margin-bottom: 30px;
}

.tour-list-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
}

.tour-list-description {
    font-size: 16px;
    color: #636e72;
    margin: 0;
}

@media (max-width: 768px) {
    .tour-list-title {
        font-size: 24px;
    }

    .tour-list-description {
        font-size: 14px;
    }
}

/* ===== Tour Card Styles ===== */
.tour-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.tour-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.tour-card__image {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.tour-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tour-card:hover .tour-card__img {
    transform: scale(1.05);
}

.tour-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tour-card__category-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3436;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.tour-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 8px;
}

.tour-card__header {
    margin-bottom: 4px;
}

.tour-card__title {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #2d3436;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tour-card__description {
    margin: 0;
    font-size: 14px;
    color: #636e72;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.tour-card__title:hover {
    color: #673AB7;
}

.tour-card__rating {
    margin: 4px 0;
}

.rating-info {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #636e72;
    gap: 10px;
}

.rating-section {
    display: flex;
    align-items: center;
    background: rgba(255, 193, 7, 0.15);
    padding: 5px 10px;
    border-radius: 12px;
    gap: 4px;
}

.view-section {
    display: flex;
    align-items: center;
    background: rgba(103, 58, 183, 0.15);
    padding: 5px 10px;
    border-radius: 12px;
    gap: 4px;
}

.rating-section .rating-star {
    color: #FFC107;
    font-size: 12px;
}

.rating-section .rating-text {
    font-weight: 600;
    color: #2d3436;
    font-size: 12px;
}

.rating-section .review-count {
    color: #636e72;
    font-size: 12px;
}

.view-section .view-icon {
    color: #673AB7;
    font-size: 12px;
}

.view-section .view-count {
    color: #2d3436;
    font-weight: 500;
    font-size: 12px;
}

.tour-card__info {
    margin-top: auto;
}

.tour-card__badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tour-duration-info, .tour-location-info, .tour-price-info {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background: #FAFAFA;
    border-radius: 8px;
    border: 1px solid #F5F5F5;
}

.tour-icon {
    color: #673AB7;
    margin-right: 6px;
    font-size: 13px;
}

.tour-duration-text, .tour-location-text, .tour-price-text {
    font-size: 13px;
    font-weight: 600;
    color: #2d3436;
}

.tour-price-info {
    background: linear-gradient(135deg, #673AB715 0%, #512DA815 100%);
    border: 1px solid #673AB730;
}

.tour-price-info .tour-icon {
    color: #512DA8;
}

.tour-price-text {
    color: #673AB7;
    font-weight: 700;
}

@media (max-width: 992px) {
    .tour-card__image {
        width: 220px;
        height: 160px;
    }

    .tour-card__content {
        padding: 16px;
    }

    .tour-card__title {
        font-size: 16px;
    }

    .tour-card__description {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .tour-card {
        flex-direction: column;
    }

    .tour-card__image {
        width: 100%;
        height: 180px;
    }

    .tour-card__content {
        padding: 16px;
    }

    .tour-card__title {
        font-size: 16px;
    }

    .tour-card__description {
        font-size: 13px;
    }

    .rating-info {
        font-size: 12px;
    }

    .tour-card__badges {
        gap: 8px;
    }

    .tour-duration-info, .tour-location-info, .tour-price-info {
        padding: 5px 10px;
    }

    .tour-duration-text, .tour-location-text, .tour-price-text {
        font-size: 12px;
    }
}

/* ===== Tour Detail Styles ===== */
/* Tour Detail Image */
.tour-detail__image {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.tour-detail__category-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #2d3436;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
}

/* Tour Header */
.tour-detail__header {
    margin-bottom: 40px;
}

.tour-detail__title {
    font-size: 36px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
    line-height: 1.3;
}

.tour-detail__meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.rating-section, .view-section, .location-section {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 12px;
}

.rating-section {
    background: rgba(255, 193, 7, 0.15);
}

.view-section {
    background: rgba(103, 58, 183, 0.15);
}

.location-section {
    background: rgba(156, 39, 176, 0.15);
}

.rating-star {
    color: #FFC107;
    font-size: 14px;
}

.rating-text {
    font-weight: 700;
    color: #2d3436;
    font-size: 14px;
}

.review-count {
    color: #636e72;
    font-size: 14px;
}

.view-icon {
    color: #673AB7;
    font-size: 14px;
}

.view-count {
    color: #2d3436;
    font-weight: 600;
    font-size: 14px;
}

.location-icon {
    color: #9C27B0;
    font-size: 14px;
}

.location-text {
    color: #2d3436;
    font-weight: 600;
    font-size: 14px;
}

/* Sections */
.tour-detail__section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
}

.tour-description {
    font-size: 16px;
    line-height: 1.8;
    color: #636e72;
}

/* Highlights */
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-item {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: #2d3436;
    border-bottom: 1px solid #f0f0f0;
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-icon {
    color: #673AB7;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Included Items */
.included-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.included-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #FAFAFA;
    border-radius: 8px;
    font-size: 15px;
    color: #2d3436;
}

.included-icon {
    color: #673AB7;
    font-size: 16px;
    flex-shrink: 0;
}

/* Info Card */
.info-card {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    font-size: 24px;
    color: #673AB7;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 13px;
    color: #636e72;
    margin-bottom: 4px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
}

/* Booking Card */
.booking-card {
    position: sticky;
    top: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 24px;
    margin-bottom: 20px;
}

.booking-card__price {
    text-align: center;
    margin-bottom: 20px;
}

.price-label {
    font-size: 14px;
    color: #636e72;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #673AB7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.currency {
    font-size: 24px;
    font-weight: 600;
}

.price-subtext {
    font-size: 14px;
    color: #636e72;
    margin-top: 4px;
}

.booking-card__divider {
    height: 1px;
    background: #F5F5F5;
    margin: 20px 0;
}

.booking-card__info {
    margin-bottom: 20px;
}

.booking-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
    color: #2d3436;
}

.booking-info-item i {
    color: #673AB7;
    font-size: 16px;
    width: 20px;
}

.booking-card__button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.booking-card__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(103, 58, 183, 0.3);
}

.booking-card__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: rgba(103, 58, 183, 0.1);
    border-radius: 8px;
    font-size: 13px;
    color: #636e72;
}

.booking-card__note i {
    font-size: 16px;
    flex-shrink: 0;
    color: #673AB7;
}

/* Contact Card */
.contact-card {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 20px;
}

.contact-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 16px;
}

.contact-card__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 14px;
}

.contact-card__item i {
    color: #673AB7;
    font-size: 16px;
    width: 20px;
}

.contact-card__item a {
    color: #2d3436;
    text-decoration: none;
}

.contact-card__item a:hover {
    color: #673AB7;
}

/* Booking Form Styles */
.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
}

.booking-form-label i {
    color: #673AB7;
    font-size: 14px;
}

.booking-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #F5F5F5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2d3436;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.booking-form-input:focus {
    outline: none;
    border-color: #673AB7;
    box-shadow: 0 0 0 4px rgba(103, 58, 183, 0.1);
}

.counter-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #FAFAFA;
    padding: 8px;
    border-radius: 8px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #673AB7;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.counter-btn:hover {
    background: #673AB7;
    color: white;
    transform: scale(1.05);
}

.counter-btn:active {
    transform: scale(0.95);
}

.counter-input {
    flex: 1;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
    color: #2d3436;
}

.booking-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.booking-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #636e72;
}

.booking-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #673AB7;
}

/* Responsive */
@media (max-width: 992px) {
    .tour-detail__image {
        height: 400px;
    }

    .tour-detail__title {
        font-size: 28px;
    }

    .booking-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .tour-detail.spad {
        padding-top: 20px;
    }

    .tour-detail .col-lg-8,
    .tour-detail .col-lg-4 {
        padding-left: 15px;
        padding-right: 15px;
    }

    .tour-detail__image {
        height: 300px;
        border-radius: 12px;
        margin-left: 0;
        margin-right: 0;
    }

    .tour-detail__title {
        font-size: 24px;
    }

    .tour-detail__section {
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .section-title {
        font-size: 20px;
    }

    .tour-description, .highlight-item, .included-item {
        font-size: 14px;
    }

    .price-amount {
        font-size: 32px;
    }

    .included-list {
        grid-template-columns: 1fr;
    }

    .booking-card {
        padding: 20px;
        margin-left: 0;
        margin-right: 0;
    }

    .booking-form-input {
        max-width: 100%;
        padding: 10px 12px;
        font-size: 13px;
    }

    .booking-form-group {
        margin-bottom: 16px;
    }
}

/* ===== Tour Checkout Styles ===== */
body {
    background: #FAFAFA;
}

.checkout-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.checkout-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 20px;
}

.checkout-header {
    text-align: center;
    margin-bottom: 40px;
}

.checkout-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 10px;
}

.checkout-subtitle {
    font-size: 16px;
    color: #636e72;
}

.section-header {
    font-size: 20px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.info-item {
    background: #FAFAFA;
    padding: 16px;
    border-radius: 8px;
}

.info-label {
    font-size: 13px;
    color: #636e72;
    margin-bottom: 6px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
}

.participants-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.participant-item {
    flex: 1;
    background: #FAFAFA;
    padding: 16px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #F5F5F5;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #673AB7;
    box-shadow: 0 0 0 4px rgba(103, 58, 183, 0.1);
}

.price-breakdown {
    background: #FAFAFA;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F5F5F5;
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-size: 14px;
    color: #636e72;
}

.price-value {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
}

.total-row {
    padding-top: 16px;
    border-top: 2px solid #673AB7;
    margin-top: 16px;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #673AB7;
}

.checkout-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(103, 58, 183, 0.3);
}

.note-box {
    background: rgba(103, 58, 183, 0.1);
    border-left: 4px solid #673AB7;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.note-title {
    font-size: 14px;
    font-weight: 700;
    color: #512DA8;
    margin-bottom: 8px;
}

.note-text {
    font-size: 13px;
    color: #636e72;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .participants-row {
        gap: 12px;
    }

    .checkout-card {
        padding: 24px;
    }

    .checkout-title {
        font-size: 24px;
    }
}

/* ===== Tour Confirm Styles ===== */
.confirm-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.confirm-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    margin-bottom: 20px;
}

.success-icon {
    text-align: center;
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: #673AB7;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.confirm-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3436;
    text-align: center;
    margin-bottom: 10px;
}

.confirm-subtitle {
    font-size: 16px;
    color: #636e72;
    text-align: center;
    margin-bottom: 40px;
}

.booking-ref-box {
    background: linear-gradient(135deg, #673AB715 0%, #512DA815 100%);
    border: 2px dashed #673AB7;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.booking-ref-label {
    font-size: 14px;
    font-weight: 600;
    color: #636e72;
    margin-bottom: 8px;
}

.booking-ref-number {
    font-size: 28px;
    font-weight: 700;
    color: #673AB7;
    letter-spacing: 1px;
}

.section-header {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 14px;
    color: #636e72;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: #2d3436;
    text-align: right;
}

.total-row {
    background: #FAFAFA;
    padding: 16px;
    border-radius: 8px;
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-size: 18px;
    font-weight: 700;
    color: #2d3436;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #673AB7;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 30px;
}

.action-button {
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-button-primary {
    background: linear-gradient(135deg, #673AB7 0%, #512DA8 100%);
    color: white;
}

.action-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(103, 58, 183, 0.3);
    color: white;
}

.action-button-secondary {
    background: white;
    color: #673AB7;
    border: 2px solid #673AB7;
}

.action-button-secondary:hover {
    background: rgba(103, 58, 183, 0.1);
    transform: translateY(-2px);
    color: #673AB7;
}

.info-box {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 16px;
    border-radius: 8px;
    margin-top: 30px;
}

.info-box-title {
    font-size: 14px;
    font-weight: 700;
    color: #856404;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-text {
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .confirm-card {
        padding: 24px;
    }

    .confirm-title {
        font-size: 24px;
    }

    .success-icon i {
        font-size: 60px;
    }

    .booking-ref-number {
        font-size: 20px;
    }

    .action-buttons {
        grid-template-columns: 1fr;
    }
}