/* Single Service Template Styles */

/* Breadcrumb */
.breadcrumb-container {
    background-color: #f8f9fa;
    padding: 15px 0;
    margin-bottom: 20px;
}

.breadcrumbs {
    font-size: 14px;
    color: #6c757d;
}

.breadcrumbs a {
    color: #6c757d;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #0d6efd;
}

.breadcrumb-separator {
    margin: 0 5px;
}

/* Service Title */
.service-title-section {
    margin-bottom: 10px;
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    color: #212529;
    margin: 0;
}

/* Service Content */
.service-content {
    margin-bottom: 0;
}

.service-content-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* Left Column - Service Images */
.service-left-column {
    flex: 1 1 60%;
}

.service-main-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.service-main-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.service-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail-item {
    flex: 0 0 calc(20% - 8px);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-item.active {
    border-color: #0d6efd;
}

.thumbnail-item:hover {
    border-color: #0d6efd;
}

.thumbnail-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Right Column - Service Info */
.service-right-column {
    flex: 1 1 35%;
}

.service-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: #333;
}

.service-meta-info {
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.meta-icon {
    flex: 0 0 30px;
    height: 30px;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.meta-icon img {
    max-width: 100%;
    max-height: 100%;
}

.meta-content {
    flex: 1;
}

.meta-label {
    font-weight: 600;
    color: #333;
    margin-right: 5px;
}

.meta-value {
    color: #666;
}

.service-cta {
    margin-top: 30px;
}

.btn-contact {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #003d7a;
    color: white;
}

/* Service Details Section */
.service-details-section {
    padding: 10px 0;
    background-color: #f9f9f9;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaeaea;
    color: #333;
}

.details-content, 
.menu-content,
.itinerary-content {
    line-height: 1.6;
    color: #333;
    padding:0 20px;
}
@media screen and (max-width: 768px) {
  .details-content {
    padding-left: 0;
    padding-right: 0;
  }
}


/* Service Includes/Excludes */
.service-includes-excludes {
    margin-top: 40px;
}


.includes-title, .excludes-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.includes-list, .excludes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li, .excludes-list li {
    display: flex;
    margin-bottom: 10px;
    color: #555;
}

.includes-list svg, .excludes-list svg {
    flex: 0 0 20px;
    margin-right: 10px;
    margin-top: 3px;
}

.includes-list svg {
    color: #198754;
}

.excludes-list svg {
    color: #dc3545;
}

/* Itinerary */
.service-itinerary {
    margin-top: 40px;
}

.itinerary-timeline {
    position: relative;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: #eaeaea;
}

.itinerary-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.itinerary-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.itinerary-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.itinerary-description {
    line-height: 1.6;
    color: #555;
}

.service-tabs {
    
    border-collapse: collapse;
    width: 100%;
    font-family: Arial, sans-serif;
}

.tabs-header {
    display: flex;
    background-color: #f0f0f0;
}

.tab-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;

    background-color: #f0f0f0;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:last-child {
    border-right: none;
}

.tab-btn.active {
    background-color: #2046a1;
    color: #fff;
}

.tabs-content {
    padding: 15px;
    background-color: #fff;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}


/* Related Services */
.related-services {
    padding: 20px 0;
    background-color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .service-content-wrapper {
        flex-direction: column;
    }
    
    .service-left-column,
    .service-right-column {
        flex: 1 1 100%;
    }
}

@media (max-width: 576px) {
    .service-title {
        font-size: 24px;
    }
    
    .thumbnail-item {
        flex: 0 0 calc(33.33% - 7px);
    }
    
    .itinerary-item {
        padding-left: 50px;
    }
} 

@media (max-width: 576px) {
    /* Tiêu đề dịch vụ */
    .service-title {
        font-size: 22px;
        text-align: center;
        padding: 0 10px;
    }

    /* Căn chỉnh lại bố cục ảnh */
    .service-main-image {
        margin: 0 auto 15px;
    }

    .service-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
    }

    .thumbnail-item {
        flex: 0 0 calc(30% - 6px);
    }

    /* Căn lề nội dung */
    .service-description,
    .service-meta-info,
    .service-cta,
    .tabs-content {
        padding: 0 10px;
    }

    /* Nút liên hệ */
    .btn-contact {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
    }

    /* Tabs */
    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #ccc;
    }

    .tab-btn:last-child {
        border-bottom: none;
    }

    /* Timeline hành trình */
    .itinerary-timeline::before {
        left: 15px;
    }

    .itinerary-item {
        padding-left: 50px;
    }

    .itinerary-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .itinerary-title {
        font-size: 16px;
    }
  
    .includes-title,
    .excludes-title {
        font-size: 16px;
    }

    .includes-list li,
    .excludes-list li {
        font-size: 14px;
    }

    /* Breadcrumb */
    .breadcrumb-container {
        padding: 10px 10px;
        margin-bottom: 15px;
    }

    .breadcrumbs {
        font-size: 13px;
    }
}

/* Ảnh WordPress có caption và canh giữa */
.wp-caption {
    max-width: 100% !important;
    height: auto;
    margin: 0 auto 20px;
    text-align: center;
}

.wp-caption img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 0 auto;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
    padding-top: 5px;
    line-height: 1.4;
}

/* Căn giữa khi có aligncenter */
.aligncenter {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Wrapper chứa 2 cột */
.service-includes-excludes .custom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Mỗi cột chiếm 50% trên desktop */
.service-includes-excludes .custom-col {
  flex: 1 1 50%;
  box-sizing: border-box;
}

/* Box nội dung */
.includes-box,
.excludes-box {
  padding: 10px;
  background-color: #f9f9f9;
  width: 100%;
}

/* Mobile: mỗi cột full chiều ngang, không bị co vào bên trái */
@media screen and (max-width: 768px) {
  .service-includes-excludes .custom-row {
    flex-direction: column;
    margin-bottom: -300px;
  }

  .service-includes-excludes .custom-col {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .tabs-header {
    flex-direction: column;
    margin-bottom: 10px; /* thêm dòng này */
  }
}
.price-notes {
    padding-bottom: 10px;
}
.btn-booking {
  display: inline-block;
  background-color: #28a745; /* Màu xanh */
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-booking:hover {
  background-color: #218838; /* Xanh đậm hơn khi hover */
  color: #fff;
}
