/* Package Detail Page Styles */
:root {
    --primary-color: #5191FA;
    --secondary-color: #FA5636;
    --text-color: #1A2B48;
    --text-light: #5E6D77;
    --bg-light: #F9F9F9;
    --border-color: #EAEAEA;
    --success-color: #28a745;
    --card-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --card-shadow-hover: 0 10px 20px rgba(0,0,0,0.12);
}

.bravo_detail_pack {
    padding-bottom: 50px;
    background-color: #f5f7fb;
}

/* Banner & Gallery */
.bravo_detail_pack .bravo_banner {
    position: relative;
    margin-bottom: 40px;
    background-color: #000;
}

.bravo_detail_pack .gallery-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.bravo_detail_pack .gallery-container .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bravo_detail_pack .gallery-container .item.active {
    opacity: 1;
}

.bravo_detail_pack .gallery-container .btn-group {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
}

.bravo_detail_pack .single-image {
    height: 450px;
    background-size: cover;
    background-position: center;
}

/* Content Area */
.pack-detail-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.pack-header {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
}

.pack-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
    font-size: 14px;
}

.pack-breadcrumb .breadcrumb-item {
    color: var(--text-light);
}

.pack-breadcrumb .breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 500;
}

.pack-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-light);
}

.pack-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.pack-service-type {
    margin-bottom: 15px;
}

.pack-service-type .badge {
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 500;
}

.pack-short-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-top: 15px;
}

.pack-short-desc p {
    margin-bottom: 0;
}

.pack-review-score {
    margin-top: 15px;
}

.pack-review-score .badge {
    font-size: 16px;
    padding: 8px 12px;
}

/* Section Headings */
.pack-content h3, 
.pack-gallery h3,
.pack-services h3, 
.pack-policy h3, 
.pack-conditions h3,
.pack-reviews h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    margin-top: 40px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.pack-content h3::after,
.pack-gallery h3::after,
.pack-services h3::after,
.pack-policy h3::after,
.pack-conditions h3::after,
.pack-reviews h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.pack-content .content {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 40px;
}

.pack-content .content p {
    margin-bottom: 15px;
}

/* Gallery Grid */
.pack-gallery {
    margin-top: 40px;
    margin-bottom: 40px;
}

.pack-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.pack-gallery .gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    background: #f0f0f0;
}

.pack-gallery .gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.pack-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.pack-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.pack-gallery .gallery-item::after {
    content: '\f00e';
    font-family: 'FontAwesome';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pack-gallery .gallery-item:hover::after {
    opacity: 1;
}

/* Gallery Carousel */
.pack-gallery-carousel {
    margin-top: 40px;
    margin-bottom: 40px;
}

.pack-gallery-carousel .carousel {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
}

.pack-gallery-carousel .carousel-inner {
    border-radius: 16px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pack-gallery-carousel .carousel-item {
    height: 500px;
    position: relative;
    display: none;
    float: left;
    width: 100%;
    margin-right: -100%;
    backface-visibility: hidden;
    transition: transform .6s ease-in-out;
}

.pack-gallery-carousel .carousel-item.active,
.pack-gallery-carousel .carousel-item-next,
.pack-gallery-carousel .carousel-item-prev {
    display: block;
}

.pack-gallery-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Thumbnails */
.carousel-thumbnails {
    margin-top: 20px;
}

.thumbnail-item {
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    height: 80px;
}

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

.thumbnail-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(81, 145, 250, 0.2);
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .pack-gallery-carousel .carousel-item {
        height: 300px;
    }
    
    .thumbnail-item {
        height: 60px;
    }
}


/* Services Grid */
.pack-services {
    margin-top: 40px;
    margin-bottom: 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-group {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-group:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(81, 145, 250, 0.1);
}

.service-type-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.service-type-title i {
    margin-right: 12px;
    font-size: 20px;
}

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

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px dashed #e5e5e5;
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-info {
    flex: 1;
}

.service-info strong {
    display: block;
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 4px;
}

.service-info .qty {
    color: var(--text-light);
    font-weight: normal;
    font-size: 13px;
}

.service-info small {
    font-size: 13px;
    line-height: 1.5;
}

.service-cost {
    margin-left: 15px;
    font-weight: 600;
}

.service-included i {
    font-size: 18px;
}

/* Booking Form */
.pack-booking-form {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.pack-price-box {
    padding: 30px;
    background: #1A2B48;
    color: #fff;
    text-align: center;
}

.price-header {
    margin-bottom: 20px;
}

.original-price {
    font-size: 18px;
    opacity: 1;
    margin-bottom: 8px;
    color: #fff;
}

.original-price del {
    margin-right: 8px;
    color: rgba(255,255,255,0.7);
}

.discount-badge {
    background: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    color: #fff;
}

.current-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    justify-content: center;
}

.current-price .price {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.current-price .price-unit {
    font-size: 16px;
    opacity: 1;
    color: rgba(255,255,255,0.9);
}

.promo-code {
    background: rgba(255,255,255,0.15);
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #fff;
}

.promo-code i {
    margin-right: 8px;
    color: #fff;
}

.promo-code code {
    background: #fff;
    color: #1A2B48;
    padding: 5px 10px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    font-size: 14px;
}

.pack-booking-form-inner {
    padding: 30px;
}

.pack-booking-form-inner .form-group {
    margin-bottom: 20px;
}

.pack-booking-form-inner .form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 14px;
    display: block;
}

.pack-booking-form-inner .form-control,
.pack-booking-form-inner select {
    height: 48px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 0 15px;
    font-size: 15px;
    transition: all 0.3s;
}

.pack-booking-form-inner .form-control:focus,
.pack-booking-form-inner select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(81, 145, 250, 0.1);
    outline: none;
}

.availability-message {
    min-height: 24px;
    font-size: 14px;
    font-weight: 500;
}

.btn-book {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    padding: 14px;
    transition: all 0.3s;
    border-radius: 8px;
    width: 100%;
}

.btn-book:hover {
    background: #e64a2e;
    border-color: #e64a2e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(250, 86, 54, 0.3);
}

.btn-book i {
    margin-right: 8px;
}

.booking-note {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.booking-note small {
    color: var(--text-light);
    font-size: 13px;
}

/* Policy */
.pack-policy {
    margin-top: 40px;
    margin-bottom: 40px;
}

.policy-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    line-height: 1.8;
    color: var(--text-color);
    margin-top: 25px;
}

/* Conditions */
.pack-conditions {
    margin-top: 40px;
    margin-bottom: 40px;
}

.conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.condition-item {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.condition-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(81, 145, 250, 0.1);
}

.condition-item i {
    font-size: 28px;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.condition-item span {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.5;
}

/* Reviews */
.pack-reviews {
    margin-top: 40px;
    margin-bottom: 40px;
}

.review-list {
    margin-top: 25px;
}

.review-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

/* Related Packs */
.related-packs {
    margin-top: 50px;
}

.related-packs h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Wishlist & Share */
.pack-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    color: var(--text-light);
    transition: all 0.3s;
    cursor: pointer;
}

.btn-action:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-action.active {
    background: #ffecec;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .pack-booking-form {
        margin-top: 30px;
        position: static !important;
    }
    
    .bravo_detail_pack .gallery-container,
    .bravo_detail_pack .single-image {
        height: 350px;
    }
    
    .pack-detail-content {
        padding: 25px;
    }
    
    .pack-title {
        font-size: 26px;
    }
    
    .services-grid,
    .conditions-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .pack-title {
        font-size: 22px;
    }
    
    .pack-content h3,
    .pack-gallery h3,
    .pack-services h3,
    .pack-policy h3,
    .pack-conditions h3 {
        font-size: 20px;
    }
    
    .current-price .price {
        font-size: 28px;
    }
}
