/* ============================================
   PACKAGES PAGE - PROFESSIONAL DESIGN
   Tour Packages with Rich Itinerary Display
   ============================================ */

/* Breadcrumb Banner */
.packages-breadcrumb {
    background: var(--gradient-overlay),
        url('../../img/img/3.jpeg') center/cover no-repeat;
    padding: 100px 0 50px 0;
}

/* Section Styling */
.packages-modern {
    background: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: rgba(159, 39, 44, 0.1);
    color: var(--zanta-red);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Package Card - Premium Design */
.package-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.package-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.package-card.featured {
    border: 2px solid #f59e0b;
}

.package-card.featured::before {
    content: 'FEATURED';
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    padding: 6px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.package-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.package-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.package-logo-fallback {
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e2e8f0);
    object-fit: contain !important;
}

.package-card:hover .package-img img {
    transform: scale(1.1);
}

.package-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
}

.package-destination {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
}

.package-destination i {
    color: var(--zanta-red);
}

.package-price-tag {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--zanta-red), #3c4971);
    color: #fff;
    padding: 12px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 5;
    box-shadow: 0 8px 25px rgba(177, 25, 37, 0.3);
}

.package-price-tag small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.9;
}

.package-content {
    padding: 2rem;
}

.package-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.package-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--gray);
}

.package-meta-item i {
    color: var(--zanta-red);
}

.package-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.package-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Package Stats */
.package-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.package-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--dark);
}

.package-stat i {
    color: var(--zanta-blue);
}

/* CTA Button */
.btn-package {
    background: linear-gradient(135deg, var(--zanta-red), #3c4971);
    color: #fff;
    width: 100%;
    border-radius: 14px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-package:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(177, 25, 37, 0.35);
}

.btn-package i {
    transition: transform 0.3s ease;
}

.btn-package:hover i {
    transform: translateX(4px);
}

/* Quick View Button */
.btn-quick-view {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: var(--dark);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 5;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
}

.package-card:hover .btn-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.btn-quick-view:hover {
    background: var(--zanta-red);
    color: #fff;
}

/* Package Detail Modal/Expanded View */
.modal-header {
    background: linear-gradient(135deg, var(--zanta-red), var(--zanta-blue));
    color: #fff;
    border: none;
}

.modal-header .modal-title {
    color: #fff !important;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.8;
}

.package-detail-section {
    background: #f8f9fa;
    padding: 5rem 0;
}

.package-detail-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.package-detail-header {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.package-detail-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.package-detail-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
}

.package-detail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: #fff;
    z-index: 5;
}

.package-detail-overlay h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff !important;
}

.package-detail-body {
    padding: 2.5rem;
}

/* Itinerary Timeline */
.itinerary-timeline {
    position: relative;
    padding-left: 30px;
}

.itinerary-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--zanta-red), var(--zanta-blue));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 30px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 16px;
    height: 16px;
    background: #fff;
    border: 3px solid var(--zanta-red);
    border-radius: 50%;
    z-index: 5;
}

.timeline-item.free::before {
    background: #10b981;
    border-color: #10b981;
}

.timeline-item.additional::before {
    background: #f59e0b;
    border-color: #f59e0b;
}

.timeline-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--zanta-red), #3c4971);
    color: #fff;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: var(--gray);
    line-height: 1.6;
}

.timeline-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 8px;
}

.timeline-badge.free {
    background: #d1fae5;
    color: #047857;
}

.timeline-badge.additional {
    background: #fef3c7;
    color: #b45309;
}

/* Attractions Grid */
.attractions-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.attraction-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.attraction-card-img {
    height: 150px;
    overflow: hidden;
}

.attraction-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.attraction-card:hover .attraction-card-img img {
    transform: scale(1.1);
}

.attraction-card-body {
    padding: 1.25rem;
}

.attraction-card-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(159, 39, 44, 0.1);
    color: var(--zanta-red);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.attraction-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.attraction-card-description {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
}

/* Includes/Excludes Lists */
.package-includes-excludes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.includes-list,
.excludes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.includes-list li,
.excludes-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.includes-list li:last-child,
.excludes-list li:last-child {
    border-bottom: none;
}

.includes-list li i {
    color: #10b981;
    margin-top: 3px;
}

.excludes-list li i {
    color: #ef4444;
    margin-top: 3px;
}

/* Notes Section */
.notes-section {
    background: linear-gradient(135deg, #fef3c7, #fef8e5);
    border-radius: 16px;
    padding: 1.5rem;
    border-left: 4px solid #f59e0b;
}

.notes-section h5 {
    color: #b45309;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.notes-list li {
    padding: 8px 0;
    color: #92400e;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.notes-list li::before {
    content: '•';
    color: #f59e0b;
    font-weight: bold;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--zanta-red), #3c4971);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
}

.contact-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff !important;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.contact-card-item i {
    width: 20px;
    text-align: center;
}

.contact-card-item a {
    color: #fff;
    text-decoration: none;
}

.contact-card-item a:hover {
    text-decoration: underline;
}

/* CTA Section */
.packages-cta {
    background: linear-gradient(135deg, var(--zanta-red), #3c4971);
    position: relative;
    overflow: hidden;
}

.packages-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
}

.btn-package-outline {
    border: 2px solid #fff;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-package-outline:hover {
    background: #fff;
    color: var(--zanta-red);
}

/* Responsive */
@media (max-width: 991px) {
    .package-img {
        height: 240px;
    }

    .section-title {
        font-size: 2rem;
    }

    .package-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .packages-breadcrumb {
        padding: 100px 0 40px 0;
    }

    .package-img {
        height: 220px;
    }

    .package-content {
        padding: 1.5rem;
    }

    .package-detail-header {
        height: 280px;
    }

    .package-detail-overlay h2 {
        font-size: 1.8rem;
    }

    .attractions-showcase {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .attractions-showcase {
        grid-template-columns: 1fr;
    }
}

/* Packages Stats Bar */
.packages-stats-bar {
    background: #424b6e;
    padding: 60px 0;
}