/* =========================================
   1. GRID LAYOUT SYSTEM (Matches Image 2)
   ========================================= */
.package-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Force 4 Columns */
    gap: 30px; /* Space between cards */
    margin-top: 20px;
    width: 100%;
}

/* Tablet: 2 Columns */
@media (max-width: 1024px) {
    .package-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile: 1 Column */
@media (max-width: 767px) {
    .package-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   2. CARD STYLING (Structure of Image 2)
   ========================================= */
.hotel-card.package-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px; /* Soft rounded corners */
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); /* Clean shadow like Image 2 */
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-card.package-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Image Section - Fixed Aspect Ratio */
.package-card .card-image-link {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 65%; /* 3:2 Aspect Ratio (Standard Card) */
    overflow: hidden;
    background: #f4f4f4;
}

.package-card .card-image-link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.package-card:hover .card-image-link img {
    transform: scale(1.1);
}

/* Content Section */
.package-card .card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

/* Title */
.package-card .card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
    color: #222;
}

.package-card .card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.package-card .card-title a:hover {
    color: #e67e22; /* Orange highlight on hover */
}

/* Data from Image 1: Duration */
.package-card .package-duration {
    font-size: 13px;
    color: #777;
    margin-bottom: 12px;
    font-weight: 500;
}

/* Data from Image 1: Tags / Pills */
.package-card .package-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 15px;
}

.package-card .package-tags span {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

/* Push Footer to Bottom */
.package-card .card-footer-wrapper {
    margin-top: auto; /* This forces the footer to the bottom */
}

/* Separator Line */
.package-card hr {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 10px 0 15px 0;
}

/* Footer: Price & Button */
.package-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.package-card .price-block .label {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.package-card .price-block .old-price {
    text-decoration: line-through;
    color: #e74c3c;
    font-size: 13px;
    margin-right: 5px;
}

.package-card .price-block .current-price {
    font-size: 18px;
    font-weight: 800;
    color: #222;
}

.package-card .action-block a {
    color: #c0392b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.package-card .action-block a:hover {
    text-decoration: underline;
}

/* First Include (Visa on Arrival etc) */
.package-card .package-first-include {
    margin-bottom: 10px;
}
.package-card .package-first-include span {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
}