/* =====================================================================
   PACKAGES LISTING (new UI) — classes prefixed "pk-"
   ===================================================================== */

.pk-page {
    background: #f0f4f8;
    color: #2c3e50;
    font-family: "Raleway", "Poppins", sans-serif;
}

.pk-page h1,
.pk-page h2,
.pk-page h3 { font-family: inherit; margin: 0; }
.pk-page p { margin: 0; }
.pk-page a { text-decoration: none; }

/* ---------- Hero ---------- */
.pk-hero {
    position: relative;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 16px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
}

.pk-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #2ecc71, #27ae60, #2ecc71);
    background-size: 200% 100%;
    animation: pkShimmer 3s infinite linear;
}

@keyframes pkShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.pk-hero h1 {
    margin-bottom: 8px;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pk-hero h1 i {
    margin-right: 12px;
    color: #2ecc71;
}

.pk-hero p {
    font-size: 20px;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.pk-hero p i {
    margin: 0 8px;
    color: #f1c40f;
}

/* ---------- Section title ---------- */
.pk-title {
    padding: 50px 20px 30px;
    text-align: center;
}

.pk-title h2 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #2c3e50;
}

.pk-title h2 i {
    margin-right: 10px;
    color: #2ecc71;
}

.pk-title p {
    margin-top: 6px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #7f8c8d;
}

/* ---------- Grid ---------- */
.pk-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pk-empty {
    grid-column: 1 / -1;
    padding: 40px 0;
    text-align: center;
    color: #7f8c8d;
}

/* ---------- Card ---------- */
.pk-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.4s ease;
}

@keyframes pkBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-18px); }
    60% { transform: translateY(-8px); }
}

.pk-card:hover {
    animation: pkBounce 0.9s ease;
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.25);
}

.pk-card-image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden;
    background: #ecf0f1;
}

.pk-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pk-card:hover .pk-card-image img { transform: scale(1.05); }

.pk-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 5px 14px;
    border-radius: 30px;
    background: #2ecc71;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.pk-badge i { margin-right: 5px; }

.pk-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 24px;
}

.pk-name {
    margin-bottom: 4px !important;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.pk-name a { color: #2c3e50; }
.pk-name a:hover { color: #27ae60; }

.pk-name i {
    margin-right: 6px;
    font-size: 18px;
    color: #2ecc71;
}

.pk-summary {
    margin-top: 6px !important;
    font-size: 14px;
    line-height: 1.6;
    color: #7f8c8d;
}

.pk-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin: 14px 0 12px;
    padding: 14px 0;
    border-top: 1px solid #ecf0f1;
    border-bottom: 1px solid #ecf0f1;
}

.pk-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #34495e;
}

.pk-detail i {
    width: 20px;
    font-size: 16px;
    color: #2ecc71;
    text-align: center;
}

.pk-detail .pk-label {
    font-weight: 400;
    color: #7f8c8d;
}

.pk-activities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 12px 0 18px;
}

.pk-activity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 14px;
    border-radius: 30px;
    background: #eafaf1;
    color: #1e8449;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.pk-activity i {
    font-size: 12px;
    color: #2ecc71;
}

.pk-activity.is-more {
    background: #f2f4f5;
    color: #7f8c8d;
}

.pk-card:hover .pk-activity {
    background: #d5f5e3;
    transform: translateY(-2px);
}

.pk-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
}

.pk-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pk-btn i { font-size: 15px; }

.pk-btn-book {
    background: #2ecc71;
    color: #fff;
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}

.pk-btn-book:hover {
    background: #27ae60;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(46, 204, 113, 0.45);
}

.pk-btn-view {
    background: #ecf0f1;
    color: #2c3e50;
}

.pk-btn-view:hover {
    background: #dde1e3;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
    .pk-grid { gap: 24px; padding: 0 20px 50px; }
}

@media (max-width: 992px) {
    .pk-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .pk-hero h1 { font-size: 40px; }
    .pk-hero p { font-size: 17px; letter-spacing: 2px; }
    .pk-card-image { height: 190px; }
    .pk-name { font-size: 20px; }
}

@media (max-width: 768px) {
    .pk-hero { height: 200px; }
    .pk-hero h1 { font-size: 32px; }
    .pk-hero h1 i { margin-right: 6px; }
    .pk-hero p { font-size: 15px; letter-spacing: 1px; }
    .pk-title h2 { font-size: 28px; }
    .pk-title p { font-size: 14px; }
    .pk-grid { gap: 18px; padding: 0 16px 40px; }
    .pk-card-image { height: 170px; }
    .pk-card-body { padding: 16px 18px 18px; }
    .pk-name { font-size: 18px; }
    .pk-details { gap: 8px 14px; padding: 10px 0; }
    .pk-detail { font-size: 13px; }
    .pk-activity { font-size: 11px; padding: 3px 10px; }
    .pk-btn { font-size: 13px; padding: 10px 0; }
}

@media (max-width: 576px) {
    .pk-hero { height: 180px; }
    .pk-hero h1 { font-size: 26px; }
    .pk-hero p { font-size: 13px; letter-spacing: 0.5px; }
    .pk-title { padding: 30px 16px 20px; }
    .pk-title h2 { font-size: 24px; }
    .pk-title p { font-size: 13px; }
    .pk-grid { grid-template-columns: 1fr; gap: 24px; max-width: 420px; padding: 0 14px 36px; }
    .pk-card-image { height: 200px; }
    .pk-card-body { padding: 16px 16px 18px; }
    .pk-name { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
    .pk-card:hover { animation: none; }
    .pk-hero::after { animation: none; }
}

/* =====================================================================
   HOVER EFFECTS (scroll reveals come from data-reveal)
   ===================================================================== */

/* Image light sweep */
.pk-card-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
    pointer-events: none;
}

.pk-card:hover .pk-card-image::after { left: 140%; }

/* Badge wiggle */
@keyframes pkWiggle {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-6deg) scale(1.08); }
    75% { transform: rotate(6deg) scale(1.08); }
}

.pk-card:hover .pk-badge { animation: pkWiggle 0.6s ease; }

/* Detail icons pop, title icon spins */
.pk-detail i { transition: transform 0.3s ease; }
.pk-card:hover .pk-detail i { transform: scale(1.2); }
.pk-name i { display: inline-block; transition: transform 0.6s ease; }
.pk-card:hover .pk-name i { transform: rotateY(360deg); }

/* Accent line under the details */
.pk-details { position: relative; }

.pk-details::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: #2ecc71;
    transition: width 0.5s ease;
}

.pk-card:hover .pk-details::after { width: 100%; }

/* Buttons: light sweep */
.pk-btn { position: relative; overflow: hidden; isolation: isolate; }

.pk-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    z-index: -1;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s ease;
}

.pk-btn:hover::after { left: 130%; }
.pk-btn:hover i { animation: pkWiggle 0.5s ease; }

/* Section title icon */
.pk-title h2 i { display: inline-block; transition: transform 0.5s ease; }
.pk-title:hover h2 i { transform: translateY(-4px) rotate(-10deg); }

@media (prefers-reduced-motion: reduce) {
    .pk-card:hover .pk-badge,
    .pk-btn:hover i { animation: none; }
    .pk-card-image::after,
    .pk-btn::after { display: none; }
}
