/* package */
.package-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0 10px 0;
}
.package-card {
    position: relative;
    background: white;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.2s ease-in-out;
    max-width: 380px;
}

.package-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-bottom-right-radius: 55px;
}

.package-img {
    width: 380px;
    height: 450px;
    object-fit: cover;
    display: block;
}
.package-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(28, 118, 196, 0.9) 0%,
        rgba(31, 118, 193, 0.2) 50%,
        transparent 100%
    );
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.content-title {
    font-size: 1.1rem;
    font-weight: 550;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.duration {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.duration img {
    width: 16px;
    height: 16px;
}
.price {
    font-size: 1rem;
    font-weight: 400;
    padding-top: 2px;
    color: white;
}

/* trek */
.package-section {
    max-width: 1500px;
    margin: 0 auto;
    padding: 50px 120px 20px 120px;
}
.past-trek-section {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px 120px 50px 120px;
}
.trek-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px 0 10px 0;
}
.trek-card {
    box-shadow: 2px 2px 5px #d5e5f4;
}
.trek-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.trek-card .trek-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.trek-content {
    padding: 15px;
}
.trek-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 550;
    margin-bottom: 8px;
    line-height: 1.3;
    color: black;
}

.trek-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1rem;
    color: #1c76c4;
}

.trek-duration img {
    width: 16px;
    height: 16px;
}

@media (max-width: 1200px) {
    .past-trek-section {
        padding: 10px 80px 10px 80px;
    }
    .package-card {
        max-width: 300px;
    }
    .trek-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {
    .package-card {
        max-width: 100%;
    }
    .package-img {
        width: 100%;
        height: 350px;
    }
}

@media (max-width: 640px) {
    .package-grid {
        padding: 40px 20px;
        grid-template-columns: repeat(1, 1fr);
    }
    .package-section {
        padding-bottom: 20px;
    }
    .package-section,
    .past-trek-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .trek-grid {
        grid-template-columns: 1fr;
    }
}
