/* ================================================
   PACKAGE DETAIL PAGE STYLES — pkg-detail.css
   FlyRise Travel
================================================ */

/* ── Hero ── */
.pkg-hero {
    height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.pkg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.08) 100%);
}
.pkg-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 24px 40px;
}
.pkg-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pkg-breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.pkg-breadcrumb a:hover { color: #65A845; }
.pkg-breadcrumb i { font-size: 0.65rem; }
.pkg-breadcrumb span { color: #fff; }
.pkg-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #65A845, #4a8c32);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.pkg-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}
.pkg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}
.pkg-hero-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.88);
    font-weight: 500;
}
.pkg-hero-meta i { color: #65A845; }

/* ── Stats Bar ── */
.pkg-stats-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 50;
}
.pkg-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.pkg-stats-inner::-webkit-scrollbar { display: none; }
.pkg-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 22px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    border-right: 1px solid #e2e8f0;
    white-space: nowrap;
    flex-shrink: 0;
}
.pkg-stat i { color: #1e6fcf; font-size: 0.9rem; }
.pkg-stat-price { margin-left: auto; border-right: none; }
.pkg-stat-price i { color: #65A845; }
.pkg-stat-price strong { color: #1e293b; font-size: 1.1rem; font-weight: 700; }

/* ── Main Layout ── */
.pkg-main {
    background: #f8fafc;
    padding: 48px 0 80px;
}
.pkg-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* ── Section Cards (Left) ── */
.pkg-section-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e8edf4;
}
.pkg-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pkg-section-title i {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #65A845, #1e6fcf);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.pkg-section-card p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 14px;
}
.pkg-section-card p:last-child { margin-bottom: 0; }

/* Info Grid */
.pkg-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.pkg-info-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pkg-info-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
}
.pkg-info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

/* Includes / Excludes */
.pkg-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.pkg-included h4, .pkg-excluded h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pkg-included h4 { color: #16a34a; }
.pkg-excluded h4 { color: #dc2626; }
.pkg-included h4 i { color: #16a34a; }
.pkg-excluded h4 i { color: #dc2626; }
.pkg-included ul, .pkg-excluded ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.pkg-included li, .pkg-excluded li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.88rem;
    color: #374151;
}
.pkg-included li i { color: #16a34a; font-size: 0.8rem; }
.pkg-excluded li i { color: #dc2626; font-size: 0.8rem; }

/* Amenities Grid */
.pkg-amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pkg-amenities-grid span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f0f4f8;
    border: 1px solid #e2e8f0;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 50px;
}
.pkg-amenities-grid span i { color: #1e6fcf; font-size: 0.8rem; }

/* Activities */
.pkg-note {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 18px !important;
    font-style: italic;
}
.pkg-activities-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.pkg-activity {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.2s;
}
.pkg-activity:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.pkg-activity-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #65A845, #1e6fcf);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}
.pkg-activity h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.pkg-activity p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 !important;
}

/* ── Sidebar ── */
.pkg-sidebar {
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Booking Card */
.pkg-booking-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
.pkg-booking-header {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.pkg-booking-price {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}
.pkg-booking-price strong {
    font-size: 2rem;
    color: #fff;
    font-weight: 700;
    margin: 0 4px;
}
.pkg-booking-price span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
}
.pkg-booking-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(101,168,69,0.2);
    color: #65A845;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid rgba(101,168,69,0.3);
}

.pkg-booking-form {
    padding: 22px 22px 24px;
}
.pkg-form-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

/* Override standard search-inputs-row for vertical layout */
.pkg-form-fields {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 14px;
}
.pkg-form-fields .input-group {
    border-radius: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-right: none !important;
}
.pkg-form-fields .input-group:last-child { border-bottom: none !important; }

.pkg-book-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.pkg-form-note {
    text-align: center;
    font-size: 0.78rem;
    color: #94a3b8;
}
.pkg-form-note a { color: #1e6fcf; text-decoration: none; font-weight: 600; }
.pkg-form-note a:hover { text-decoration: underline; }

/* Trust Box */
.pkg-trust-box {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.pkg-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
}
.pkg-trust-item i {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, rgba(101,168,69,0.1), rgba(30,111,207,0.1));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e6fcf;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Related Packages */
.pkg-related {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}
.pkg-related h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}
.pkg-related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    transition: opacity 0.2s;
}
.pkg-related-item:last-child { border-bottom: none; }
.pkg-related-item:hover { opacity: 0.8; }
.pkg-related-item img {
    width: 58px;
    height: 42px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.pkg-related-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.pkg-related-item strong {
    font-size: 0.82rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.3;
}
.pkg-related-item span {
    font-size: 0.76rem;
    color: #65A845;
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .pkg-container { grid-template-columns: 1fr; }
    .pkg-sidebar { position: static; }
    .pkg-hero h1 { font-size: 1.9rem; }
}
@media (max-width: 768px) {
    .pkg-hero { height: 360px; }
    .pkg-hero h1 { font-size: 1.5rem; }
    .pkg-info-grid { grid-template-columns: 1fr; }
    .pkg-inc-exc-grid { grid-template-columns: 1fr; }
    .pkg-section-card { padding: 20px; }
    .pkg-booking-card { border-radius: 14px; }
}
