/*--------------------------------------------------------------
# Package Detail
--------------------------------------------------------------*/
.package-detail {
    position: relative;
    display: block;
    padding: 180px 0 100px 0;
    background: var(--TSWTravel-white);
    z-index: 1;
    margin-top: 70px;
}

.package-detail__content {
    position: relative;
    display: block;
}

.package-detail__header {
    position: relative;
    display: block;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.package-detail__category-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.package-detail__category {
    position: relative;
    display: inline-block;
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__seat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 184, 166, 0.1);
    color: var(--TSWTravel-base);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

.package-detail__seat-badge i {
    font-size: 16px;
}

.package-detail__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--TSWTravel-black);
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: var(--TSWTravel-font-two);
}

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

.package-detail__meta-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--TSWTravel-gray);
    font-size: 16px;
    font-weight: 500;
}

.package-detail__meta-item i {
    color: var(--TSWTravel-base);
    font-size: 18px;
}

.package-detail__images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.package-detail__image {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    text-align: center;
}

.package-detail__image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    transition: all 500ms ease;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.package-detail__image:hover img {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.package-detail__section {
    position: relative;
    display: block;
    margin-bottom: 30px;
    background: #F8F9FA;
    border-radius: 15px;
    border-left: 4px solid var(--TSWTravel-base);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.package-detail__section:hover,
.package-detail__section.is-open {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.package-detail__section-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
}

.package-detail__section-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--TSWTravel-black);
    margin: 0;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__section-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, background 0.3s ease;
}

.package-detail__section-toggle::before,
.package-detail__section-toggle::after {
    content: "";
    position: absolute;
    background: var(--TSWTravel-base);
    transition: transform 0.3s ease;
}

.package-detail__section-toggle::before {
    width: 14px;
    height: 2px;
}

.package-detail__section-toggle::after {
    width: 2px;
    height: 14px;
}

.package-detail__section.is-open .package-detail__section-toggle,
.package-detail__section:hover .package-detail__section-toggle {
    background: var(--TSWTravel-base);
    border-color: var(--TSWTravel-base);
}

.package-detail__section.is-open .package-detail__section-toggle::before,
.package-detail__section:hover .package-detail__section-toggle::before,
.package-detail__section.is-open .package-detail__section-toggle::after,
.package-detail__section:hover .package-detail__section-toggle::after {
    background: #ffffff;
}

.package-detail__section.is-open .package-detail__section-toggle::after {
    transform: scaleY(0);
}

.package-detail__section-body {
    padding: 0 24px 24px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.package-detail__section:hover .package-detail__section-body,
.package-detail__section.is-open .package-detail__section-body {
    max-height: 1500px;
    opacity: 1;
}

.package-detail__section-body > *:last-child {
    margin-bottom: 0;
}

.package-detail__description p {
    font-size: 16px;
    color: var(--TSWTravel-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.package-detail__hotel {
    position: relative;
    display: block;
    margin-bottom: 30px;
}

.package-detail__hotel h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 15px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__hotel-info strong {
    font-size: 18px;
    color: var(--TSWTravel-base);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.package-detail__hotel-info p {
    font-size: 14px;
    color: var(--TSWTravel-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.package-detail__hotel-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-detail__hotel-info ul li {
    font-size: 14px;
    color: var(--TSWTravel-gray);
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.package-detail__hotel-info ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--TSWTravel-base);
    font-weight: bold;
}

.package-detail__flight-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 10px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__flight-info p {
    font-size: 14px;
    color: var(--TSWTravel-gray);
    margin-bottom: 5px;
}

.package-detail__timeline {
    position: relative;
    display: block;
}

.package-detail__timeline-item {
    position: relative;
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--TSWTravel-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(20px);
}

.package-detail__timeline-date {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    height: 80px;
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    flex-shrink: 0;
}

.package-detail__timeline-content {
    position: relative;
    display: block;
    flex: 1;
}

.package-detail__timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 10px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__timeline-content p {
    font-size: 14px;
    color: var(--TSWTravel-gray);
    line-height: 1.6;
    margin: 0;
}

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

.package-detail__facilities-list li {
    position: relative;
    padding: 10px 0;
    padding-left: 30px;
    font-size: 14px;
    color: var(--TSWTravel-gray);
    border-bottom: 1px solid #E5E5E5;
}

.package-detail__facilities-list li:last-child {
    border-bottom: none;
}

.package-detail__facilities-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--TSWTravel-base);
    font-size: 16px;
}

/* Icon check (hijau) */
.package-detail__facilities-list li i.icon-check {
    color: var(--TSWTravel-base);
    font-size: 16px;
}

/* Icon cross dari flaticon (merah, ukuran lebih kecil) */
.package-detail__facilities-list li i.fi-rr-cross {
    color: #e74c3c;
    font-size: 12px;
    top: 13px;
}

.package-detail__requirements-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 15px;
    margin-top: 25px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__requirements-content h4:first-child {
    margin-top: 0;
}

.package-detail__requirements-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-detail__requirements-content ul li {
    position: relative;
    padding: 8px 0;
    padding-left: 25px;
    font-size: 14px;
    color: var(--TSWTravel-gray);
    border-bottom: 1px solid #E5E5E5;
}

.package-detail__requirements-content ul li:last-child {
    border-bottom: none;
}

.package-detail__requirements-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--TSWTravel-base);
    font-weight: bold;
    font-size: 18px;
}

/* Booking Sidebar */
.package-detail__booking {
    position: relative;
    display: block;
    height: fit-content;
}

.package-detail__booking-card {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 350px;
    background: var(--TSWTravel-white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(2, 157, 155, 0.1);
    z-index: 1000;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.package-detail__price {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E5E5E5;
}

.package-detail__price-label {
    font-size: 16px;
    color: var(--TSWTravel-gray);
    margin-bottom: 10px;
}

.package-detail__price-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.package-detail__price-currency {
    font-size: 20px;
    color: var(--TSWTravel-base);
    font-weight: 600;
}

.package-detail__price-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--TSWTravel-black);
    font-family: var(--TSWTravel-font-two);
}

.package-detail__price-unit {
    font-size: 16px;
    color: var(--TSWTravel-gray);
}

.package-detail__booking-form h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 20px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__form-group {
    position: relative;
    display: block;
    margin-bottom: 20px;
}

.package-detail__form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 8px;
    display: block;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__form-group input,
.package-detail__form-group select,
.package-detail__form-group textarea {
    width: 100%;
    height: 50px;
    background: #F8F9FA;
    border: 2px solid #E5E5E5;
    border-radius: 10px;
    padding: 0 15px;
    font-size: 14px;
    color: var(--TSWTravel-black);
    transition: all 500ms ease;
    outline: none;
}

.package-detail__form-group textarea {
    height: 80px;
    padding: 15px;
    resize: vertical;
}

.package-detail__form-group input:focus,
.package-detail__form-group select:focus,
.package-detail__form-group textarea:focus {
    border-color: var(--TSWTravel-base);
    background: var(--TSWTravel-white);
    box-shadow: 0 0 0 3px rgba(2, 157, 155, 0.1);
}

.package-detail__booking-btn {
    width: 100%;
}

.package-detail__contact {
    position: relative;
    display: block;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #E5E5E5;
}

.package-detail__contact h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--TSWTravel-black);
    margin-bottom: 20px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__contact-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--TSWTravel-gray);
}

.package-detail__contact-item i {
    color: var(--TSWTravel-base);
    font-size: 16px;
    width: 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 991px) {
    .package-detail {
        padding: 180px 0;
    }
    
    .package-detail__title {
        font-size: 28px;
    }
    
    .package-detail__meta {
        gap: 20px;
    }
    
    .package-detail__booking-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        width: 100% !important;
        margin-top: 40px;
        max-height: none !important;
    }
}

@media (max-width: 768px) {
    .package-detail {
        padding: 160px 0;
    }
    
    .package-detail__title {
        font-size: 24px;
    }
    
    .package-detail__meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .package-detail__timeline-item {
        flex-direction: column;
        text-align: center;
    }
    
    .package-detail__timeline-date {
        align-self: center;
    }
    
    .package-detail__price-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .package-detail__booking-card {
        padding: 120;
    }
    
    .package-detail__description,
    .package-detail__hotels,
    .package-detail__flight,
    .package-detail__itinerary,
    .package-detail__facilities,
    .package-detail__requirements {
        padding: 20px;
    }
}

/*--------------------------------------------------------------
# Unavailable Package Detail Styles
--------------------------------------------------------------*/
.package-detail__unavailable-badge {
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.package-detail__unavailable-badge i {
    font-size: 16px;
}

.package-detail__images--unavailable {
    position: relative;
    filter: grayscale(100%);
    opacity: 0.7;
}

.package-detail__unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 8px;
}

.package-detail__unavailable-message {
    background: rgba(220, 38, 38, 0.95);
    color: white;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.package-detail__unavailable-message i {
    font-size: 32px;
    margin-bottom: 10px;
    display: block;
}

.package-detail__unavailable-message p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.package-detail__unavailable-notice {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 3px solid #ef4444;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
    position: relative;
    overflow: hidden;
}

.package-detail__unavailable-notice::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.05) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

.package-detail__unavailable-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.package-detail__unavailable-icon i {
    font-size: 64px;
    color: #ef4444;
    display: block;
    animation: shake 2s ease-in-out infinite;
    position: relative;
}

@keyframes shake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-5deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.package-detail__unavailable-notice h4 {
    color: #991b1b;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__unavailable-notice p {
    color: #7f1d1d;
    margin-bottom: 28px;
    line-height: 1.7;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.package-detail__unavailable-notice .thm-btn {
    background: var(--TSWTravel-base);
    color: var(--TSWTravel-white);
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(2, 157, 155, 0.3);
}

.package-detail__unavailable-notice .thm-btn:hover {
    background: var(--TSWTravel-base-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 157, 155, 0.4);
}

.package-detail__unavailable-notice .thm-btn span {
    background: rgba(255, 255, 255, 0.2);
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.package-detail__unavailable-notice .thm-btn:hover span {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/*--------------------------------------------------------------
# Form Feedback Styles
--------------------------------------------------------------*/
.package-detail__form-feedback {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #22c55e;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    animation: slideInUp 0.5s ease;
}

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

.package-detail__form-feedback .feedback-icon {
    font-size: 64px;
    color: #22c55e;
    margin-bottom: 20px;
    animation: scaleIn 0.5s ease;
}

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

.package-detail__form-feedback h4 {
    color: #15803d;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    font-family: var(--TSWTravel-font-two);
}

.package-detail__form-feedback p {
    color: #166534;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.package-detail__booking-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .package-detail__unavailable-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .package-detail__unavailable-badge i {
        font-size: 14px;
    }
    
    .package-detail__unavailable-message {
        padding: 16px 24px;
    }
    
    .package-detail__unavailable-message i {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .package-detail__unavailable-message p {
        font-size: 14px;
    }
    
    .package-detail__unavailable-notice {
        padding: 32px 24px;
        border-radius: 12px;
    }
    
    .package-detail__unavailable-notice i {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .package-detail__unavailable-notice h4 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .package-detail__unavailable-notice p {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .package-detail__unavailable-notice .thm-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .package-detail__form-feedback {
        padding: 24px 20px;
    }
    
    .package-detail__form-feedback .feedback-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .package-detail__form-feedback h4 {
        font-size: 20px;
    }
    
    .package-detail__form-feedback p {
        font-size: 15px;
    }
}
