/* ============================================================
   packages.css — Batur Jeep Experience
   Tour Packages Page Specific Styles
   ============================================================ */

/* =============================================================
   PAGE HERO (Packages / Fleet / About / Contact)
============================================================= */
.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3.5rem;
    overflow: hidden;
    padding-top: var(--navbar-h);
}
.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 30%;
    transform: scale(1.04);
    transition: transform 6s ease;
}
.page-hero:hover .page-hero__bg { transform: scale(1.08); }
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10,28,20,0.88) 0%,
        rgba(10,28,20,0.55) 50%,
        rgba(10,28,20,0.28) 100%
    );
}
.page-hero__particles { position: absolute; inset: 0; pointer-events: none; }
.page-hero__particles span {
    position: absolute;
    border-radius: 50%;
    background: rgba(244,162,97,0.1);
    animation: heroParticle 10s ease-in-out infinite;
}
.page-hero__particles span:nth-child(1) { width:100px;height:100px;top:30%;left:5%;  animation-delay:0s; }
.page-hero__particles span:nth-child(2) { width:60px; height:60px; top:20%;right:15%;animation-delay:3s; }
.page-hero__particles span:nth-child(3) { width:80px; height:80px; top:55%;right:5%; animation-delay:6s; }

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.875rem;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.3s ease; }
.page-hero__breadcrumb a:hover { color: #f8c09a; }
.page-hero__breadcrumb i { font-size: 0.6rem; }
.page-hero__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.65rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.page-hero__subtitle {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    font-style: italic;
}


/* =============================================================
   PACKAGES FILTER BAR
============================================================= */
.packages-filter-bar {
    background: #fff;
    border-bottom: 1px solid #F3F4F6;
    padding: 1.25rem 0;
    position: sticky;
    top: 72px;
    z-index: 90;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.filter-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #6B7280;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.filter-pill i { font-size: 0.8rem; }
.filter-pill:hover {
    border-color: #2D6A4F;
    color: #2D6A4F;
    background: rgba(45,106,79,0.04);
}
.filter-pill.is-active {
    background: #2D6A4F;
    border-color: #2D6A4F;
    color: #fff;
    box-shadow: 0 4px 12px rgba(45,106,79,0.25);
}
.filter-bar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}
.filter-count { font-size: 0.8rem; color: #6B7280; font-family: 'Poppins', sans-serif; }
.filter-count strong { color: #2D6A4F; }
.filter-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #374151;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.filter-sort-btn:hover { border-color: #2D6A4F; color: #2D6A4F; }
.filter-sort-dropdown {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}
.filter-sort-dropdown.is-open {
    max-height: 80px;
    opacity: 1;
    pointer-events: all;
}
.sort-option {
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    border: 1.5px solid #E5E7EB;
    background: #fff;
    color: #6B7280;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}
.sort-option:hover { border-color: #2D6A4F; color: #2D6A4F; }
.sort-option.is-active { background: #2D6A4F; border-color: #2D6A4F; color: #fff; }


/* =============================================================
   PACKAGES LIST — Horizontal Card Grid
============================================================= */
.packages-list-section {
    padding: 3.5rem 0 4rem;
    background: #F9FAFB;
}
.pkg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* ── pkg-card (horizontal layout) ─── */
.pkg-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
    border: 1px solid #F3F4F6;
    transition: all 0.35s ease;
}
.pkg-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0,0,0,0.14);
    border-color: rgba(45,106,79,0.18);
}
.pkg-card--hidden { display: none !important; }

/* Left: image column */
.pkg-card__img-wrap {
    position: relative;
    width: 220px;
    min-width: 220px;
    flex-shrink: 0;
    overflow: hidden;
}
.pkg-card__img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.55s ease;
}
.pkg-card:hover .pkg-card__img { transform: scale(1.08); }

/* Badge */
.pkg-card__badge {
    position: absolute;
    top: 12px;
    left: 0;
    padding: 0.28rem 0.65rem 0.28rem 0.75rem;
    border-radius: 0 9999px 9999px 0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    z-index: 2;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.badge-icon { font-size: 0.72rem; }
.pkg-card__badge--sunrise    { background: rgba(244,162,97,0.93);  color: #fff; }
.pkg-card__badge--bestseller { background: rgba(230,57,70,0.93);   color: #fff; }
.pkg-card__badge--private    { background: rgba(29,53,87,0.93);    color: #fff; }
.pkg-card__badge--sunset     { background: rgba(82,183,136,0.93);  color: #fff; }

/* Persons bubble */
.pkg-card__persons {
    position: absolute;
    bottom: 12px;
    right: 10px;
    background: rgba(0,0,0,0.62);
    backdrop-filter: blur(6px);
    color: rgba(255,255,255,0.9);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.22rem 0.55rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Poppins', sans-serif;
}
.pkg-card__persons i { font-size: 0.6rem; color: #F4A261; }

/* Right: body column */
.pkg-card__body {
    padding: 1.2rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.pkg-card__tags {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
.pkg-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}
.pkg-tag--pickup  { background: rgba(45,106,79,0.1);  color: #2D6A4F;  }
.pkg-tag--meeting { background: rgba(244,162,97,0.12); color: #e08040;  }
.pkg-tag--duration{ background: rgba(29,53,87,0.08);  color: #1D3557;  }
.pkg-tag i { font-size: 0.6rem; }

.pkg-card__title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #111827;
    line-height: 1.2;
    margin-bottom: 0.45rem;
}
.pkg-card__desc {
    font-size: 0.83rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 0.65rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pkg-card__highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.875rem;
}
.pkg-card__highlights li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.76rem;
    color: #4b5563;
}
.pkg-card__highlights i { font-size: 0.6rem; color: #52B788; flex-shrink: 0; }

.pkg-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.8rem;
    border-top: 1px solid #F3F4F6;
    margin-top: auto;
    flex-wrap: wrap;
}
.pkg-card__price-wrap { display: flex; flex-direction: column; }
.pkg-card__price-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #9CA3AF;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.1rem;
    font-family: 'Poppins', sans-serif;
}
.pkg-card__price-row { display: flex; align-items: baseline; gap: 0.1rem; }
.pkg-card__price-rp {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #e08040;
}
.pkg-card__price-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #e08040;
    line-height: 1;
}
.pkg-card__price-unit { font-size: 0.68rem; color: #9CA3AF; margin-top: 0.1rem; }

.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.15rem;
    background: #2D6A4F;
    color: #fff;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(45,106,79,0.25);
    flex-shrink: 0;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}
.btn-book i { font-size: 0.7rem; transition: transform 0.3s ease; }
.btn-book:hover {
    background: #1e4d38;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(45,106,79,0.35);
    color: #fff;
}
.btn-book:hover i { transform: translateX(3px); }

/* Empty state */
.packages-empty {
    text-align: center;
    padding: 5rem 2rem;
    grid-column: 1 / -1;
}
.packages-empty__icon { font-size: 3rem; color: #D1D5DB; margin-bottom: 1rem; }
.packages-empty h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 0.5rem;
}
.packages-empty p { color: #9CA3AF; margin-bottom: 1.5rem; }


/* =============================================================
   CUSTOM PACKAGE CTA BANNER
============================================================= */
.custom-pkg-banner {
    background: #F9FAFB;
    padding: 2rem 0 4rem;
}
.custom-pkg-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(135deg, #1e4d38 0%, #2D6A4F 60%, #3a7d5e 100%);
    border-radius: 24px;
    padding: 2.25rem 2.75rem;
    box-shadow: 0 8px 32px rgba(45,106,79,0.22);
    position: relative;
    overflow: hidden;
}
.custom-pkg-banner__inner::before {
    content: '';
    position: absolute;
    top: -40%; right: -5%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.custom-pkg-banner__inner::after {
    content: '';
    position: absolute;
    bottom: -50%; right: 20%;
    width: 200px; height: 200px;
    background: rgba(244,162,97,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.custom-pkg-banner__content { position: relative; z-index: 1; }
.custom-pkg-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.custom-pkg-banner__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
    max-width: 480px;
}
.custom-pkg-banner__actions { flex-shrink: 0; position: relative; z-index: 1; }

/* =============================================================
   PACKAGES PAGE RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
    .pkg-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pkg-card { flex-direction: column; }
    .pkg-card__img-wrap { width: 100%; min-width: unset; height: 200px; }
    .custom-pkg-banner__inner { flex-direction: column; text-align: center; }
    .filter-bar__inner { flex-direction: column; align-items: flex-start; }
    .filter-pills { overflow-x: auto; width: 100%; flex-wrap: nowrap; padding-bottom: 0.25rem; }
    .filter-pill { white-space: nowrap; flex-shrink: 0; }
    .page-hero { min-height: 280px; }
}
