/* ============================================
   PACKAGE DETAIL CSS - Safarnamaa
   Path: public/css/frontend/package-detail.css
   COMPLETE MERGED FILE
   ============================================ */

/* ── BANNER ── */
.package-detail-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.package-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,27,42,0.3) 0%,
        rgba(13,27,42,0.85) 100%
    );
}

.package-banner-content {
    position: relative;
    z-index: 2;
    color: white;
    padding-bottom: 40px;
    width: 100%;
}

.package-banner-content .breadcrumb {
    margin-bottom: 15px;
}

.package-banner-content .breadcrumb-item a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 13px;
}

.package-banner-content .breadcrumb-item.active {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}

.package-banner-content .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.4);
}

.package-banner-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.package-banner-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    opacity: 0.85;
}

.package-banner-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ── MAIN SECTION ── */
.package-detail-section {
    padding: 50px 0 80px;
    background: #f8f9ff;
}

/* ── DETAIL CARD ── */
.detail-card {
    background: white;
    border-radius: 14px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

.detail-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section-title i { color: #C9922A; }

/* ── QUICK INFO BAR ── */
.quick-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.quick-info-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px;
    border-right: 1px solid #f0f0f0;
}

.quick-info-item:last-child { border-right: none; }

.quick-info-item i {
    font-size: 22px;
    color: #C9922A;
}

.qi-label {
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.qi-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
}

/* ── DESCRIPTION ── */
.package-description {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
}

.package-description h2,
.package-description h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 20px 0 12px;
}

.package-description p { margin-bottom: 14px; }

.package-description ul {
    padding-left: 20px;
    margin-bottom: 14px;
}

.package-description li { margin-bottom: 6px; }

/* ── HIGHLIGHTS ── */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
    padding: 10px 12px;
    background: #f8f9ff;
    border-radius: 8px;
    border-left: 3px solid #C9922A;
}

.highlight-item i {
    color: #26de81;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── ITINERARY ── */
.itinerary-content {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.itinerary-content h3,
.itinerary-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 18px 0 8px;
    padding: 10px 15px;
    background: #f0f3ff;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

/* ── INCLUSIONS/EXCLUSIONS ── */
.inc-exc-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.inc-title { color: #26de81; }
.exc-title { color: #e74c3c; }

.inc-exc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inc-exc-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #555;
}

.inc-exc-list li:last-child { border-bottom: none; }

.inclusions-list li i  { color: #26de81; margin-top: 2px; }
.exclusions-list li i  { color: #e74c3c; margin-top: 2px; }

/* ============================================
   DEPARTURE DATES SECTION
   ============================================ */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

/* DATE CARD */
.date-card {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    background: white;
}

.date-card:hover:not(.date-card-full) {
    border-color: #C9922A;
    box-shadow: 0 6px 20px rgba(201,146,42,0.2);
    transform: translateY(-3px);
}

.date-card.selected {
    border-color: #C9922A;
    background: #FDF3E0;
    box-shadow: 0 6px 20px rgba(201,146,42,0.25);
}

.date-card-full {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f9f9f9;
}

/* DATE STATUS BADGE */
.date-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
}

/* DATE MAIN DISPLAY */
.date-main {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 4px;
}

.date-day {
    font-size: 36px;
    font-weight: 800;
    color: #0D1B2A;
    line-height: 1;
    font-family: 'Playfair Display', 'Georgia', serif;
}

.date-month-year {
    display: flex;
    flex-direction: column;
}

.date-month-year span:first-child {
    font-size: 16px;
    font-weight: 700;
    color: #C9922A;
    line-height: 1;
}

.date-month-year span:last-child {
    font-size: 12px;
    color: #888;
}

.date-weekday {
    font-size: 11px;
    color: #888;
    margin-bottom: 10px;
}

/* DATE DETAILS */
.date-details { margin-bottom: 10px; }

.date-detail-item {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 4px;
}

.date-detail-item i {
    color: #C9922A;
    font-size: 11px;
    width: 12px;
}

/* SEATS PROGRESS */
.date-seats { margin-top: 8px; }

.seats-bar {
    height: 5px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.seats-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.5s ease;
}

.seats-text {
    font-size: 12px;
    color: #888;
}

/* DATE PRICE */
.date-price {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    margin-top: 10px;
    display: flex;
    align-items: baseline;
    gap: 5px;
    flex-wrap: wrap;
}

.date-price-current {
    font-size: 18px;
    font-weight: 800;
    color: #0D1B2A;
}

.date-price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
}

.date-price-per {
    font-size: 11px;
    color: #888;
    margin-left: auto;
}

/* SELECTED INDICATOR */
.date-select-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #C9922A;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s;
}

.date-card.selected .date-select-indicator { opacity: 1; }

/* ── PRICE SIDEBAR CARD ── */
.price-sidebar-card {
    padding: 0;
    overflow: hidden;
}

.price-card-header {
    background: linear-gradient(135deg, #0D1B2A, #1A2F42);
    color: white;
    padding: 22px 20px;
    text-align: center;
}

.price-from-label {
    font-size: 12px;
    opacity: 0.65;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 5px;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: #E8B84B;
}

.price-original {
    font-size: 16px;
    text-decoration: line-through;
    opacity: 0.5;
}

.price-discount-badge {
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.price-per-person {
    font-size: 12px;
    opacity: 0.6;
}

.price-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-book-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #C9922A, #B8791A);
    color: white;
    padding: 13px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}

.price-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201,146,42,0.4);
    color: white;
}

.price-whatsapp-btn {
    display: block;
    text-align: center;
    background: #25D366;
    color: white;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.price-whatsapp-btn:hover {
    background: #128C7E;
    color: white;
}

.price-enquiry-btn {
    display: block;
    text-align: center;
    background: #f8f9ff;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.price-enquiry-btn:hover {
    background: #667eea;
    color: white;
}

.price-card-stats {
    padding: 0 18px 18px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #666;
}

.stat-row:last-child { border-bottom: none; }
.stat-row i { color: #C9922A; margin-right: 5px; }
.stat-row strong { color: #1a1a2e; }

/* ── GALLERY GRID ── */
.package-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s;
}

.gallery-thumb:hover img { transform: scale(1.08); }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .quick-info-bar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .quick-info-item {
        flex: 0 0 50%;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    .package-detail-banner { height: 300px; }
    .dates-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .package-detail-banner { height: 250px; }
    .package-banner-meta { gap: 10px; font-size: 13px; }
    .dates-grid { grid-template-columns: 1fr 1fr; }
    .quick-info-item { flex: 0 0 50%; }
    .price-amount { font-size: 28px; }
}

@media (max-width: 400px) {
    .dates-grid { grid-template-columns: 1fr; }
}
