/* ============================================
   LP TRAVELS — Package Detail Page CSS
   ============================================ */

/* ===== Breadcrumb Hero ===== */
.pkg-hero {
    position: relative;
    padding: 160px 0 60px;
    overflow: hidden;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

.pkg-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.pkg-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 13, 23, 0.5) 0%, rgba(11, 13, 23, 0.85) 100%);
    z-index: 1;
}

.pkg-breadcrumb {
    margin-bottom: 16px;
}

.pkg-breadcrumb .breadcrumb-item a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: var(--transition);
}

.pkg-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-light);
}

.pkg-breadcrumb .breadcrumb-item.active {
    color: var(--primary-light);
    font-size: 0.85rem;
}

.pkg-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted);
}

.pkg-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.pkg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.pkg-hero-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pkg-hero-meta span i {
    color: var(--primary-light);
}

/* ===== Main Content Section ===== */
.pkg-content-section {
    padding: 24px 0 100px;
    background: #FAFBFF;
}

/* ===== Gallery ===== */
.pkg-gallery {
    margin-bottom: 30px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 420px;
    cursor: pointer;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-main:hover img {
    transform: scale(1.03);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 16px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 0.8rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gallery-fullscreen {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.gallery-fullscreen:hover {
    background: var(--primary);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.thumb {
    flex: 1;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.6;
}

.thumb.active {
    border-color: var(--primary);
    opacity: 1;
}

.thumb:hover {
    opacity: 1;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Quick Highlights ===== */
.pkg-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hl-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: var(--radius-sm);
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.hl-icon.orange {
    background: rgba(255, 107, 107, 0.1);
    color: var(--secondary);
}

.hl-icon.green {
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent);
}

.hl-icon.purple {
    background: rgba(121, 40, 202, 0.1);
    color: var(--accent-2);
}

.highlight-item strong {
    display: block;
    font-size: 0.8rem;
    color: var(--dark);
}

.highlight-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== Package Cards ===== */
.pkg-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
    overflow: hidden;
}

.pkg-card-header {
    padding: 22px 28px;
    border-bottom: 1px solid #F0F1F6;
}

.pkg-card-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkg-card-header h3 i {
    color: var(--primary);
}

.pkg-card-body {
    padding: 24px 28px;
}

.pkg-card-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.pkg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.pkg-tag {
    padding: 5px 14px;
    background: #F3F4FF;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

/* ===== Included / Excluded List ===== */
.inc-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.inc-title.included {
    color: #28a745;
}

.inc-title.excluded {
    color: #dc3545;
}

.inc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inc-list li {
    padding: 8px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f5f5f5;
}

.inc-list li:last-child {
    border-bottom: none;
}

.inc-list li.included i {
    color: #28a745;
    font-weight: 700;
}

.inc-list li.excluded i {
    color: #dc3545;
}

.inc-list li.included {
    color: #444;
}

.inc-list li.excluded {
    color: #999;
}

/* ===== Transport Points ===== */
.transport-points {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.transport-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.tp-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.tp-icon.pickup {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.tp-icon.dropoff {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.tp-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.tp-details h6 {
    font-weight: 600;
    color: var(--dark);
    margin: 4px 0 2px;
    font-size: 0.95rem;
}

.tp-details p {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.tp-time {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.transport-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    margin-left: 24px;
}

.line-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
}

.line-bar {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.line-info {
    padding: 8px 16px;
    background: #F3F4FF;
    border-radius: 50px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0;
}

/* ===== Itinerary ===== */
.itinerary {
    padding: 0;
}

.itin-day {
    border-bottom: 1px solid #F0F1F6;
}

.itin-day:last-child {
    border-bottom: none;
}

.itin-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
}

.itin-toggle:hover {
    background: #FAFBFF;
}

.itin-toggle.active {
    background: #F8F9FF;
}

.itin-day-badge {
    padding: 6px 14px;
    background: var(--gradient-1);
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
}

.itin-day-badge.last {
    background: var(--gradient-2);
}

.itin-day-info {
    flex: 1;
}

.itin-day-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.itin-day-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.itin-chevron {
    font-size: 1rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.itin-toggle.active .itin-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.itin-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
    padding: 0 28px 0 108px;
}

.itin-content.active {
    max-height: 300px;
    padding: 0 28px 24px 108px;
}

.itin-content p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.itin-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.itin-highlights span {
    padding: 5px 14px;
    background: #F3F4FF;
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================
   RIGHT SIDEBAR — BOOKING
   ============================================ */
.booking-sidebar {
    position: sticky;
    top: 90px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.04);
    padding: 28px;
}

.booking-price-box {
    text-align: center;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 1.1rem;
    color: #bbb;
    text-decoration: line-through;
}

.price-discount-badge {
    padding: 3px 10px;
    background: linear-gradient(135deg, #FF6B6B, #FFB800);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
}

.price-main {
    display: inline;
}

.price-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: inline;
}

.price-main h2 span {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.7;
}

.price-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 8px 0 0;
}

.booking-divider {
    border-color: #F0F1F6;
    margin: 20px 0;
}

/* ===== Booking Labels ===== */
.booking-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 12px;
}

.booking-label i {
    color: var(--primary);
}

/* ===== Date Picker ===== */
.date-picker-wrapper {
    position: relative;
}

.date-display {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid #EEF0F6;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.date-display:hover {
    border-color: var(--primary-light);
}

.date-display.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1);
}

.date-col {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
}

.date-col:first-child {
    border-right: 1px solid #EEF0F6;
}

.date-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.date-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.date-value.placeholder {
    color: #bbb;
}

.date-arrow {
    padding: 0 4px;
    color: var(--primary);
    font-size: 0.8rem;
}

/* ===== Calendar Dropdown ===== */
.calendar-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 100;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.calendar-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-header h6 {
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    font-size: 1rem;
}

.cal-nav {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #EEF0F6;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cal-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    text-align: center;
    margin-bottom: 8px;
}

.cal-days-header span {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    padding: 6px 0;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary);
}

.cal-day.disabled {
    color: #ddd;
    cursor: not-allowed;
}

.cal-day.empty {
    cursor: default;
}

.cal-day.today {
    border: 2px solid var(--primary);
    font-weight: 700;
}

.cal-day.start-date {
    background: var(--primary) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.4);
}

.cal-day.end-date {
    background: var(--accent) !important;
    color: #fff !important;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.4);
}

.cal-day.in-range {
    background: rgba(108, 99, 255, 0.08);
    color: var(--primary);
    border-radius: 4px;
}

.cal-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #F0F1F6;
}

.cal-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.leg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.leg-dot.start {
    background: var(--primary);
}

.leg-dot.end {
    background: var(--accent);
}

.leg-dot.range {
    background: rgba(108, 99, 255, 0.15);
}

/* ===== Members Counter ===== */
.members-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.member-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #F0F1F6;
}

.member-row:last-child {
    border-bottom: none;
}

.member-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.member-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.member-counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid #EEF0F6;
    background: transparent;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.counter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.counter-btn:active {
    transform: scale(0.9);
}

.counter-value {
    font-size: 1.1rem;
    font-weight: 700;
    min-width: 30px;
    text-align: center;
    color: var(--dark);
}

/* ===== Price Breakdown ===== */
.price-breakdown {
    margin-bottom: 20px;
}

.pb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.88rem;
    color: #666;
}

.pb-row.discount span:last-child {
    color: #28a745;
    font-weight: 600;
}

.pb-row.total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.pb-row.total span:last-child {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Book Now Button ===== */
.btn-book-now {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--gradient-1);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(108, 99, 255, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-book-now::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(108, 99, 255, 0.5);
}

.btn-book-now:hover::before {
    left: 100%;
}

.btn-book-now:active {
    transform: translateY(0) scale(0.98);
}

.book-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 12px 0 20px;
}

.book-note i {
    color: #28a745;
}

/* ===== Trust Badges ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid #F0F1F6;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1199px) {
    .pkg-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .pkg-hero-title {
        font-size: 2rem;
    }

    .booking-sidebar {
        position: static;
        margin-top: 20px;
    }

    .itin-content.active {
        padding-left: 28px;
    }
}

@media (max-width: 767px) {
    .pkg-hero {
        padding: 130px 0 40px;
        min-height: auto;
    }

    .pkg-hero-title {
        font-size: 1.6rem;
    }

    .pkg-hero-meta {
        gap: 12px;
    }

    .pkg-highlights {
        grid-template-columns: 1fr;
    }

    .gallery-main {
        height: 260px;
    }

    .gallery-thumbs {
        gap: 6px;
    }

    .thumb {
        height: 60px;
    }

    .pkg-card-header {
        padding: 18px 20px;
    }

    .pkg-card-body {
        padding: 18px 20px;
    }

    .itin-toggle {
        padding: 16px 20px;
    }

    .itin-content.active {
        padding: 0 20px 20px 20px;
    }

    .booking-sidebar {
        padding: 20px;
    }

    .trust-badges {
        gap: 12px;
    }

    .calendar-dropdown {
        padding: 14px;
    }
}

/* ============================================
   Internal Navigation
   ============================================ */
.pkg-nav-wrapper {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
    position: sticky;
    top: 90px;
    z-index: 99;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.pkg-internal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pkg-internal-nav ul::-webkit-scrollbar {
    display: none;
}

.pkg-internal-nav ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    color: #666;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid transparent;
}

.pkg-internal-nav ul li a i {
    font-size: 1.1rem;
}

.pkg-internal-nav ul li a:hover {
    color: var(--primary);
    background: #fff;
    border-color: rgba(108, 99, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pkg-internal-nav ul li a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary, #6C63FF), var(--accent, #00D2FF));
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
    transform: translateY(-2px);
}
